Code Monkey home page Code Monkey logo

suctionnetapi's People

Contributors

intrepidchw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

suctionnetapi's Issues

Error when installing suctionnetAPI by pip install .

Defaulting to user installation because normal site-packages is not writeable
Processing /home/gaurav/suctionnetAPI
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in /home/gaurav/.local/lib/python3.6/site-packages (from suctionnetAPI==1.0.0) (1.19.5)
Requirement already satisfied: scipy in /home/gaurav/.local/lib/python3.6/site-packages (from suctionnetAPI==1.0.0) (1.5.4)
Collecting transforms3d==0.3.1
Using cached transforms3d-0.3.1.tar.gz (62 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: open3d>=0.8.0.0 in /home/gaurav/.local/lib/python3.6/site-packages (from suctionnetAPI==1.0.0) (0.14.1)
Requirement already satisfied: tqdm in /usr/local/lib/python3.6/dist-packages (from suctionnetAPI==1.0.0) (4.62.3)
Requirement already satisfied: opencv-python in /usr/local/lib/python3.6/dist-packages (from suctionnetAPI==1.0.0) (4.5.5.62)
Requirement already satisfied: trimesh in /usr/local/lib/python3.6/dist-packages (from suctionnetAPI==1.0.0) (3.9.40)
Collecting suction_nms
Using cached suction_nms-1.0.0.tar.gz (41 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rsgs6en3/suction-nms_7193e40d909142c294d1bb903759e78f/setup.py'"'"'; file='"'"'/tmp/pip-install-rsgs6en3/suction-nms_7193e40d909142c294d1bb903759e78f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-cc8h3lf9
cwd: /tmp/pip-install-rsgs6en3/suction-nms_7193e40d909142c294d1bb903759e78f/
Complete output (11 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-rsgs6en3/suction-nms_7193e40d909142c294d1bb903759e78f/setup.py", line 15, in
ext_modules=cythonize("suction_nms.pyx"),
File "/home/gaurav/.local/lib/python3.6/site-packages/Cython/Build/Dependencies.py", line 973, in cythonize
aliases=aliases)
File "/home/gaurav/.local/lib/python3.6/site-packages/Cython/Build/Dependencies.py", line 816, in create_extension_list
for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
File "/home/gaurav/.local/lib/python3.6/site-packages/Cython/Build/Dependencies.py", line 114, in nonempty
raise ValueError(error_msg)
ValueError: 'suction_nms.pyx' doesn't match any files

WARNING: Discarding https://files.pythonhosted.org/packages/37/9d/290ba120ab22f13e7348b1436706e2e2df7886dcd948cee654f5b573e088/suction_nms-1.0.0.tar.gz#sha256=031e9d93aeb6eab170979af5edde87ece4c400ca988731da1fe5d645d99a500f (from https://pypi.org/simple/suction-nms/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement suction_nms (from suctionnetapi) (from versions: 1.0.0)
ERROR: No matching distribution found for suction_nms

Center of mass

Dear @intrepidChw
Thank you for publicing the suction 1 billion.
I saw the get_wrench_score function that it needs the center and the center is defined as model_points.mean(axis=0), but some objects with irregular shape (like C shape) will have the mean coordinate outside the objects right ?

安装时出现Cython错误

`Collecting suction_nms (from suctionnetAPI==1.0.0)
Using cached suction_nms-1.0.0.tar.gz (41 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-9eu4mcn4/suction-nms_e4b8ecf8ee7e4cf780c0045254916bf5/setup.py", line 15, in
ext_modules=cythonize("suction_nms.pyx"),
File "/home/eggsy/anaconda3/envs/py3-mink/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1010, in cythonize
module_list, module_metadata = create_extension_list(
File "/home/eggsy/anaconda3/envs/py3-mink/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 845, in create_extension_list
for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
File "/home/eggsy/anaconda3/envs/py3-mink/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 117, in nonempty
raise ValueError(error_msg)
ValueError: 'suction_nms.pyx' doesn't match any files
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
`
即使从源下载suction_nms后install .也会出现同样的错误

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.