Comments (7)
You can refer to this site
from msmdfusion.
You can refer to this site
I'm sorry, but you may have misunderstood my problem. The solution you provided for the "AttributeError" was to "pip uninstall pycocotools and reinstall mmpycocotools". I have already tried that, but after trying the same command again,
python demo/pcd_demo.py demo/kitti_000008.bin configs/second/hv_second_secfpn_6x8_80e_kitti-3d-car.py checkpoints/hv_second_secfpn_6x8_80e_kitti-3d-car_20200620_230238-393f000c.pth
I encountered a "ValueError". Upon researching the solution for the "ValueError", it suggests to "install pycocotools". Does this mean that my previous step of "uninstalling pycocotools" was unnecessary? As you can imagine, after installing pycocotools to resolve the "ValueError", the "AttributeError" reappeared.
from msmdfusion.
This error is caused by the old version of numpy, you can refer to this solution. I suggest you install libraries with the same version as mine.
from msmdfusion.
This error is caused by the old version of numpy, you can refer to this solution. I suggest you install libraries with the same version as mine.
Thank you very much for your prompt response. There's one thing I need to clarify. The description of the "ValueError" I encountered is "Expected 96 from C header, got 80 from PyObject," which is slightly different from the referenced "ValueError: Expected 88 from C header, got 80 from PyObject." However, I have also tried changing the version of numpy and tried to match my environment as closely as possible to yours, but I am still experiencing these issues. I hope you can help me clarify this further.
The following is a list of libraries installed in my environment.
# Name Version Build Channel
libgcc_mutex 0.1 main https://mirrors.ustc.edu.cn/anaconda/pkgs/main
_openmp_mutex 5.1 1_gnu https://mirrors.ustc.edu.cn/anaconda/pkgs/main
absl-py 1.2.0 pypi_0 pypi
addict 2.4.0 pypi_0 pypi
anyio 3.6.2 pypi_0 pypi
argon2-cffi 21.3.0 pypi_0 pypi
argon2-cffi-bindings 21.2.0 pypi_0 pypi
asttokens 2.2.1 pypi_0 pypi
attrs 22.2.0 pypi_0 pypi
backcall 0.2.0 pypi_0 pypi
beautifulsoup4 4.12.0 pypi_0 pypi
black 23.1.0 pypi_0 pypi
bleach 5.0.1 pypi_0 pypi
ca-certificates 2023.05.30 h06a4308_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
cachetools 5.1.0 pypi_0 pypi
certifi 2022.9.24 pypi_0 pypi
cffi 1.15.1 pypi_0 pypi
charset-normalizer 3.0.1 pypi_0 pypi
click 8.1.3 pypi_0 pypi
comm 0.1.3 pypi_0 pypi
contourpy 1.0.6 pypi_0 pypi
cycler 0.11.0 pypi_0 pypi
cython 0.29.35 pypi_0 pypi
debugpy 1.6.6 pypi_0 pypi
decorator 5.1.1 pypi_0 pypi
defusedxml 0.7.1 pypi_0 pypi
descartes 1.1.0 pypi_0 pypi
entrypoints 0.4 pypi_0 pypi
exceptiongroup 1.1.0 pypi_0 pypi
executing 1.2.0 pypi_0 pypi
fastjsonschema 2.16.3 pypi_0 pypi
fire 0.4.0 pypi_0 pypi
flake8 6.0.0 pypi_0 pypi
fonttools 4.39.4 pypi_0 pypi
google-auth 2.19.0 pypi_0 pypi
google-auth-oauthlib 0.4.6 pypi_0 pypi
grpcio 1.54.2 pypi_0 pypi
idna 3.4 pypi_0 pypi
imageio 2.29.0 pypi_0 pypi
importlib-metadata 6.3.0 pypi_0 pypi
importlib-resources 5.12.0 pypi_0 pypi
iniconfig 2.0.0 pypi_0 pypi
ipdb 0.13.9 pypi_0 pypi
ipykernel 6.23.1 pypi_0 pypi
ipython 8.10.0 pypi_0 pypi
ipython-genutils 0.2.0 pypi_0 pypi
ipywidgets 8.0.6 pypi_0 pypi
jedi 0.18.2 pypi_0 pypi
jinja2 3.1.2 pypi_0 pypi
joblib 1.2.0 pypi_0 pypi
jsonschema 4.8.0 pypi_0 pypi
jupyter 1.0.0 pypi_0 pypi
jupyter-client 7.3.4 pypi_0 pypi
jupyter-console 6.6.3 pypi_0 pypi
jupyter-core 5.3.0 pypi_0 pypi
jupyter-server 1.24.0 pypi_0 pypi
jupyterlab-pygments 0.2.2 pypi_0 pypi
jupyterlab-widgets 3.0.7 pypi_0 pypi
kiwisolver 1.4.4 pypi_0 pypi
ld_impl_linux-64 2.38 h1181459_1 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
libffi 3.4.4 h6a678d5_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
libgcc-ng 11.2.0 h1234567_1 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
libgomp 11.2.0 h1234567_1 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
libstdcxx-ng 11.2.0 h1234567_1 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
llvmlite 0.31.0 pypi_0 pypi
lyft-dataset-sdk 0.0.8 pypi_0 pypi
markdown 3.4.3 pypi_0 pypi
markupsafe 2.1.2 pypi_0 pypi
matplotlib 3.5.2 pypi_0 pypi
matplotlib-inline 0.1.3 pypi_0 pypi
mccabe 0.7.0 pypi_0 pypi
mistune 2.0.5 pypi_0 pypi
mmcv-full 1.3.0 pypi_0 pypi
mmdet 2.10.0 dev_0 <develop>
mmdet3d 0.11.0 dev_0 <develop>
mmpycocotools 12.0.3 pypi_0 pypi
mypy-extensions 1.0.0 pypi_0 pypi
nbclassic 0.5.3 pypi_0 pypi
nbclient 0.8.0 pypi_0 pypi
nbconvert 7.2.5 pypi_0 pypi
nbformat 5.8.0 pypi_0 pypi
ncurses 6.4 h6a678d5_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
nest-asyncio 1.5.4 pypi_0 pypi
networkx 2.2 pypi_0 pypi
notebook 6.5.4 pypi_0 pypi
notebook-shim 0.2.2 pypi_0 pypi
numba 0.48.0 pypi_0 pypi
numpy 1.19.2 pypi_0 pypi
nuscenes-devkit 1.1.9 pypi_0 pypi
oauthlib 3.2.2 pypi_0 pypi
opencv-python 4.7.0.72 pypi_0 pypi
openssl 1.1.1t h7f8727e_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
packaging 23.1 pypi_0 pypi
pandas 1.4.4 pypi_0 pypi
pandocfilters 1.5.0 pypi_0 pypi
parso 0.8.3 pypi_0 pypi
pathspec 0.11.0 pypi_0 pypi
pexpect 4.8.0 pypi_0 pypi
pickleshare 0.7.5 pypi_0 pypi
pillow 9.3.0 pypi_0 pypi
pip 23.0.1 py38h06a4308_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
platformdirs 3.0.0 pypi_0 pypi
plotly 5.14.1 pypi_0 pypi
pluggy 1.0.0 pypi_0 pypi
plyfile 0.9 pypi_0 pypi
prometheus-client 0.17.0 pypi_0 pypi
prompt-toolkit 3.0.38 pypi_0 pypi
protobuf 3.20.3 pypi_0 pypi
psutil 5.9.4 pypi_0 pypi
ptyprocess 0.7.0 pypi_0 pypi
pure-eval 0.2.2 pypi_0 pypi
pyasn1 0.4.8 pypi_0 pypi
pyasn1-modules 0.2.8 pypi_0 pypi
pycocotools 2.0.1 pypi_0 pypi
pycodestyle 2.10.0 pypi_0 pypi
pycparser 2.21 pypi_0 pypi
pyflakes 3.0.1 pypi_0 pypi
pygments 2.14.0 pypi_0 pypi
pyparsing 3.0.9 pypi_0 pypi
pyquaternion 0.9.9 pypi_0 pypi
pyrsistent 0.19.3 pypi_0 pypi
pytest 7.2.1 pypi_0 pypi
python 3.8.16 h7a1cb2a_3 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
python-dateutil 2.8.2 pypi_0 pypi
pytz 2022.6 pypi_0 pypi
pywavelets 1.3.0 pypi_0 pypi
pyyaml 6.0 pypi_0 pypi
pyzmq 25.1.0 pypi_0 pypi
qtconsole 5.4.0 pypi_0 pypi
qtpy 2.3.0 pypi_0 pypi
readline 8.2 h5eee18b_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
requests 2.31.0 pypi_0 pypi
requests-oauthlib 1.3.1 pypi_0 pypi
rsa 4.9 pypi_0 pypi
scikit-image 0.19.3 pypi_0 pypi
scikit-learn 1.2.1 pypi_0 pypi
scipy 1.7.3 pypi_0 pypi
send2trash 1.8.0 pypi_0 pypi
setuptools 67.8.0 py38h06a4308_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
shapely 1.8.5 pypi_0 pypi
six 1.16.0 pypi_0 pypi
sniffio 1.2.0 pypi_0 pypi
soupsieve 2.4 pypi_0 pypi
sqlite 3.41.2 h5eee18b_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
stack-data 0.6.2 pypi_0 pypi
tenacity 8.2.2 pypi_0 pypi
tensorboard 2.11.2 pypi_0 pypi
tensorboard-data-server 0.6.1 pypi_0 pypi
tensorboard-plugin-wit 1.8.1 pypi_0 pypi
termcolor 2.1.1 pypi_0 pypi
terminado 0.17.0 pypi_0 pypi
terminaltables 3.1.10 pypi_0 pypi
threadpoolctl 3.1.0 pypi_0 pypi
tifffile 2023.4.12 pypi_0 pypi
tinycss2 1.1.1 pypi_0 pypi
tk 8.6.12 h1ccaba5_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
toml 0.10.2 pypi_0 pypi
tomli 2.0.1 pypi_0 pypi
torch 1.9.0+cu111 pypi_0 pypi
torchaudio 0.9.0 pypi_0 pypi
torchvision 0.10.0+cu111 pypi_0 pypi
tornado 6.1 pypi_0 pypi
tqdm 4.63.1 pypi_0 pypi
traitlets 5.9.0 pypi_0 pypi
trimesh 2.35.39 pypi_0 pypi
typing-extensions 4.6.2 pypi_0 pypi
urllib3 1.26.16 pypi_0 pypi
wcwidth 0.2.5 pypi_0 pypi
webencodings 0.5.1 pypi_0 pypi
websocket-client 1.5.2 pypi_0 pypi
werkzeug 2.3.4 pypi_0 pypi
wheel 0.38.4 py38h06a4308_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
widgetsnbextension 4.0.7 pypi_0 pypi
xz 5.4.2 h5eee18b_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
yapf 0.32.0 pypi_0 pypi
zipp 3.15.0 pypi_0 pypi
zlib 1.2.13 h5eee18b_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/main
from msmdfusion.
It is hard for me to give you some useful suggestions with the above list of libraries and their versions. But I think the best try is that you reinstall your environment following my libraries dependency.
from msmdfusion.
It is hard for me to give you some useful suggestions with the above list of libraries and their versions. But I think the best try is that you reinstall your environment following my libraries dependency.
Thanks for your response once again. I have another question: Have you tried running MSMDFusion with the latest version of mmdetection3d? I initially attempted to use the latest version, but encountered issues, possibly due to a conflict with the mmengine and mmcv-full which now is renamed to mmcv.
from msmdfusion.
The latest version of mmdetection3d refactors their coordinate system and should be cooperated with a new version of mmcv. I do not adapt my codebase to the latest mmdetection3d.
from msmdfusion.
Related Issues (20)
- AttributeErrorAttributeError: : 'DataContainer' object has no attribute 'shape''DataContainer' object has no attribute 'shape' HOT 4
- Error in nuscenes test data HOT 7
- ImportError: cannot import name 'track_iter_progress' from 'mmcv' HOT 1
- 提交的问题 HOT 3
- Bad substitution HOT 2
- Questions on Virtual Points HOT 4
- Question about copy-and-paste fade strategy HOT 4
- Spconv Error HOT 3
- Question on Dataset HOT 2
- Error building MSMDFusion Dockerfile HOT 12
- Question on 1-st training HOT 2
- GPU memory for evaluation HOT 7
- Questions on virtual points HOT 2
- Evaluate Tracking HOT 3
- the training log files HOT 4
- About box_dim HOT 1
- about visiualization HOT 1
- 训练效果不佳
- about NMS HOT 2
- Json file for detection HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msmdfusion.