You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked the commit log to find out if the bug was already fixed in the master branch.
What happened?
运行测试模型代码保存:
object has no attribute 'json_log_path'
Python traceback
show/hide
发生异常: AttributeError
'AdaSeqTextLoggerHook' object has no attribute 'json_log_path'
File "/codes/hg/raner-trainer/AdaSeq/adaseq/training/hooks/text_logger_hook.py", line 81, in _dump_log
with open(self.json_log_path, 'a+') as f:
File "/codes/hg/raner-trainer/AdaSeq/adaseq/training/default_trainer.py", line 142, in dump_log
self._file_logger._dump_log(log_dict)
File "/codes/hg/raner-trainer/AdaSeq/adaseq/training/default_trainer.py", line 164, in test
self.dump_log(log_dict)
File "/codes/hg/raner-trainer/AdaSeq/adaseq/commands/test.py", line 93, in test_model
trainer.test(checkpoint_path)
File "/codes/hg/raner-trainer/test.py", line 17, in main
test_model(args.work_dir, args.device, args.checkpoint_path)
File "/codes/hg/raner-trainer/test.py", line 28, in <module>
Operating system
Linux B760M-H-DDR4 6.8.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 13 13:35:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Checklist before your report.
master
branch of AdaSeq.What happened?
运行测试模型代码保存:
object has no attribute 'json_log_path'
Python traceback
show/hide
Operating system
Linux B760M-H-DDR4 6.8.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 13 13:35:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Python version
3.8.20
Output of pip freeze
show/hide
How to reproduce
show/hide
Code of Conduct
The text was updated successfully, but these errors were encountered: