-
Notifications
You must be signed in to change notification settings - Fork 44
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
Error for running #7
Comments
Hi, this problem is related to the version of torch libraries. Please create a new environment using the instructions in our readme: conda create -n deepscreen_env python=3.7 Please run DEEPScreen models in this environment. Let me know if you further face an issue. |
Thank you for quick response. Is it white space problem at the code? Please, check the issue, one more time. Good day!! |
It is important to follow the instruction exactly. Do you have a previously installed PyTorch in your system? We had the same issue just a couple of days ago and solved it by uninstalling the previously installed PyTorch and creating the environment as stated. Please see this discussion: |
Thank you for comment! Yes, I followed the instruction by readme, exactly. $ conda create -n deepscreen_env python=3.7 After I didn't install any library of python in deep_screen_env. PyTorch version is 1.5.0 and Python 3.7.9 in depp_screen environment. I will see your link, and compile again! |
I solve this problem to change evaluation_metrics.py in #3 You could update the file in github! Thank you for kind. |
Thank you for the feedback, I'm looking into that. |
Hello, I'm interesting your work so I try to use a given training model.
However, I got error message by last epoch.
Epoch :99
Training mode: True
Epoch 99 training loss: 3.122581034898758
There was a problem during training performance calculation!
Validation mode: True
There was a problem during validation performance calculation!
There was a problem during test performance calculation!
Traceback (most recent call last):
File "./bin/main_training.py", line 69, in
args.dropout, args.epoch, args.en)
File "/home/njgoo/Data1/program/DEEPScreen/bin/train_deepscreen.py", line 184, in train_validation_test_training
best_val_test_result_fl.write("Test {}:\t{}\n".format(scr, best_test_performance_dict[scr]))
UnboundLocalError: local variable 'best_test_performance_dict' referenced before assignment
Thanks for your reply!
The text was updated successfully, but these errors were encountered: