valid_world.epoch_done() in train_model.py never finishes
See original GitHub issueI checked a memory networks model with babi dataset. But I found valid_world.epoch_done
never finishes.
https://github.com/facebookresearch/ParlAI/blob/master/examples/train_model.py#L91
-
My revision 55ca9c (Jan 11, 2018)
-
the log
$ python examples/train_model.py -t dialog_babi:Task:1 -m memnn -mf /tmp/model_memnn -e 1
...
[ time:68s parleys:5873 time_left:1s num_epochs:0 ] {'total': 204, 'accuracy': 0.09804, 'f1': 0.1517, 'hits@k': {1: 0.098, 5: 0.333, 10: 0.725, 100: 1.0}}
[ time:69s parleys:6024 time_left:0s num_epochs:1 ] {'total': 151, 'accuracy': 0.1192, 'f1': 0.1749, 'hits@k': {1: 0.119, 5: 0.377, 10: 0.695, 100: 1.0}}
[ num_epochs completed:1.0 time elapsed:69.75176429748535s ]
[ running eval: valid ]
[creating task(s): dialog_babi:Task:1]
[loading fbdialog data:/home/jonki/work/ParlAI/data/dialog-bAbI/dialog-bAbI-tasks/dialog-babi-task1-API-calls-dev.txt]
// never breaks while-loop
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
#516
It is helpful indeed. And when will you release the faster version? Please let me know if you have a plan in your mind about this.