vinhdc10998 / License-Plate-Recognition

Final project for pattern recognition subject
0 stars 0 forks source link

craft_mlt_25k model is required?? are you using craft or yolo?? #3

Closed ghost closed 4 years ago

ghost commented 4 years ago

Is this using Craft or yolo, because I downloaded the best.pt and it is still requesting the craft_mlt_25k.pth model??

python detect.py --weights weights/best.pt --cfg cfg/yolov3-tiny-1.cfg --names data/plates.names --source data/samples/car1.jpg
Traceback (most recent call last):
  File "detect.py", line 179, in <module>
    detect()
  File "detect.py", line 11, in detect
    model_text_reg = Model(open("text/model/charList.txt").read(), decoderType, mustRestore=True, dump=False)
  File "/home/home/p13/License-Plate-Recognition/utils/Model.py", line 51, in __init__
    (self.sess, self.saver) = self.setupTF()
  File "/home/home/p13/License-Plate-Recognition/utils/Model.py", line 145, in setupTF
    raise Exception('No saved model found in: ' + modelDir)
Exception: No saved model found in: /home/vinh/Python/yolov3/text/model