Closed kimanton closed 1 year ago
Hi @kimanton,
From the error message above, I believe that this should be a issue if cuda version mismatch. The code of project was developed in 2019 where CUDA 11 is not available.
identifier "THArgCheck" is undefined
seems that in new CUDA version, the THArgCheck
variable is deprecated.
Maybe you can try to use CUDA 10.3 to build the PointNet module. If you find it hard to install CUDA 10 on Ubuntu 20, you can also try to use a nvcc docker to build the module and use the code outside the docker.
Thank you for an advice! I will try docker with an older nvcc
Hi again @yzqin So I was able to finish installation, but now I can't run the thing. I run it in a container with Ubuntu 18, CUDA 10.2, Python 3.6 It says this
File "grasp_proposal_test.py", line 8, in
from grasp_proposal.cloud_processor.cloud_processor import CloudPreProcessor ModuleNotFoundError: No module named 'grasp_proposal'
I tried to add __init__.py
to subfolders of grasp_proposal, didn't work
Merry Christmas @kimanton ,
From the error message provides, it seems that the grasp_proposal module is not in the search path of the Python interpenetrate.
One simple fix can be add the path of s4g-release/inference
into your PYTHONPATH before execute the program. For example, you can do the following:
cd s4g-release/inference
export PYTHONPATH=`pwd`:$PYTHONPATH
cd grasp_proposal
python grasp_proposal_test.py
Or if you are using some IDE like VSCode or Pycharm, you can also added the path s4g-release/inference
into the IDE interpreter or append it to sys.path
.
@yzqin Thank you!
I am interested in your work, but I can't proceed because when i am trying to build it according to step 4 of installation
python setup.py build_ext --inplace
, I get the following error:What is this "THArgCheck"? What header I need to include to fix it? Or maybe I need to rename it to something else?
I am using Ubuntu 20, with
torch=1.13.1+cu116
andnvcc=11.6
I fixed the other similar problems, and can't find fix for this one only
Here is the complete log after
python setup.py build_ext --inplace
, if its relevant: