-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
When I run train.py, it reported a mistake about no run._log.log file? Can you help me solve this problem, thanks.
Error details:
(torch2.0) nlg@ubuntu:/PycharmProj2/DeepTTE-master$ python main.py --task train --batch_size 10 --result_file ./result/deeptte.res --pooling_method attention --kernel_size 3 --alpha 0.1 --log_file run_log/PycharmProj2/DeepTTE-master$
Traceback (most recent call last):
File "main.py", line 161, in
run()
File "main.py", line 148, in run
elogger = logger.Logger(args.log_file)
File "/home/nlg/PycharmProj2/DeepTTE-master/logger.py", line 5, in init
self.file = open('./logs/{}.log'.format(exp_name), 'w')
IOError: [Errno 2] No such file or directory: './logs/run_log.log'
(torch2.0) nlg@ubuntu:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels