Git Product home page Git Product logo

Comments (4)

maresb avatar maresb commented on September 22, 2024

Try replacing import tensorflow as tf with import tensorflow.compat.v1 as tf.

More generally, take a look at https://www.tensorflow.org/guide/migrate

from gpu-jupyter.

ChristophSchranz avatar ChristophSchranz commented on September 22, 2024

Thanks for the feedback, this bug should be fixed with commit e894fd0 (Fixed cuda compatibility issue in tf)

See:

# Install Tensorflow, check compatibility here: https://www.tensorflow.org/install/gpu
RUN conda install --quiet --yes \
'tensorflow-gpu=2.1*' \
'keras-gpu' && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER

As explained in the referred link,
"TensorFlow supports CUDA 10.1 (TensorFlow >= 2.1.0)". With Tensorflow 2.1 is should work.

By the way, in extra/Getting_Started/GPU-processing.ipynb you can see the expected results for CUDA availability.

from gpu-jupyter.

bklippstein avatar bklippstein commented on September 22, 2024

Thank you!! Tensorflow & Keras are working now. This image is a perfect base for a child image because all the heavy problems are solved in one black box. Much better than my old solution :-)

from gpu-jupyter.

ChristophSchranz avatar ChristophSchranz commented on September 22, 2024

@bklippstein you are welcome! 😊
Whenever you find a way to improve this image, let me know by writing an issue or pull request!

from gpu-jupyter.

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.