Code Monkey home page Code Monkey logo

Comments (4)

raphaelmemmesheimer avatar raphaelmemmesheimer commented on May 25, 2024 1

You can remove the install of Tensorflow in the last line, as this is only required for computing FID values.

That is, remove this line:

RUN pip install tensorflow==1.15

Thanks, that in combination with using the most recent torchvision version worked for me.

from deepprivacy.

hukkelas avatar hukkelas commented on May 25, 2024

I believe this was an error with pytorch, could you try to replace the base docker image such that the first line in the docker image is the following:

FROM nvcr.io/nvidia/pytorch:20.12-py3

from deepprivacy.

pddp avatar pddp commented on May 25, 2024

Hello World,
I tried the git version and failed to get it running - details will follow. I also failed with the docker image:
Created wheel for wrapt: filename=wrapt-1.12.1-cp36-cp36m-linux_x86_64.whl size=69696 sha256=bc8b02eb0456bbc2988e59f5ded83f5dea050fa6b382093be8af7e8809f3d18e
Stored in directory: /root/.cache/pip/wheels/32/42/7f/23cae9ff6ef66798d00dc5d659088e57dbba01566f6c60db63
Successfully built gast wrapt
Installing collected packages: google-pasta, tensorboard, keras-applications, keras-preprocessing, gast, tensorflow-estimator, astor, wrapt, opt-einsum, tensorflow
ERROR: thinc 6.12.1 has requirement msgpack<0.6.0,>=0.5.6, but you'll have msgpack 0.6.1 which is incompatible.
ERROR: thinc 6.12.1 has requirement wrapt<1.11.0,>=1.10.0, but you'll have wrapt 1.12.1 which is incompatible.
Attempting uninstall: tensorboard
Found existing installation: tensorboard 2.1.0
Uninstalling tensorboard-2.1.0:
Successfully uninstalled tensorboard-2.1.0
Attempting uninstall: wrapt
Found existing installation: wrapt 1.10.11
ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
The command '/bin/sh -c pip install tensorflow==1.15' returned a non-zero code: 1

I assume that the docker image does not specify the required version numbers for some of the packages.

from deepprivacy.

hukkelas avatar hukkelas commented on May 25, 2024

You can remove the install of Tensorflow in the last line, as this is only required for computing FID values.

That is, remove this line:

RUN pip install tensorflow==1.15

from deepprivacy.

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.