yijingru / BBAVectors-Oriented-Object-Detection

[WACV2021] Oriented Object Detection in Aerial Images with Box Boundary-Aware Vectors
MIT License
466 stars 87 forks source link

训练自己的数据集,可视化问题 #42

Open xiaozhen18239228065 opened 3 years ago

xiaozhen18239228065 commented 3 years ago

你好,我将自己的数据做成dota格式后进行训练,这里类别我改成了1类,在测试的时候可视化结果和原图一样,预测的result列表是空的,这是怎么回事呢

xiaozhen18239228065 commented 3 years ago

image loss特别小,到后面几乎为0了

xiaozhen18239228065 commented 3 years ago

image 最后的预测结果还有负的,而且也超过了图像大小

yijingru commented 3 years ago

我觉得可以从groundtruth是否正确开始查bug

xiaozhen18239228065 commented 3 years ago

好的,已经解决了,确实是我制作的训练集格式问题。还有一个问题就是在哪里可检测模型的map啊

s-s-wang commented 3 years ago

image 最后的预测结果还有负的,而且也超过了图像大小 你好,请问这种格式的结果是执行哪一个命令实现的

xiaozhen18239228065 commented 3 years ago

image 最后的预测结果还有负的,而且也超过了图像大小 你好,请问这种格式的结果是执行哪一个命令实现的

看一下eval.py

s-s-wang commented 3 years ago

eval.py不是Evaluate the mode步骤中需要的脚本吗? 目前只有图片,想给图片标框,并且输出IOU和坐标到txt文本中,请问是需要执行test命令吗,需要将检测图片切割吗?

------------------ 原始邮件 ------------------ 发件人: "yijingru/BBAVectors-Oriented-Object-Detection" <notifications@github.com>; 发送时间: 2020年11月24日(星期二) 下午5:02 收件人: "yijingru/BBAVectors-Oriented-Object-Detection"<BBAVectors-Oriented-Object-Detection@noreply.github.com>; 抄送: "王帅帅"<1315975525@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [yijingru/BBAVectors-Oriented-Object-Detection] 训练自己的数据集,可视化问题 (#42)

最后的预测结果还有负的,而且也超过了图像大小 你好,请问这种格式的结果是执行哪一个命令实现的

看一下eval.py

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

xiaozhen18239228065 commented 3 years ago

执行eval命令

------------------ 原始邮件 ------------------ 发件人: "s-s-wang"<notifications@github.com>; 发送时间: 2020年11月25日(星期三) 下午3:58 收件人: "yijingru/BBAVectors-Oriented-Object-Detection"<BBAVectors-Oriented-Object-Detection@noreply.github.com>; 抄送: "小镇大爱"<1030284071@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [yijingru/BBAVectors-Oriented-Object-Detection] 训练自己的数据集,可视化问题 (#42)

eval.py不是Evaluate the mode步骤中需要的脚本吗? 目前只有图片,想给图片标框,并且输出IOU和坐标到txt文本中,请问是需要执行test命令吗,需要将检测图片切割吗?

------------------&nbsp;原始邮件&nbsp;------------------ 发件人: "yijingru/BBAVectors-Oriented-Object-Detection" <notifications@github.com&gt;; 发送时间:&nbsp;2020年11月24日(星期二) 下午5:02 收件人:&nbsp;"yijingru/BBAVectors-Oriented-Object-Detection"<BBAVectors-Oriented-Object-Detection@noreply.github.com&gt;; 抄送:&nbsp;"王帅帅"<1315975525@qq.com&gt;;"Comment"<comment@noreply.github.com&gt;; 主题:&nbsp;Re: [yijingru/BBAVectors-Oriented-Object-Detection] 训练自己的数据集,可视化问题 (#42)

最后的预测结果还有负的,而且也超过了图像大小 你好,请问这种格式的结果是执行哪一个命令实现的

看一下eval.py

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

s-s-wang commented 3 years ago

好的,但是出现了一个错误,IndexError: list index out of range。我将待检测的图片切割后放到了dataset目录下的test文件夹中,是我的路径位置不对造成的吗?

------------------ 原始邮件 ------------------ 发件人: "yijingru/BBAVectors-Oriented-Object-Detection" <notifications@github.com>; 发送时间: 2020年11月25日(星期三) 下午4:00 收件人: "yijingru/BBAVectors-Oriented-Object-Detection"<BBAVectors-Oriented-Object-Detection@noreply.github.com>; 抄送: "王帅帅"<1315975525@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [yijingru/BBAVectors-Oriented-Object-Detection] 训练自己的数据集,可视化问题 (#42)

执行eval命令

------------------&nbsp;原始邮件&nbsp;------------------ 发件人: "s-s-wang"<notifications@github.com&gt;;
发送时间: 2020年11月25日(星期三) 下午3:58 收件人: "yijingru/BBAVectors-Oriented-Object-Detection"<BBAVectors-Oriented-Object-Detection@noreply.github.com&gt;;
抄送: "小镇大爱"<1030284071@qq.com&gt;; "Author"<author@noreply.github.com&gt;;
主题: Re: [yijingru/BBAVectors-Oriented-Object-Detection] 训练自己的数据集,可视化问题 (#42)

eval.py不是Evaluate the mode步骤中需要的脚本吗?
目前只有图片,想给图片标框,并且输出IOU和坐标到txt文本中,请问是需要执行test命令吗,需要将检测图片切割吗?

------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
发件人: "yijingru/BBAVectors-Oriented-Object-Detection" <notifications@github.com&amp;gt;;
发送时间:&amp;nbsp;2020年11月24日(星期二) 下午5:02
收件人:&amp;nbsp;"yijingru/BBAVectors-Oriented-Object-Detection"<BBAVectors-Oriented-Object-Detection@noreply.github.com&amp;gt;;
抄送:&amp;nbsp;"王帅帅"<1315975525@qq.com&amp;gt;;"Comment"<comment@noreply.github.com&amp;gt;;
主题:&amp;nbsp;Re: [yijingru/BBAVectors-Oriented-Object-Detection] 训练自己的数据集,可视化问题 (#42)

最后的预测结果还有负的,而且也超过了图像大小
你好,请问这种格式的结果是执行哪一个命令实现的

看一下eval.py


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

s-s-wang commented 3 years ago

请问在eval之前需要生成result_dota,还是执行python main.py --data_dir dataPath --epochs 80 --conf_thresh 0.1 --batch_size 16 --dataset dota --phase eval这条命令时就可以自动生成?

------------------ 原始邮件 ------------------ 发件人: "yijingru/BBAVectors-Oriented-Object-Detection" <notifications@github.com>; 发送时间: 2020年11月25日(星期三) 下午4:00 收件人: "yijingru/BBAVectors-Oriented-Object-Detection"<BBAVectors-Oriented-Object-Detection@noreply.github.com>; 抄送: "王帅帅"<1315975525@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [yijingru/BBAVectors-Oriented-Object-Detection] 训练自己的数据集,可视化问题 (#42)

执行eval命令

------------------&nbsp;原始邮件&nbsp;------------------ 发件人: "s-s-wang"<notifications@github.com&gt;;
发送时间: 2020年11月25日(星期三) 下午3:58 收件人: "yijingru/BBAVectors-Oriented-Object-Detection"<BBAVectors-Oriented-Object-Detection@noreply.github.com&gt;;
抄送: "小镇大爱"<1030284071@qq.com&gt;; "Author"<author@noreply.github.com&gt;;
主题: Re: [yijingru/BBAVectors-Oriented-Object-Detection] 训练自己的数据集,可视化问题 (#42)

eval.py不是Evaluate the mode步骤中需要的脚本吗?
目前只有图片,想给图片标框,并且输出IOU和坐标到txt文本中,请问是需要执行test命令吗,需要将检测图片切割吗?

------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
发件人: "yijingru/BBAVectors-Oriented-Object-Detection" <notifications@github.com&amp;gt;;
发送时间:&amp;nbsp;2020年11月24日(星期二) 下午5:02
收件人:&amp;nbsp;"yijingru/BBAVectors-Oriented-Object-Detection"<BBAVectors-Oriented-Object-Detection@noreply.github.com&amp;gt;;
抄送:&amp;nbsp;"王帅帅"<1315975525@qq.com&amp;gt;;"Comment"<comment@noreply.github.com&amp;gt;;
主题:&amp;nbsp;Re: [yijingru/BBAVectors-Oriented-Object-Detection] 训练自己的数据集,可视化问题 (#42)

最后的预测结果还有负的,而且也超过了图像大小
你好,请问这种格式的结果是执行哪一个命令实现的

看一下eval.py


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