You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
您好,我尝试把RepVGG的backbone加到YOLOv5中,但现在报错信息如下:
Traceback (most recent call last):
File "/home/xxx/Desktop/flexible-yolov5/scripts/train.py", line 531, in
train(hyp, opt, device, tb_writer)
File "/home/xxx/Desktop/flexible-yolov5/scripts/train.py", line 91, in train
model = Model(opt.cfg).to(device) # create
File "/home/xxx/Desktop/flexible-yolov5/od/models/model.py", line 26, in init
backbone_out = self.backbone.out_shape
File "/home/xxx/Softwares/anaconda/envs/welding/lib/python3.7/site-packages/torch/nn/modules/module.py", line 948, in getattr
type(self).name, name))
AttributeError: 'RepVGG' object has no attribute 'out_shape'
您知道应该怎么修改模型吗?
The text was updated successfully, but these errors were encountered:
您好,我尝试把RepVGG的backbone加到YOLOv5中,但现在报错信息如下:
Traceback (most recent call last):
File "/home/xxx/Desktop/flexible-yolov5/scripts/train.py", line 531, in
train(hyp, opt, device, tb_writer)
File "/home/xxx/Desktop/flexible-yolov5/scripts/train.py", line 91, in train
model = Model(opt.cfg).to(device) # create
File "/home/xxx/Desktop/flexible-yolov5/od/models/model.py", line 26, in init
backbone_out = self.backbone.out_shape
File "/home/xxx/Softwares/anaconda/envs/welding/lib/python3.7/site-packages/torch/nn/modules/module.py", line 948, in getattr
type(self).name, name))
AttributeError: 'RepVGG' object has no attribute 'out_shape'
您知道应该怎么修改模型吗?
The text was updated successfully, but these errors were encountered: