Open pieris98 opened 1 month ago
I'm sorry, I did this work with GTX 1650. Therefore, it may not be able to render on RTX 40/30.
name: yolo channels:
Hey @sunhan1997 , For the custom packages (e.g. ros dependencies) did you use a meta-package e.g. ros-release? I'm going through the dependencies pip list one-by-one and it's difficult to find all these package versions on github.
About the ros, you should install ros in your ubuntu system. As for the conda env, you can use pip install rospkg. If you just run this code, you can ignore the ros package. If you want to run this code with robot, you should install ros firstly. In addition, I upload a new version which use the pyrender(from bop_toolkit)replacing the opengl. And the new version code maybe more suitable, I have run it in my RTX 4090.
Hey again @sunhan1997 ,
I was able to install all packages in the new commit version you uploaded.
However, now trying to run test_without_detection.py
the error is that PyTorch version doesn't support the Ampere compute capability sm86
(my card is RTX3060).
You said you ran this on your RTX4090 so maybe you forgot to update requirements.txt
?
Right now if I install all required packages I have torch==1.10.1
.
Also I had to manually resolve some incompatibilities of packages with easy_dxnet
repo, which you recommend to download for faster runtime.
If you could provide any guidance or upload an up-to-date requirements.txt
file (from conda env export/pip freeze) that would be very helpful.
Appreciate all your help on my issues!
hello, therequirements.txt
is no problem, and the pytorch is 1.10.1. You can tryconda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=11.3 -c pytorch -c conda-forge
to install the pytorch. In addition, the easy_dxnet
is not used in this project. I mean, in future work, the easy_dxnet
can be used to sample grasps for better performance.
Hey again @sunhan1997 I'm still trying to test the code and it doesn't work because of incompatibilities with various libraries.
This is what I've installed so far because of errors I got trying to run
python test.py
:python==3.8.19
(still have to try 3.7 for cython 0.29 to work without building wheel)cython==0.29
(only way to be able to installcyglfw3
for dataset preparation/rendering)cyglfw3==3.1.2.0
open3d
(I didn't specify version, which one is used in your code??)graspnetAPI
(I didn't specify version, which one is used in your code??)numpy
: downgraded from 1.24.4 to 1.20.3 (used 1.20.3 because it was the ONLY available version of numpy that's compatible withpandas
, otherwisepip
complains in many versions ofpandas
even when using the olderpandas==1.5.3
that it needsnumpy>=1.20.3
) ----->This leads me to my current ERROR caused in numpy typing nowAttributeError: module 'numpy.typing' has no attribute 'NDArray'
Traceback:
This is my current
pip list
output:And this is my
conda list
(I used conda):Can you please provide your
pip list
/conda list
of your laptop and desktop so that I can try a working environment? Anyone else who got the simplepython test
to work please feel free to share your environment.Thanks again for all your help.