Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use Grabnet #24

Open
polemieux opened this issue Jan 4, 2025 · 2 comments
Open

Unable to use Grabnet #24

polemieux opened this issue Jan 4, 2025 · 2 comments

Comments

@polemieux
Copy link

polemieux commented Jan 4, 2025

Hi,

I would like to use GrabNet on my local windows machine. I already have an issue when getting the requirements:

Collecting git+git://github.com/otaheri/chamfer_distance.git (from -r requirements.txt (line 12))
  Cloning git://github.com/otaheri/chamfer_distance.git to c:\users\p5x\appdata\local\temp\pip-req-build-jat8v4_e
  Running command git clone --filter=blob:none --quiet git://github.com/otaheri/chamfer_distance.git 'C:\Users\p5x\AppData\Local\Temp\pip-req-build-jat8v4_e'
  fatal: unable to connect to github.com:
  github.com[0: 140.82.112.3]: errno=Unknown error

  error: subprocess-exited-with-error

  × git clone --filter=blob:none --quiet git://github.com/otaheri/chamfer_distance.git 'C:\Users\p5x\AppData\Local\Temp\pip-req-build-jat8v4_e' did not run successfully.
  │ exit code: 128
  ╰─> See above for output.

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

× git clone --filter=blob:none --quiet git://github.com/otaheri/chamfer_distance.git 'C:\Users\p5x\AppData\Local\Temp\pip-req-build-jat8v4_e' did not run successfully.
│ exit code: 128
╰─> See above for output.

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

So I modified git: by https: in the requirements file and it gave me the following traces

Collecting git+https://github.com/otaheri/chamfer_distance.git (from -r requirements.txt (line 12))
  Cloning https://github.com/otaheri/chamfer_distance.git to c:\users\p5x\appdata\local\temp\pip-req-build-x2vvxwrs
  Running command git clone --filter=blob:none --quiet https://github.com/otaheri/chamfer_distance.git 'C:\Users\p5x\AppData\Local\Temp\pip-req-build-x2vvxwrs'
  Resolved https://github.com/otaheri/chamfer_distance.git to commit f86f6f7cadd3aca642704573d1626c67ca2e2846
  Preparing metadata (setup.py) ... done
Collecting git+https://github.com/otaheri/MANO.git (from -r requirements.txt (line 13))
  Cloning https://github.com/otaheri/MANO.git to c:\users\p5x\appdata\local\temp\pip-req-build-wymk6rc4
  Running command git clone --filter=blob:none --quiet https://github.com/otaheri/MANO.git 'C:\Users\p5x\AppData\Local\Temp\pip-req-build-wymk6rc4'
  Resolved https://github.com/otaheri/MANO.git to commit 5869ab059c1bf31cc724f57eaf93e041135e8960
  Preparing metadata (setup.py) ... done
Collecting git+https://github.com/otaheri/bps_torch.git (from -r requirements.txt (line 14))
  Cloning https://github.com/otaheri/bps_torch.git to c:\users\p5x\appdata\local\temp\pip-req-build-f4y7gtst
  Running command git clone --filter=blob:none --quiet https://github.com/otaheri/bps_torch.git 'C:\Users\p5x\AppData\Local\Temp\pip-req-build-f4y7gtst'
  Resolved https://github.com/otaheri/bps_torch.git to commit 00fcac3dffd294211d4ea0363eaf6c2ca4e068dc
  Preparing metadata (setup.py) ... done
Collecting git+https://github.com/MPI-IS/mesh.git (from -r requirements.txt (line 15))
  Cloning https://github.com/MPI-IS/mesh.git to c:\users\p5x\appdata\local\temp\pip-req-build-afzs65t9
  Running command git clone --filter=blob:none --quiet https://github.com/MPI-IS/mesh.git 'C:\Users\p5x\AppData\Local\Temp\pip-req-build-afzs65t9'
  Resolved https://github.com/MPI-IS/mesh.git to commit 49e70425cf373ec5269917012bda2944215c5ccd
  Preparing metadata (setup.py) ... done
ERROR: Could not find a version that satisfies the requirement pytorch3d (from versions: none)
ERROR: No matching distribution found for pytorch3d

I have also tried to run the Colab demo, but I also get the same problems

Any idea on how I can resolve these issues?

Thank you very much.

@amogh-tiwari
Copy link

I suggest that you try to install pytorch3d from the steps mentioned here: https://github.com/facebookresearch/pytorch3d/blob/main/INSTALL.md

And then proceed with the rest of the setup for GrabNet.

@polemieux
Copy link
Author

I tried to install pytorch3d with no success. It seems I am not the only one facing issues with this library. Does anyone have a clue on how to resolve this on a windows machine or with windows subsystem linux (WSL2) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants