Traceback (most recent call last):
File "/home/fhl/src/rgbt-det/multispectral-object-detection/train.py", line 1028, in
train_rgb_ir(hyp, opt, device, tb_writer)
File "/home/fhl/src/rgbt-det/multispectral-object-detection/train.py", line 519, in train_rgb_ir
model = Model(opt.cfg or ckpt['model'].yaml, ch=6, nc=nc, anchors=hyp.get('anchors')).to(device) # create
File "/home/fhl/src/rgbt-det/multispectral-object-detection/models/yolo_test.py", line 188, in init
self.model, self.save = parse_model(deepcopy(self.yaml), ch=[ch]) # model, savelist
File "/home/fhl/src/rgbt-det/multispectral-object-detection/models/yolo_test.py", line 529, in parse_model
elif m is CMAFF:
NameError: name 'CMAFF' is not defined
Traceback (most recent call last): File "/home/fhl/src/rgbt-det/multispectral-object-detection/train.py", line 1028, in
train_rgb_ir(hyp, opt, device, tb_writer)
File "/home/fhl/src/rgbt-det/multispectral-object-detection/train.py", line 519, in train_rgb_ir
model = Model(opt.cfg or ckpt['model'].yaml, ch=6, nc=nc, anchors=hyp.get('anchors')).to(device) # create
File "/home/fhl/src/rgbt-det/multispectral-object-detection/models/yolo_test.py", line 188, in init
self.model, self.save = parse_model(deepcopy(self.yaml), ch=[ch]) # model, savelist
File "/home/fhl/src/rgbt-det/multispectral-object-detection/models/yolo_test.py", line 529, in parse_model
elif m is CMAFF:
NameError: name 'CMAFF' is not defined
在common.py文件中发现CMAFF未定义,请问是什么原因导致的?