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

python3 train.py scripts/pt_BR-finetune.json - not working #5

Open
navarmn opened this issue Dec 22, 2018 · 1 comment
Open

python3 train.py scripts/pt_BR-finetune.json - not working #5

navarmn opened this issue Dec 22, 2018 · 1 comment

Comments

@navarmn
Copy link

navarmn commented Dec 22, 2018

Traceback (most recent call last):
File "train.py", line 402, in
trainer.run(train_loader, args.config.training.num_epochs)
File "/usr/local/lib/python3.6/dist-packages/pytorch_ignite-0.1.2-py3.6.egg/ignite/engine/engine.py", line 326, in run
File "/usr/local/lib/python3.6/dist-packages/pytorch_ignite-0.1.2-py3.6.egg/ignite/engine/engine.py", line 291, in _handle_exception
File "/usr/local/lib/python3.6/dist-packages/pytorch_ignite-0.1.2-py3.6.egg/ignite/engine/engine.py", line 313, in run
File "/usr/local/lib/python3.6/dist-packages/pytorch_ignite-0.1.2-py3.6.egg/ignite/engine/engine.py", line 280, in _run_once_on_dataset
File "/usr/local/lib/python3.6/dist-packages/pytorch_ignite-0.1.2-py3.6.egg/ignite/engine/engine.py", line 291, in _handle_exception
File "/usr/local/lib/python3.6/dist-packages/pytorch_ignite-0.1.2-py3.6.egg/ignite/engine/engine.py", line 272, in _run_once_on_dataset
File "/home/navar/savoz/aes-lac-2018/codes/engine.py", line 48, in _update
LOG.DEBUG(engine.state.iteration)
AttributeError: 'Logger' object has no attribute 'DEBUG'

@navarmn
Copy link
Author

navarmn commented Dec 23, 2018

I realized the field "finetune" in the scripts/pt_BR-finetune.json was set to false. When I set to true I was able to retrain the model. Should I make a PR?

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