Hello,
I came across a problem while working my way through your ‘Simple bot’ demo:
at this point:
from deeppavlov import train_model
gobot_config[‘train’][‘batch_size’] = 4 # set batch size
gobot_config[‘train’][‘max_batches’] = 30 # maximum number of training batches
gobot_config[‘train’][‘val_every_n_batches’] = 30 # evaluate on full ‘valid’ split every 30 epochs
gobot_config[‘train’][‘log_every_n_batches’] = 5 # evaluate on full ‘train’ split every 5 batches
train_model(gobot_config);
I get the following error message:
ModuleNotFoundError: No module named ‘tensorflow.contrib’
I do have the latest version of Tensorflow installed.
Please tell me how can I fix this.
UPDATE:
I have uninstalled Tensorflow 2.2.0 and installed version 1.15.1
Now I get a different error, at the same point in the notebook:
OSError: [E050] Can’t find model ‘en_core_web_sm’. It doesn’t seem to be a shortcut link, a Python package or a valid path to a data directory.
Thank you, and have a great day,
Titus.