Evoluange

Results 8 comments of Evoluange

在CMakeLists.txt里把GCC改成14,再把#include 注掉就行了

把CPU(torch::kFloat32)去掉

![image](https://user-images.githubusercontent.com/25747262/165043242-029edb8e-d8fb-4adf-b2c5-1898dfd6542e.png) ![image](https://user-images.githubusercontent.com/25747262/165043293-99ceaa97-7ada-4f62-af22-364df01218cf.png) The test code as follows: ``` from mmdet.apis import init_detector, inference_detector from mmdet.apis import show_result_pyplot import os imagepath = r'./imgs/' #需要加载的测试图片的文件路径 savepath = r'./imgs-test' #保存测试图片的路径 # config_file =...

configs\det\_base_\datasets\coco-instance.py ![image](https://user-images.githubusercontent.com/25747262/165206133-0b636f98-a099-4bb6-aed3-d190654ae6e0.png) How does it work ? coco is 80 classes can I delete this line?

Hi,I meet some problem when train solov2. today, I copy your code in mmdetection(2.19.0) to train solov2 model , the only line modified is __base__\coco-instance.py is (bear,). I run `python...

I think the trained model is no problem . The problem is no matrix nms in test phase when run tool-det/demo.py, so all the boxes without nms are drawn in...

Hello~,按照你提供的方法在mmdet2.19.0上训练solov2模型,结果一直异常满屏蓝色轮廓。之前以为是训练的模型本身是正常的,只是测试时没有做matrix-nms,因为人像轮廓感觉已经出来了(如上面图所示)。现在我把pth模型转成onnx用c++前传,测试结果仍然是异常,现象和之前一模一样,这应该是模型本身的问题了。 代码唯一改动的地方就是把bear注释掉了,然后改用coco-val集来训练: 改动部分: ![360截图20220427170243897](https://user-images.githubusercontent.com/25747262/165482721-d8c9c501-4bc4-497f-b6ea-b2edcbe8965f.jpg) 然后训练: `python tools-det/train.py configs/det/solo/solov2_r50_fpn_coco.py` 训练日志截图: ![360截图20220427170437414](https://user-images.githubusercontent.com/25747262/165483362-cc85b455-899a-41e7-8276-4623415623c3.jpg) 测试代码: `python demo.py 30208.jpg 30208-result.jpg configs/det/solo/solov2_r50_fpn_coco.py work_dirs/solov2_r50_fpn_coco/epoch_12.pth ` 出现异常结果,不确定问题出在哪儿了?

您好,我在mmdet2.19版本上面加入您的代码,用coco-train数据集上面重新训练模型。作为对照,我先用mmdet上开源的mask-rcnn训练模型和测试模型,确定整体代码测试脚本和训练数据都没有异常。然后我再加入你的det和custom目录到mmdet2.19中训练solov2模型,用相同的脚本在coco-val上测试,结果还是异常。 异常点1:总共80类里面,几乎只有person一个类别识别出来了,拿大量图片测试偶尔发现零星其他类别但真很少见 异常点2:单个人的图片人没有分割出来,但背景被识别成人 异常点3:阈值设置为0.8时人像框特别多,感觉没有做NMS 异常点4:多个人存在时分割遗漏,只分割了一个,其他漏掉了 ![2345截图20220505111650](https://user-images.githubusercontent.com/25747262/166858995-000a6df7-1452-48c1-8d1a-8d85dc396d15.png) ![2345截图20220505111708](https://user-images.githubusercontent.com/25747262/166859001-8d42bf88-55f2-4a93-a2d8-0ea907a32e3d.png) 另外,我在使用您网站上下载的模型进行测试时,会报错unexpected key in source state_dict: mask_feat_head,missing keys in source state_dict: mask_head,对模型转换之后测试不报错,但是测试结果图片仍然有上面异常点1和异常点4的问题 ![2345截图20220505111337](https://user-images.githubusercontent.com/25747262/166858901-288e6469-d38a-4f36-a1bb-0fd981fd132e.png) ![2345截图20220505111353](https://user-images.githubusercontent.com/25747262/166858905-934d5e16-3b73-4e7b-8c2e-0b36fe2777f0.png) 感觉还是有不对劲的地方,无法复现你展示的结果。