Coder Social home page Coder Social logo

Docker build fails about detectron HOT 9 CLOSED

facebookresearch avatar facebookresearch commented on August 26, 2024
Docker build fails

from detectron.

Comments (9)

burningion avatar burningion commented on August 26, 2024 1

I've added a pull request for this. It seems the Dockerfiles were broken in the caffe2 repo.

#15

from detectron.

burningion avatar burningion commented on August 26, 2024 1

Hey @ir413, you're totally right!

Somehow we both managed to completely miss that. I expect there will be others in the future.

Would you be open to putting a README.md inside of the docker/ directory?

It could even just be a copy paste of the instructions from INSTALL.md above for replacing the (currently) broken Caffe2 Dockerfile.

I think this will save you from people re opening this issue in the future.

Either way, thanks!

from detectron.

burningion avatar burningion commented on August 26, 2024 1

@VinceKumar the related Dockerfile for Caffe2 is here:

https://github.com/caffe2/caffe2/tree/master/docker

That's the one the instructions are trying to get you to build, once you get rid of the --branch v0.8.1/ from the appropriate Dockerfile.

from detectron.

pandamax avatar pandamax commented on August 26, 2024 1

Here is a Chinese Blog account for this issue in detail,which may help you.

from detectron.

VinceKumar avatar VinceKumar commented on August 26, 2024

Thank you! Testing it right now.

from detectron.

ir413 avatar ir413 commented on August 26, 2024

Hi @VinceKumar and @burningion, please see the instructions for building the Caffe2 image provided in our INSTALL.md file:

cd /path/to/caffe2/docker/ubuntu-16.04-cuda8-cudnn6-all-options
# Use the latest Caffe2 master
sed -i -e 's/ --branch v0.8.1//g' Dockerfile
docker build -t caffe2:cuda8-cudnn6-all-options .

I believe the pull request @burningion added removes the --branch v0.8.1 from the Caffe2 dockerfile, as is done in the instructions above.

from detectron.

VinceKumar avatar VinceKumar commented on August 26, 2024

I don't understand the building of the Caffe image part 😕. There is no provided dockerfile relating to Caffe in this repo or one on dockerhub.

from detectron.

ir413 avatar ir413 commented on August 26, 2024

Hi all, we're working with the Caffe2 team on uploading up-to-date Caffe2 images to the docker hub, which should eliminate the need to build the Caffe2 dockerfiles locally and make the overall docker setup process smoother. Sorry for the inconvenience.

@VinceKumar: As @burningion said, we assume that you have the Caffe2 repo cloned locally. If it makes it clearer, you can replace

cd /path/to/caffe2/docker/ubuntu-16.04-cuda8-cudnn6-all-options

with

# CAFFE2=/path/to/caffe2
git clone https://github.com/caffe2/caffe2.git $CAFFE2
cd $CAFFE2/docker/ubuntu-16.04-cuda8-cudnn6-all-options

in the instructions I posted above.

from detectron.

008karan avatar 008karan commented on August 26, 2024

@VinceKumar facing same issue of not able to find docker file in caffe2 image. how you solved it?

from detectron.

Related Issues (20)

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.