Open xiebinghua opened 6 days ago
maybe becase of importing the vggsfm above
Hi @xiebinghua ,
Could you please open a terminal and run the following command step by step?
python
from pytorch3d.renderer.cameras import CamerasBase, PerspectiveCameras
from vggsfm.datasets.demo_loader import DemoLoader
from vggsfm.two_view_geo.estimate_preliminary import estimate_preliminary_cameras
It will help identify which command is the root
@jytime thanks,something wrong happens when I create conda environment, and now I finish the conda env creation, and I can run demo well. But when I run apple case, cuda memory consume is too large, I want to know how to decrease the cuda momery through yaml config? hope for your reply. Another thing is that we hope you provide a docker file to create environment more easily.
Hi,i do have the same problem when running demo.py, but i am not sure that is problem of conda env creation. I created the env by running "source install.sh". What should i be aware of when creating conda env? Thank you for your help!
Hi @xiebinghua ,
Could you please open a terminal and run the following command step by step?
python from pytorch3d.renderer.cameras import CamerasBase, PerspectiveCameras from vggsfm.datasets.demo_loader import DemoLoader from vggsfm.two_view_geo.estimate_preliminary import estimate_preliminary_cameras
It will help identify which command is the root
And I do as you asked, it seems the last command's problem, but how can i fix this? Thank you for your help!
@1511607288 sorry,I don't know clearly how to fix this core dump. I just install the necessary python package in install.sh in my other conda environment and everything is ok.
Hi @1511607288,
It seems poselib is not installed correctly. Can you try if you can import poselib
successfully?
If not, you can also run pip instal https://huggingface.co/facebook/VGGSfM/resolve/main/poselib-2.0.2-cp310-cp310-linux_x86_64.whl
to install poselib specially.
Hi @xiebinghua ,
max_query_pts=1024
for the apple scene.We have released a hugging face demo at https://huggingface.co/spaces/facebook/vggsfm
python demo.py SCENE_DIR=examples/cake resume_ckpt=./vggsfm_v2_0_0.bin