Skip to content
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

python est_waterlevel.py --test-path=assets/lake_exp/ --test-name lake_exp --opt people error #5

Open
lisafblackpink opened this issue Nov 9, 2023 · 3 comments

Comments

@lisafblackpink
Copy link

Screenshot from 2023-11-09 21-59-49

@xmlyqing00
Copy link
Owner

I used a subprocess to call the MeshTransformer to detect the human body in the scene. The first error message "opendr/contexts/ctx_base.pyx" comes from their program. And I guess the reason is the MeshTransformer doesn't setup well.

Could you tell me your GPU card and your environment information?

@lisafblackpink
Copy link
Author

Screenshot from 2023-11-10 12-55-47
Screenshot from 2023-11-10 12-56-02

@xmlyqing00
Copy link
Owner

Thanks for your reply.

I'm not familiar with this series of NVIDIA GPU but I guess you can try the similar installation as 3090 series like this (copy from README.md)

Installation commands for CUDA 11.1 (NVIDIA GPU older than 40X0 such as 3090)
# Install essential libaries
sudo apt install build-essential libosmesa6-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev

# Install PyTorch
pip install torch==1.8.2+cu111 torchvision==0.9.2+cu111 torchaudio==0.8.2 -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
pip install torch-scatter==2.0.8 -f https://data.pyg.org/whl/torch-1.8.1+cu111.html -v

# Install Detectron2
pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu111/torch1.8/index.html

# Install MeshTransformer, make sure you are in the folder of this repository.
cd MeshTransformer
python setup.py build develop
pip install ./manopth/.
cd ..

# Install other python packages
pip install -r requirements.txt

How did you setup the MeshTransformer?

The problem is from the dependency OpenDR. Maybe you can try this solution that re-compile the OpenDR.
See microsoft/MeshTransformer#35 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants