Open akshayvijapur opened 4 years ago
@akshayvijapur were you getting any errors training to train the model? I am having an issue with running python train_model.py --task 5 --weights_save_path saved_tf/ --test _from .babi_dialog import BABI_Dialog ModuleNotFoundError: No module named 'main.babidialog'; 'main' is not a package
Yeah i got that error, But resolved by correcting imports, Means remove dot (.) from imports and relative imports.
I am trying out example provided in NLP Architect named "memn2n_dialogue".
I did train using command
python examples/memn2n_dialog/train_model.py --task 5 --weights_save_path memn2n_weights.npz
Saw some errors in training Epoch 0: 100%|█████████████████████████████████████████████████████████████████████████████████| 576/576 [00:14<00:00, 38.76minibatches/s] Epoch 0: Validation Error: 0.3751085069444444
Training took some time and following files are generated.
Then I tried to do interactive mode using command
python examples/memn2n_dialog/interactive.py --weights_save_path memn2n_weights.npz
But encountering following error.
python3.6 examples/memn2n_dialogue/interactive.py --weights_save_path m-of-00001
Environment setup: