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

Is there interest in Dockerizing the MNC code? #77

Open
AndreiBarsan opened this issue Apr 22, 2018 · 2 comments
Open

Is there interest in Dockerizing the MNC code? #77

AndreiBarsan opened this issue Apr 22, 2018 · 2 comments

Comments

@AndreiBarsan
Copy link

Dear MNC authors,

While working on a project which leveraged MNC for instance-aware semantic segmentation, I ended up dockerizing the code for simplicity. That is, I've written a Dockerfile plus a helper script which can build the version of Caffe required by MNC and the other dependencies in a neat turn-key fashion.

The helper script (designed for KITTI dataset sequences, but I can make it more generic) and Dockerfile are located here:

Would there be interest in integrating e.g., the Dockerfile into the main MNC project, to make it easier for people to use MNC and install Caffe's dependencies in an isolated manner? If so, I can help make my scripts and Dockerfile more generic and create a pull request.

Thank you,
Andrei

@kidtronnix
Copy link

Oooh I was just working on this. 👍

Thanks, saves a bunch of time.

@kidtronnix
Copy link

So I cloned your fork and am running into this error...

Step 4/38 : RUN pip install --upgrade pip &&     pip install Cython numpy scipy scikit-image matplotlib h5py nose pandas     protobuf python-gflags Pillow six python-dateutil pyyaml     easydict opencv-python
 ---> Running in d1b4fc9726a4
Collecting pip
  Downloading https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl (1.3MB)
Installing collected packages: pip
  Found existing installation: pip 8.1.1
    Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
Successfully installed pip-18.1
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    from pip import main
ImportError: cannot import name main
The command '/bin/sh -c pip install --upgrade pip &&     pip install Cython numpy scipy scikit-image matplotlib h5py nose pandas     protobuf python-gflags Pillow six python-dateutil pyyaml     easydict opencv-python' returned a non-zero code: 1

I fixed pip==9.03, image build but then I can't run demo, because _caffe module can't be found.

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