DRENet
DRENet copied to clipboard
Cannot run detect.py
Hello Chen, I tried your code detect.py, but I always had a problem. Could you check it for me please! Thanks a lot!
(optic_ship) la@erin-tla-30122:~/Desktop/DRENet_ship$ python detect.py --weights "./DRENet.pt" --source "images/" --device cpu Namespace(agnostic_nms=False, augment=False, classes=None, conf_thres=0.25, device='cpu', exist_ok=False, img_size=512, iou_thres=0.45, name='exp', project='runs/detect', save_conf=False, save_txt=False, source='images/', update=False, view_img=False, weights=['./DRENet.pt']) YOLOv5 torch 1.13.1+cu117 CPU
Fusing layers...
Model Summary: 239 layers, 4788248 parameters, 0 gradients
image 1/1 /home/la/Desktop/DRENet_ship/images/GF1_WFV4_E124.3_N33.5_20200926_L1A0005089385_3584_8192.png: Traceback (most recent call last):
File "detect.py", line 175, in
Hi @tommylatranvu,
I think this may help https://github.com/WindVChen/DRENet/issues/4#issuecomment-1255846664.
Hi Chen, The error was solved. Thanks a lot for your help! You are doing a great work.