Closed Gaoang112 closed 3 years ago
Traceback (most recent call last): File "train.py", line 942, in train(hyp) # train normally File "train.py", line 161, in train load_darknet_weights(model, weights, pt=opt.pt, BN_Fold=opt.BN_Fold, FPGA=opt.FPGA) File "/home/ga/YOLOv3v4/models.py", line 699, in load_darknet_weights assert ptr == len(weights) AssertionError
在参数里加入-pt应该就可以
Traceback (most recent call last): File "train.py", line 942, in
train(hyp) # train normally
File "train.py", line 161, in train
load_darknet_weights(model, weights, pt=opt.pt, BN_Fold=opt.BN_Fold, FPGA=opt.FPGA)
File "/home/ga/YOLOv3v4/models.py", line 699, in load_darknet_weights
assert ptr == len(weights)
AssertionError