Open zw-cell opened 1 month ago
Hi @zw-cell, I have been trying to run this particular repository for quite some time now and have been unsuccessful till now. I have been facing a plethora of problems with getting this code to run. Can you guide a bit on how to run this repository if you have been successful.
Examples of the issues I have been facing
ImportError: cannot import name 'ball_query_ext' from 'mmdet3d.ops.ball_query'
Hi @zw-cell, I have been trying to run this particular repository for quite some time now and have been unsuccessful till now. I have been facing a plethora of problems with getting this code to run. Can you guide a bit on how to run this repository if you have been successful.
Examples of the issues I have been facing
ImportError: cannot import name 'ball_query_ext' from 'mmdet3d.ops.ball_query'
- Version Issues
- File linking and path issues
- etc
You need to rebuild mmdet3d library following guidelines here.
Notice
There are several common situations in the reimplementation issues as below
- Reimplement a model in the model zoo using the provided configs
- Reimplement a model in the model zoo on other dataset (e.g., custom datasets)
- Reimplement a custom model but all the components are implemented in MMDetection3D
- Reimplement a custom model with new modules implemented by yourself
There are several things to do for different cases as below.
- For case 1 & 3, please follow the steps in the following sections thus we could help to quick identify the issue.
- For case 2 & 4, please understand that we are not able to do much help here because we usually do not know the full code and the users should be responsible to the code they write.
- One suggestion for case 2 & 4 is that the users should first check whether the bug lies in the self-implemted code or the original code. For example, users can first make sure that the same model runs well on supported datasets. If you still need help, please describe what you have done and what you obtain in the issue, and follow the steps in the following sections and try as clear as possible so that we can better help you.
Checklist
- I have searched related issues but cannot get the expected help.
- The issue has not been fixed in the latest version.
Describe the issue
A clear and concise description of what the problem you meet and what have you done.
Reproduction
- What command or script did you run?
A placeholder for the command.
- What config dir you run?
A placeholder for the config.
- Did you make any modifications on the code or config? Did you understand what you have modified?
- What dataset did you use?
Environment
- Please run
python mmdet3d/utils/collect_env.py
to collect necessary environment infomation and paste it here.You may add addition that may be helpful for locating the problem, such as
- How you installed PyTorch [e.g., pip, conda, source]
- Other environment variables that may be related (such as
$PATH
,$LD_LIBRARY_PATH
,$PYTHONPATH
, etc.)Results
If applicable, paste the related results here, e.g., what you expect and what you get.
A placeholder for results comparison
Issue fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!
Please refer here for detailed library versions of my configuration.
Notice
There are several common situations in the reimplementation issues as below
There are several things to do for different cases as below.
Checklist
Describe the issue
A clear and concise description of what the problem you meet and what have you done.
Reproduction
Environment
python mmdet3d/utils/collect_env.py
to collect necessary environment infomation and paste it here.$PATH
,$LD_LIBRARY_PATH
,$PYTHONPATH
, etc.)Results
If applicable, paste the related results here, e.g., what you expect and what you get.
Issue fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!