Open Running-z opened 6 years ago
Hi, I apologize that my code is currently a bit dirty. You're welcome to make changes, but if you don't, please do as what I say, and I will try to see whether it is possible to refactor it soon. My workstation needs some set up before I can resume working on it, so it might take some time for me.
For now, if you want to enable --predict_only
, you MUST specify its dataset to be nci60
in the bash script. You might need to manually tweak molnet/load_function/nci60_dataset.py
so that it suits your need.
Make sure that your working directory is correct. You might need to insert a line pdb.set_trace()
inside the models.py
script to see what is the directory immediately before the problem occurs.
If you still have any problems after changing it to nci60
, please ask me again.
Hello, I updated your latest code, and then used the davis dataset you provided to build two scripts for training and forecasting. The training can be done normally, but I predict that I got an unexpected error. Here is the details. the process of
This is the script code I trained:
Then I use the following script code to make predictions:
But I predict that I get the following error:
But in fact, this
./model_dir_tmp3
folder exists, that is, my custom--model_dir
is not used.Then I renamed the
model_dir_tmp3
folder tomodel_dir
and executed the following prediction script:But I got the following error again:
I am sure that my training is completely normal, and the model training files are saved, like the following
But can you tell me where is wrong?