graspnet / graspnet-baseline

Baseline model for "GraspNet-1Billion: A Large-Scale Benchmark for General Object Grasping" (CVPR 2020)
https://graspnet.net/
Other
521 stars 153 forks source link

How to run this project? #72

Closed ChengXIZhang666 closed 1 year ago

ChengXIZhang666 commented 1 year ago

The following are the errors reported when installing knn: vision.obj : error LNK2001: 无法解析的外部符号 "public: long __cdecl at::Tensor::data_ptr(void)const " (??$data_ptr@J@Tensor@at@@QEBAPEAJXZ) vision.obj : error LNK2001: 无法解析的外部符号 "struct THCState state" (?state@@3PEAUTHCState@@EA) build\lib.win-amd64-3.6\knn_pytorch\knn_pytorch.cp36-win_amd64.pyd : fatal error LNK1120: 2 个无法解析的外部命令 error: command 'F:\VSsoft\Visual Studio IDE\VC\Tools\MSVC\14.36.32532\bin\HostX86\x64\link.exe' failed with exit status 1120

chenxi-wang commented 1 year ago

That is probably caused by incorrect cuda version or pytorch version. Besides, we did not test the code on Windows. Linux is recommended.

ChengXIZhang666 commented 1 year ago

alright and thanks