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
KeyError: "NuScenesDataset: 'infos'" #769
Comments
Can you post the entire error output message here? I am a bit confused about your question now. |
ok,Yes, following the first question, nothing has changed in my order.The input test data format is coco. JSON.Always no key "NuscenesDataset: 'infos'" in test? |
I think I got your point. The reason is that, the data under |
That's so strange, I test the demo and it works smoothly. When do you download our repo? We have a update recently which may causes your bug. Maybe you can download the newest master branch and have a try? |
I have one more question, |
Oh no no! |
Version 0.14.0 should not ask! Which version do you use? |
MMDetection3D: 0.15.0 with MMDetection 2.14.0, MMSegmentation 0.14.1 and MMCV 1.3.9. Yes you need to update MMDetection3D to 0.15.0! |
ok thank you.Yesterday I downloaded the master |
Sorry I didn't see this. Can you run |
nvcc: NVIDIA (R) Cuda compiler driver absl-py 0.13.0 |
Hi @lijain, I really need your output of this command |
This is really weird. The bug is from cv2 not our openmmlab packages. If you enter a command line of python and import cv2 and PyTorch at the same time, do you have such bug? (Try both the import order) I don't think this is a bug related to our mmdet3d. |
I also find it strange that my previous installations with MMDetection have been very easy to install.I felt a little bit difficult this time. After checking the problem, it said that Opencv-Python conflicted with Python version. This problem also appeared when I used a single votenet project before.But I worked it out, and this time it didn't work either way. It was awkward. |
Yeah I agree, maybe this is a opencv and mmdet problem. |
For example, since you have installed mmdet, can you try import mmdet and test their demo? If that also fails, then it's not our mmdet3d. Instead, you should raise an issue in their repo. |
What about import cv2 and import torch? |
I got the problem! You can see that MMCV CUDA compiler is 10.2, which is incompatible with your 9.2. Maybe you can download a pre-compiled MMCV or compile it with 9.2? e.g. If that doesn't work, you should compile mmcv with your cuda 9.2. |
I really think this is an opencv-related problem, not ours. One last try, can you create a clean conda environment of python 3.7.9, with torch 1.5.0, mmcv 1.3.9, mmdet 2.14.0, mmseg 0.14.1 and mmdet3d 0.15.0 and test if it works? If that fails too, then I am afraid I can't work it out either... Really sorry about that. |
What's your CUDA? Can you cut a picture of the conda environment installation package? I'll install it as you can run it |
First of all, thank you Wuziyi616 for your patience. Finally, after many compilations, it was found that the main reason was that there were many installed libraries and some libraries had version conflicts (such as Numpy, Scikit-Learn, etc.). Share my own library version here, CUDA ==9.2 absl-py 0.13.0 |
@lijain So you can successfully run our demo now? |
yes ,thanks you |
Glad it helps! |
hello, where to find *.coco.json files for different images and different dataset ? |
I WANT TO PREDICETION : python tools/test.py configs/fcos3d/fcos3d_r101_caffe_fpn_gn-head_dcn_2x8_1x_nus-mono3d_finetune.py model/weights/fcos3d_r101_caffe_fpn_gn-head_dcn_2x8_1x_nus-mono3d_finetune_20210427_091419-35aaaad0.pth --show-dir /home/mnt_abc004-data/mq/Project/mmdetection3d-master/output/ --eval mAP
always no key "NuScenesDataset: 'infos'",why???
my set
The text was updated successfully, but these errors were encountered: