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.
checkpoint
data/
memn2n_weights.npz.data-00000-of-00001
memn2n_weights.npz.index
memn2n_weights.npz.meta
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.
"/home/avijapur/.local/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py"
tensorflow.python.framework.errors_impl.DataLossError: Unable to open table file
/home/avijapur/delete/nlparchitect/nlp-architect/exampleshts.npz.data-00000-of-00001:
Data loss: not an sstable (bad magic number): perhaps your file is in a different file format
and you need torator?
python3.6 examples/memn2n_dialogue/interactive.py --weights_save_path m-of-00001
**Environment setup: **
- OS (Linux/Mac OS): Linux
- Python version:3.6