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

cfg.TRAIN.LOG_DIR #53

Closed
ghost opened this issue Jun 14, 2019 · 1 comment
Closed

cfg.TRAIN.LOG_DIR #53

ghost opened this issue Jun 14, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 14, 2019

Traceback (most recent call last):
File "../../tools/train.py", line 378, in
main()
File "../../tools/train.py", line 327, in main
os.makedirs(cfg.TRAIN.LOG_DIR)
File "/home/public/anaconda3/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: './logs'

there is no cfg.TRAIN.LOG_DIR in the config.yaml
why os.makedirs(cfg.TRAIN.LOG_DIR)?

@lb1100
Copy link
Contributor

lb1100 commented Jun 15, 2019

It has default value in config.py. Just add a LOG_DIR into config.yaml if you wanna change it.

@lb1100 lb1100 closed this as completed Jun 20, 2019
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