Skip to content
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

No such file or directory: '/PROTAC-RL/log/transformer_ZINC_random_1.txt' #2

Open
franksyng opened this issue Oct 10, 2022 · 1 comment

Comments

@franksyng
Copy link

franksyng commented Oct 10, 2022

Hi I was just trying to run a demo of this project, however an error occurred when I ran the file training.sh.

training.sh: line 7: [: missing `]'
mkdir: cannot create directory ‘checkpoints/ZINC/random’: File exists
Traceback (most recent call last):
File "/content/PROTAC-RL/train.py", line 118, in
main(opt)
File "/content/PROTAC-RL/train.py", line 51, in main
single_main(opt, 0)
File "/content/PROTAC-RL/onmt/train_single.py", line 87, in main
init_logger(opt.log_file)
File "/content/PROTAC-RL/onmt/utils/logging.py", line 19, in init_logger
file_handler = logging.FileHandler(log_file)
File "/usr/local/lib/python3.9/logging/init.py", line 1146, in init
StreamHandler.init(self, self._open())
File "/usr/local/lib/python3.9/logging/init.py", line 1175, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding,
FileNotFoundError: [Errno 2] No such file or directory: '/content/PROTAC-RL/log/transformer_ZINC_random_1.txt'

Could you please help me figure out the problem? thx

@TanYoh
Copy link
Collaborator

TanYoh commented Oct 11, 2022

Hi, Frank Ng
You could find solution in this closed issue:
#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants