TrojanXu / yolov5-tensorrt

A tensorrt implementation of yolov5: https://github.com/ultralytics/yolov5
Apache License 2.0
190 stars 46 forks source link

NameError: name 'ConvPlus' is not defined #21

Open yilawu opened 4 years ago

yilawu commented 4 years ago

when I run the main.py and the error occured.

at yolo.py 181 line

if m in [nn.Conv2d, Conv, Bottleneck, SPP, DWConv, MixConv2d, Focus, ConvPlus, BottleneckCSP]:

ConvPlus is not defined

TrojanXu commented 4 years ago

Could you checkout the submodule yolov5? https://github.com/TrojanXu/yolov5-tensorrt/issues/19

zhangbohnu commented 4 years ago

Could you checkout the submodule yolov5? https://github.com/TrojanXu/yolov5-tensorrt/issues/19 I encountered the same problem, the link you mentioned is not accessible, so how to solve this problem? please

flywheel1412 commented 4 years ago

cd yolov5 && git checkout -f 37e13f8

Joevaen commented 4 years ago

cd yolov5 && git checkout -f 37e13f8

What this command mean? I cant solve it by this.

Joevaen commented 4 years ago

Could you checkout the submodule yolov5? https://github.com/TrojanXu/yolov5-tensorrt/issues/19

Hi, what to do with this question?

TrojanXu commented 4 years ago

git submodule init && git submodule update