ImageAI
ImageAI copied to clipboard
Getting keras error while trying to continue model training
This is the error I get
Traceback (most recent call last):
File "prediction.py", line 6, in weights
argument should be either '
ValueError: The weights
argument should be either None
(random initialization), imagenet
(pre-training on ImageNet), or the path to the weights file to be loaded.
Hi, @AnzeVersnik One tip, always add the code you have run when got the error thy. Your weight path seems to be false, it should point to a .h5 file from the model you want to continue training on