yolov4-deepsort
yolov4-deepsort copied to clipboard
Error in conversing custom weights of yolov4
I am getting error like below while using my own yolov4 weights model, i have already replace .names file with my own in core config file. In my model i have just 1 class. The error i am getting is below.
A service 0x3cf2520 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-06-10 15:18:21.048305: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
Traceback (most recent call last):
File "save_model.py", line 58, in
You will probably have to change the line:
https://github.com/theAIGuysCode/yolov4-deepsort/blob/9e745bfb3ea5e7c7505cb11a8e8654f5b1319ad9/core/config.py#L14
with the name of the obj.names
file you have created
Go in file coco.names, delete all classes and insert the name of classes you have been trained