Giter Site home page Giter Site logo

Comments (1)

quantombone avatar quantombone commented on June 29, 2024

I would recommend that you take the visionai/clouddream Docker image and extend it by writing your own Dockerfile. From my understanding of how Docker Hub works, you should not be able to push a container under the visionai/clouddream because visionai is already reserved. For your own debugging sanity, I would recommend naming your custom image something different.

Let's first make a new directory for the new Dockerfile:

cd ~/clouddream/
mkdir custom
cd custom

Now's lets create a simple Dockerfile which extends the visionai one, but downloads the AlexNet model. The file looks like this:

FROM visionai/clouddream

#Download my custom model
RUN /opt/caffe/scripts/download_model_binary.py /opt/caffe/models/bvlc_alexnet

Now's let's build the thing and give it a name like custom/clouddream and we'll be using it on one machine so we won't distribute it to Docker Hub.

#Make sure you are in the custom directory, which has the short Dockerfile inside:
docker build -t custom/clouddream  .

You have now built a custom/clouddream container on your machine, and can go ahead and modify the references inside the Python code to your new model (AlexNet) instead of the default GoogLeNet one.

from clouddream.

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.