Traceback (most recent call last):


 "training.py", line 6, in <module>

trainer.setTrainConfig(object_names_array=["face"], batch_size=4, num_experiments=100, train_from_pretrained_model="pretrained-yolov3.h5")


 "//anaconda3/lib/python3.7/site-packages/imageai/Detection/Custom/__init__.py", line 176, in setTrainConfig

self.__train_cache_file, self.__model_labels)


 "//anaconda3/lib/python3.7/site-packages/imageai/Detection/Custom/gen_anchors.py", line 89, in generateAnchors

relative_w = (float(obj['xmax']) - float(obj['xmin']))/image['width']
ZeroDivisionError: float division by zero

Traceback (most recent call last):


 "/datadisk/Workspace/test/graph2vec/src/graph2vec.py", line 131, in <module>

main(args)


 "/datadisk/Workspace/test/graph2vec/src/graph2vec.py", line 125, in main

alpha = args.learning_rate)


 "/datadisk/Workspace/test/graph2vec/venv/lib/python3.6/site-packages/gensim/models/doc2vec.py", line 615, in __init__

end_alpha=self.min_alpha, callbacks=callbacks)


 "/datadisk/Workspace/test/graph2vec/venv/lib/python3.6/site-packages/gensim/models/doc2vec.py", line 795, in train

queue_factor=queue_factor, report_delay=report_delay, callbacks=callbacks, **kwargs)


 "/datadisk/Workspace/test/graph2vec/venv/lib/python3.6/site-packages/gensim/models/base_any2vec.py", line 1081, in train

**kwargs)


 "/datadisk/Workspace/test/graph2vec/venv/lib/python3.6/site-packages/gensim/models/base_any2vec.py", line 536, in train

total_words=total_words, **kwargs)


 "/datadisk/Workspace/test/graph2vec/venv/lib/python3.6/site-packages/gensim/models/base_any2vec.py", line 1187, in _check_training_sanity

raise RuntimeError("you must first build vocabulary before training the model")
RuntimeError: you must first build vocabulary before training the model
