Open Jinbo-Zuo opened 2 months ago
Sorry, I just saw your ‘icg_net’ work and downloaded it. See link https://github.com/HaojHuang/Edge-Grasp-Network
Does it solved Jinbo? I also have your question. $ python scripts/test_icgnet.py --scene packed --object-set packed/test Failed to import icg_net dependencies. Make sure you have the icg_net package installed. No module named 'icg_net' Failed to import icg_net dependencies. Make sure you have the icg_net package installed. name 'ICGNetModule' is not defined
The work is split in two packages:
The benchmark package contains the pybullet evaluation environment and wrappers for different Networks.
ICGNet is located here https://github.com/renezurbruegg/icg_net and needs to be installed as additional peckage.
Hope this helps
But I fails to install ICGNet package
ARNING: Ignoring invalid distribution -orch (/usr/stud/dira/miniconda3/envs/grasp/lib/python3.8/site-packages)
Obtaining file:///usr/stud/dira/GraspInClutter/icg_benchmark/icg_net
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Building wheels for collected packages: icg_net
Building editable for icg_net (pyproject.toml) ... done
Created wheel for icg_net: filename=icg_net-0.0.0-0.editable-py3-none-any.whl size=3665 sha256=0ab702e6d58c76355963817e407c7347542e23267bcd30f902731a036250c7c3
Stored in directory: /tmp/pip-ephem-wheel-cache-kegr7sul/wheels/3e/f2/fc/122b92fc1908878df1dae85f7a8cff42d64be6ee809562ef56
Successfully built icg_net
WARNING: Ignoring invalid distribution -orch (/usr/stud/dira/miniconda3/envs/grasp/lib/python3.8/site-packages)
DEPRECATION: pytorch-lightning 1.7.2 has a non-standard dependency specifier torch>=1.9.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of pytorch-lightning or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: icg_net
Attempting uninstall: icg_net
Found existing installation: icg_net 0.0.0
Can't uninstall 'icg_net'. No files were found to uninstall.
Successfully installed icg_net-0.0.0
(grasp) (base) dira@atcremers69:~/GraspInClutter/icg_benchmark/icg_net$ pip uninstall icg_net
pip install -e .
Found existing installation: icg_net 0.0.0
Can't uninstall 'icg_net'. No files were found to uninstall.
WARNING: Ignoring invalid distribution -orch (/usr/stud/dira/miniconda3/envs/grasp/lib/python3.8/site-packages)
Obtaining file:///usr/stud/dira/GraspInClutter/icg_benchmark/icg_net
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Building wheels for collected packages: icg_net
Building editable for icg_net (pyproject.toml) ... done
Created wheel for icg_net: filename=icg_net-0.0.0-0.editable-py3-none-any.whl size=3665 sha256=86245bc838faf93e99ae4491503faf86e989d0c84145e5e364518aa66b6263b1
Stored in directory: /tmp/pip-ephem-wheel-cache-c2nq3tkv/wheels/3e/f2/fc/122b92fc1908878df1dae85f7a8cff42d64be6ee809562ef56
Successfully built icg_net
WARNING: Ignoring invalid distribution -orch (/usr/stud/dira/miniconda3/envs/grasp/lib/python3.8/site-packages)
DEPRECATION: pytorch-lightning 1.7.2 has a non-standard dependency specifier torch>=1.9.*. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of pytorch-lightning or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: icg_net
Attempting uninstall: icg_net
Found existing installation: icg_net 0.0.0
Can't uninstall 'icg_net'. No files were found to uninstall.
Successfully installed icg_net-0.0.0
Are you sure it failed? The final output is Successfully installed icg_net-0.0.0
Also, try to install it with the --force-reinstall flag.
icg_net has been installed as packge. But problems inbvolve:
python scripts/test_icgnet.py --scene packed --object-set packed/test
Segmentation fault (core dumped)
This looks like a severe issues in one of the dependencies. Does edge grasp work? If no try to force reinstall pybullet. If yes, the issue might be minkowski engine.
I ran the test according to the Readme and got the above error, it looks like some modules were missing. In addition, I found that only the test part is open sourced here, do you have any considerations on when the training part will be open source?