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

error #4

Closed
Wangpeiyi9979 opened this issue Sep 18, 2021 · 1 comment
Closed

error #4

Wangpeiyi9979 opened this issue Sep 18, 2021 · 1 comment

Comments

@Wangpeiyi9979
Copy link

Wangpeiyi9979 commented Sep 18, 2021

您好,在我按照readme和issue#1安装好相关库后。
我在训练时遇到一个错误,不知道怎么回事。

Traceback (most recent call last):
  File "train.py", line 24, in <module>
    fitlog.set_log_dir('logs')
  File "miniconda3/envs/bart-absa/lib/python3.7/site-packages/fitlog/__init__.py", line 122, in set_log_dir
    _logger.set_log_dir(log_dir, new_log)
  File "miniconda3/envs/bart-absa/lib/python3.7/site-packages/fitlog/fastlog/logger.py", line 32, in wrapper
    return func(*args, **kwargs)
  File "miniconda3/envs/bart-absa/lib/python3.7/site-packages/fitlog/fastlog/logger.py", line 174, in set_log_dir
    raise NotADirectoryError("`{}` is not exist.".format(log_dir))
NotADirectoryError: `logs` is not exist.
@Wangpeiyi9979
Copy link
Author

Wangpeiyi9979 commented Sep 19, 2021

好吧,看了源码发现要自己创建一个 logs 目录。

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

1 participant