YOLO-pytorch
YOLO-pytorch copied to clipboard
Can't get yad2t.py to function
command ran: python3 tools/yad2t.py --cfg_path config/yolov4-custom.cfg --weight_path config/yolov4-custom_best.weights --output_path config/model
results from command:
Weights Header: [ 0 2 5 320000]
Traceback (most recent call last):
File "tools/yad2t.py", line 124, in
Any idea how to get this to function?
same problem:
File "yad2t.py", line 48, in weight2pth
cfg = importlib.import_module('config.' + cfgname)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
Did you solve it?
Your files need to be yolo.cfg and yolo.weights (or tiny-yolo.cfg and tiny-yolo.weights)