shubham-goel / ucmr

Code for the ECCV2020 paper "Shape and Viewpoint without Keypoints".
https://shubham-goel.github.io/ucmr/
148 stars 11 forks source link

Error when trying to build Dockerfile #8

Closed kinrinmin closed 3 years ago

kinrinmin commented 3 years ago

Hi, I've been trying to build the Dockerfile on my Ubuntu virtualbox. It builds for about 5 minutes and then stops at this error:

Installed /opt/conda/lib/python3.6/site-packages/imageio-2.9.0-py3.6.egg
Searching for scikit-image
Reading https://pypi.org/simple/scikit-image/
Downloading https://files.pythonhosted.org/packages/6e/be/a8ccf9d949a55023cf02438310e068c263ce3dd6bbf31f9229d3db6e551a/scikit-image-0.18.1.tar.gz#sha256=fbb618ca911867bce45574c1639618cdfb5d94e207432b19bc19563d80d2f171
Best match: scikit-image 0.18.1
Processing scikit-image-0.18.1.tar.gz
Writing /tmp/easy_install-tb7973kg/scikit-image-0.18.1/setup.cfg
Running scikit-image-0.18.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-tb7973kg/scikit-image-0.18.1/egg-dist-tmp-9o4lwvvw

To install scikit-image from source, you will need NumPy.
Install NumPy with pip using:

  pip install numpy

Or use your operating system package manager. For more
details, see:

   https://scikit-image.org/docs/stable/install.html

error: Setup script exited with 1
The command '/bin/sh -c cd /workspace                                   &&     git clone https://github.com/ShichenLiu/SoftRas.git  &&     cd SoftRas                                       &&     python setup.py install' returned a non-zero code: 1

Then I tried to fix it by adding at the top of the Dockerfile RUN pip install numpy but that didn't work. Any ideas how to resolve? Would really like to run this! Thanks.

shubham-goel commented 3 years ago

Thank you for pointing this out! I don't fully understand why this error is showing up now but I've now modified the Dockerfile to explicitly install scikit-image.