DBNet.pytorch icon indicating copy to clipboard operation
DBNet.pytorch copied to clipboard

predict.py接收polygon参数出错

Open Eric-hhh opened this issue 5 years ago • 2 comments

亲爱的作者,我在命令行下运行predict.sh,增加polygon参数,结果报错了呢,但是不赋予polygon参数就能够正常运行,我的命令如下:CUDA_VISIBLE_DEVICES=0 python3 tools/predict.py --model_path ./output_resize/DBNet_resnet18_FPN_DBHead/checkpoint/model_best.pth --input_folder ./datasets/train/img --output_folder ./test_output --thre 0.4 --polygon False --show

Eric-hhh avatar Jul 30 '20 08:07 Eric-hhh

--polygon是一个可选项,后面不用接参数的哈

WenmuZhou avatar Jul 30 '20 08:07 WenmuZhou

跑通了,感谢亲爱的作者,好人有好报

---原始邮件--- 发件人: "zhoujun"<[email protected]> 发送时间: 2020年7月30日(周四) 下午4:23 收件人: "WenmuZhou/DBNet.pytorch"<[email protected]>; 抄送: "Author"<[email protected]>;"Eric-hhh"<[email protected]>; 主题: Re: [WenmuZhou/DBNet.pytorch] predict.py接收polygon参数出错 (#57)

--polygon是一个可选项,后面不用接参数的哈

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Eric-hhh avatar Jul 30 '20 09:07 Eric-hhh