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

conflict environment #19

Closed
xlim1996 opened this issue May 29, 2022 · 12 comments
Closed

conflict environment #19

xlim1996 opened this issue May 29, 2022 · 12 comments

Comments

@xlim1996
Copy link

Hi,
My GPU is GTX3080Ti and i try to use contact_graspnet(inferency.py).it's pretty slow. I have seen the other issues #16 and #9. I try to use cuda11.2 and cudnn8.1 with TensorFlow-gpu2.5. But it exits a lot of packages conflict and python package bugs.
So, is it possible that you provide a new version yml file for TensorFlow-gpu2.5?

Best regards,
xiaolin

@MartinSmeyer
Copy link
Contributor

Hi,
Yes, several people seem to have issues with that. I will provide a new environment next week when I am back to Germany.
Best,
Martin

@xlim1996
Copy link
Author

Thank you in advance. It will be very helpful.

@xlim1996
Copy link
Author

@MartinSmeyer
Hi Martin,
I want to know where you provide the new environment file? Because I don't know where I can find the new environment file.

best,
xiaolin

@MartinSmeyer
Copy link
Contributor

Currently have some more urgent things to do but hope to find some time this weekend. If this is too late for you, give it a shot yourself, it shouldn't be too hard.

@xlim1996 xlim1996 closed this as completed Jul 4, 2022
@AmanuelErgogo
Copy link

@xlim1996
Hi, have you solve this issue and could you share environment file?

@xlim1996
Copy link
Author

xlim1996 commented Jul 9, 2022

@AmanuelErgogo
Hi,i send you the link. you can download it.
https://drive.google.com/file/d/1_02uAnqkAR-PZmo1Dku5pW-AUHAz5aiG/view?usp=sharing
If it don't work,you can try the following code:
conda create --name contact_graspnet python=3.8
conda activate contact_graspnet
conda install -c conda-forge cudatoolkit=11.2(or 11.3)
conda install -c conda-forge cudnn=8.2
pip install tensorflow==2.5 tensorflow-gpu=2.5
pip install opencv-python-headless
pip install pyyaml
pip install pyrender
pip install tqdm
pip install mayavi

After you have successfully create a env, don't forget to recompile pointnet2 tf_ops:
sh compile_pointnet_tfops.sh
I hope it can help you.

Best regards,
xiaolin

@AmanuelErgogo
Copy link

Thanks @xlim1996
it works with the environment setup you shared on Ubuntu 20.04 with Nvidia A5000 after changing pyyaml version from 6.0 to 5.4.1.

@MartinSmeyer
Copy link
Contributor

Thank you guys!

@HanzhiC
Copy link

HanzhiC commented Jun 21, 2023

@AmanuelErgogo Hi,i send you the link. you can download it. https://drive.google.com/file/d/1_02uAnqkAR-PZmo1Dku5pW-AUHAz5aiG/view?usp=sharing If it don't work,you can try the following code: conda create --name contact_graspnet python=3.8 conda activate contact_graspnet conda install -c conda-forge cudatoolkit=11.2(or 11.3) conda install -c conda-forge cudnn=8.2 pip install tensorflow==2.5 tensorflow-gpu=2.5 pip install opencv-python-headless pip install pyyaml pip install pyrender pip install tqdm pip install mayavi

After you have successfully create a env, don't forget to recompile pointnet2 tf_ops: sh compile_pointnet_tfops.sh I hope it can help you.

Best regards, xiaolin

could you share the env.yaml again? the shared file is gone. thanks!

@a-badithela
Copy link

can you upload a new yaml file? the link was die @@

@andyoung009
Copy link

Would you please share the env.yaml again? the shared file is gone. thanks!

@ekjt
Copy link

ekjt commented Feb 6, 2025

I have been struggling with the same issues. GPU: 3090, CUDA: 11.3, Ubuntu: 20.04 . I was able to get their demos working with the following setup:

#build env
conda create --name contact_graspnet python=3.8
conda activate contact_graspnet
conda install -c conda-forge cudatoolkit=11.2
conda install -c conda-forge cudnn=8.2
pip install tensorflow==2.5 tensorflow-gpu==2.5
pip install opencv-python-headless
pip install pyyaml==5.4.1
pip install pyrender
pip install tqdm
pip install configobj
conda install mayavi=4.7.1
conda install matplotlib=3.3.2
pip install numpy==1.23.4

#compile pointnet
 sh compile_pointnet_tfops.sh

#run demo
 python contact_graspnet/inference.py \
       --np_path=test_data/*.npy \
       --local_regions --filter_grasps

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

7 participants