Pytorch3d: Installation and Setup with DockerFile

Created on 17 Mar 2020  路  10Comments  路  Source: facebookresearch/pytorch3d

馃殌 Feature

I would like to propose and implement a DockerFile for easy installation and set up of pytorch3d

Motivation

A lot of users might face problems while installation, I personally took some time to set it up, but a dockerfile makes this easier.
One line of code to run the dockerfile.

Pitch

The DoclkerFile would :

  1. check for python
  2. Ask for OS
  3. create a virtual environment
  4. Install all requirements
  5. Checks for cuda (and version) if doesn't exist, will install with pip (without cuda support)
  6. User can choose.
    [a] anaconda [b] pip
  7. User can choose building / installing from source.
    [a] Install from Github [b] Install from local clone

NOTE: we only consider adding new features if they are useful for many users.

enhancement installation

Most helpful comment

install_Pytorch3D_Dockerfile.txt
@Hemantr05 There it is. Enjoy.

All 10 comments

@Hemantr05 yes this sounds like a good idea. Do you plan to implement it or do you need support from us?

@nikhilaravi will try implementing it. Should be done by today.
If any support is needed, what would be the approach for it?

Great! Feel free to make a PR when you're ready. If you have any questions you can ask them here or on your PR.

Will do, thanks a ton @nikhilaravi

I was successfully able to setup pytorch3d using docker. Let me know if anyone needs any help.

@bhadresh74 is it possible for you share the same?

install_Pytorch3D_Dockerfile.txt
@Hemantr05 There it is. Enjoy.

@bhadresh74 thank you

Seems like this issue is resolved. I am closing it and feel free to reopen it if anything new emerges.

It seems not to work today because pytoch3d=0.2.0=py36_cu100_pyt14 has removed in -c pytorch3d-nightly
The solution is to replace RUN conda install --name pytorch3d pytorch3d -c pytorch3d-nightly with RUN conda install --name pytorch3d pytorch3d -c pytorch3d because pytoch3d=0.2.0=py36_cu100_pyt14 exists in -c pytorch3d

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ruslanvasylev picture ruslanvasylev  路  3Comments

unlugi picture unlugi  路  3Comments

ldepn picture ldepn  路  3Comments

elcronos picture elcronos  路  3Comments

TSKongLingwei picture TSKongLingwei  路  3Comments