-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some questions #1
Comments
I will check what arguments I used, and I will respond here. Also, I will try to update the repo as soon as I have enough time with that kind of information. I will also add deployment for this later. |
Thank you |
The code for handling the dataset is from https://github.com/andreeadeac22/graph_coattention The first step is to download the dataset into the /data/decagon folder. Download the dataset with wget (if it works, it has some problems if you are using Windows) Or try to use curl If this doesn't work, just download the dataset manually by visiting the link http://snap.stanford.edu/decagon/bio-decagon-combo.tar.gz and chose the folder /data/decagon/ for the download location. The next step is to unpack the data with tar After that, you can run the data_download.py script with the following arguments The progress bar doesn't seem to work in this case. Just wait until the script finishes executing. It will probably take around 10 minutes. |
Executing split_cv_data.py takes around 20 to 30 minutes. Let me know if these steps worked for you. |
I will try it right now.
李培宁
***@***.***
…------------------ 原始邮件 ------------------
发件人: "Marko ***@***.***>;
发送时间: 2023年5月2日(星期二) 晚上6:10
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [njmarko/gnn-polypharmacy-ddi] some questions (Issue #1)
Executing split_cv_data.py takes around 20 to 30 minutes.
I added requirements.txt to the repo for now.
Also, there should be a folds directory in /data/decagon. I added a fix for that now, but you can also create it manually.
Let me know if these steps worked for you.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Also, remember to pull new changes from the repo. It should automatically create that folder now. And requirements.txt should be at the top level also. I don't see requirements.txt in your screenshot right now, so you may not have the newest version. |
|
You should run the train.py with the following parameters, and maybe it will solve your issue |
Thank you very much AttributeError: module 'torch' has no attribute 'sparse_csc' |
1 similar comment
Thank you very much AttributeError: module 'torch' has no attribute 'sparse_csc' |
Maybe. Try creating a virtual environment, and then install the requirements that are located in the requirements.txt |
OK,I will try it at once. |
Since you are using PyCharm, you can do like this:
Then simply select a python version. I think I was using python 3.10 |
I just reinstalled the environment, but there were more problems. Then, I used the previous environment again and displayed a new problem. May I ask what the problem is? Thank you. |
Not sure why that happens. Try to disable logging maybe, by commenting out wandb logging. |
how to solve it
The text was updated successfully, but these errors were encountered: