-
Notifications
You must be signed in to change notification settings - Fork 25
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
ModuleNotFoundError: No module named 'onmt.reinforce.score_util' #4
Comments
I've met the same error and just delete line 22 in "/home/test_file/PROTAC-RL-main/onmt/reinforce/scoring_functions.py". |
Hello, after that, do you meet the error about "UnboundLocalError: local variable 'smiles_sequences_standard' referenced before assignment" when running "bash train_case.sh" like follows: |
Hi, did you solve this problem yet, would you like to share something with me. |
I get the following error when I run the train_case.sh script after fine-tune-training.sh:
training RL model
train_agent_ms.py
Traceback (most recent call last):
File "train_agent_ms.py", line 8, in
from onmt.reinforce.trainer_ms import build_rl_ms_trainer
File "/home/test_file/PROTAC-RL-main/onmt/reinforce/trainer_ms.py", line 29, in
from onmt.reinforce.scoring_functions import get_scoring_function
File "/home/test_file/PROTAC-RL-main/onmt/reinforce/scoring_functions.py", line 22, in
from onmt.reinforce.score_util import calc_SC_RDKit_score
ModuleNotFoundError: No module named 'onmt.reinforce.score_util'
It appears that the uploaded files are incomplete. There is a missing function onmt.reinforce.score_util* in this file.
The text was updated successfully, but these errors were encountered: