-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nuImage seg problems #288
Comments
also when i pip install -v -e . to install mmdetection3d i see series warning as follow: |
This is caused by the unclean MANIFEST.in. @xiliu8006 will fix that. |
OK,Thanks,i thinks there may has some problems that i mentioned above,Is there has any plan to fix it and prove traning code of nuImage dataset,I found that there just has inference code in project. and only support singe image,BTW,how to evaluate the accurenccy or or other indicator,It seems that have no code in offercier code for evaluation,which confidence number should i set for each class,I wana to transfer mask img (1600900) with inference code to cityscape scale(20481024) and use use cityscape eval code to do evaluation,is this ok? appreciate your kindly reply,Thanks. |
It is a bug, I am fixing it.
If the bug is fixed, you will get the result images in the |
OK,Thanks,is there any plan to prove training and eval code? |
I have the same problem. Can somebody please help? |
* update README and add three blank docs that are going to present SDK * check in mmdeploy's logo image * remove comments in README * update acknowledgement * development->deployment * add Human3D link * use captical word in citation
Envs:
pytorch:1.3.1
cuda:10.0.130
cudnn:7.6.5
mmdet:2.8.0
mmdet3d:0.9.0
mmcv:1.2.4
python:3.6.9
I have transfer nuImage data format to coco style with the code in the path tools/data_converter/nuimage_converter.py
and got the json file.
There has two problems when i run nuImage semantic segmantation code:
1.run test.py --config ../configs/nuimages/mask_rcnn_r50_fpn_1x_nuim.py --checkpoint../model_pth/mask_rcnn_r50_fpn_1x_nuim_20201008_195238-e99f5182.pth --out ../model_pth/result.pkl --show --eval segm
I got AttributeError: 'MaskRCNN' object has no attribute 'show_results' where from
mmdet3d/apis/test.py 32 :line
if show:
model.module.show_results(data, result, out_dir)
2. when i dont use show command:
and i got
File "/home/ral/software/anaconda3/envs/public3d/lib/python3.6/site-packages/mmdet/datasets/coco.py", line 265, in _segm2json
if isinstance(segms[i]['counts'], bytes):
IndexError: only integers, slices (
:
), ellipsis (...
), numpy.newaxis (None
) and integer or boolean arrays are valid indicesi found that seg variable in mmdet/datasets/coco.py line239 is the list with format:
[[array([[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
...,
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False]])], [], [], [], [], [], [], [array([[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
...,
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False]]), array([[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
...,
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False]])], [array([[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
...,
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False]]), array([[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
...,
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False]]), array([[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
...,
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False]]), array([[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
...,
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False]]), array([[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
...,
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False],
[False, False, False, ..., False, False, False]])], []]
and dont have any counts or others,just a list.
3. when i annotation the code if isinstance(segms[i]['counts'], bytes):
I got the evaluation result like:
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=1000 ] = 0.000
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=1000 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=300 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=1000 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.000
I wana to know where problem is?
and how can i get the result like git picture in configs/nuimages/README.md? thanks!
The text was updated successfully, but these errors were encountered: