Closed monajalal closed 1 year ago
add this line
use_local_ray=False \
after
+preprocess="sfm_demo" \
in scripts/demo_pipeline.sh
also a known issue with numpy 1.24.3 so you gotta switch to 1.23.1
(oneposeplus) mona@ard-gpu-01:~/OnePose_Plus_Plus$ pip show numpy
Name: numpy
Version: 1.24.3
Summary: Fundamental package for array computing in Python
Home-page: https://www.numpy.org
Author: Travis E. Oliphant et al.
Author-email:
License: BSD-3-Clause
Location: /home/mona/anaconda3/envs/oneposeplus/lib/python3.10/site-packages
Requires:
Required-by: astropy, contourpy, fvcore, h5py, imageio, matplotlib, nvdiffrast, nvdu, open3d, opencv-python, pandas, plyfile, pyamg, pyerfa, PyMCubes, pyquaternion, pyrr, pytorch-lightning, PyWavelets, ray, raytracing, scikit-image, scikit-learn, scipy, tensorboard, tensorboardX, tifffile, torchmetrics, torchtext, torchvision, trimesh, wis3d
(oneposeplus) mona@ard-gpu-01:~/OnePose_Plus_Plus$ pip uninstall numpy
Found existing installation: numpy 1.24.3
Uninstalling numpy-1.24.3:
Would remove:
/home/mona/anaconda3/envs/oneposeplus/bin/f2py
/home/mona/anaconda3/envs/oneposeplus/bin/f2py3
/home/mona/anaconda3/envs/oneposeplus/bin/f2py3.10
/home/mona/anaconda3/envs/oneposeplus/lib/python3.10/site-packages/numpy-1.24.3.dist-info/*
/home/mona/anaconda3/envs/oneposeplus/lib/python3.10/site-packages/numpy.libs/libgfortran-040039e1.so.5.0.0
/home/mona/anaconda3/envs/oneposeplus/lib/python3.10/site-packages/numpy.libs/libopenblas64_p-r0-15028c96.3.21.so
/home/mona/anaconda3/envs/oneposeplus/lib/python3.10/site-packages/numpy.libs/libquadmath-96973f99.so.0.0.0
/home/mona/anaconda3/envs/oneposeplus/lib/python3.10/site-packages/numpy/*
Proceed (Y/n)? y
Successfully uninstalled numpy-1.24.3
(oneposeplus) mona@ard-gpu-01:~/OnePose_Plus_Plus$ numpy==1.23.1
(oneposeplus) mona@ard-gpu-01:~/OnePose_Plus_Plus$ pip install numpy==1.23.1
Collecting numpy==1.23.1
Downloading numpy-1.23.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.0/17.0 MB 29.5 MB/s eta 0:00:00
Installing collected packages: numpy
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
open3d 0.16.0 requires nbformat==5.5.0, but you have nbformat 5.9.0 which is incompatible.
Successfully installed numpy-1.23.1
I followed the instructions for running the demo app on your object demo_cam, however, I get this error:
Here are the files I have:
Could you please suggest how to fix?