Coder Social home page Coder Social logo

Training with GPU about calamari HOT 9 CLOSED

calamari-ocr avatar calamari-ocr commented on August 16, 2024
Training with GPU

from calamari.

Comments (9)

zhangxiangnick avatar zhangxiangnick commented on August 16, 2024

Okay I think the problem is with TensorFlow 1.9.0. This is what pip installed by default. After I downgrade it to 1.8.0, the training works.

from calamari.

ChWick avatar ChWick commented on August 16, 2024

Thanks for the info! I'll consider an update to tensorflow 1.9 in the next few days!

from calamari.

erjinzhi2333 avatar erjinzhi2333 commented on August 16, 2024

@zhangxiangnick hi,same problem in tensorflow 1.10,it looks like running in colab? How to downgrade tensorflow to 1.8.0? pip3 install tensorflow==1.8.0 will destroy gpu environment.

from calamari.

zhangxiangnick avatar zhangxiangnick commented on August 16, 2024

@erjinzhi2333 in my case, pip install tensorflow-gpu==1.8.

from calamari.

mbtolou avatar mbtolou commented on August 16, 2024

After Downgrade to tensorflow-gpu==1.8

InvalidArgumentError (see above for traceback): Cannot colocate nodes 'global_norm_1/L2Loss_4' and 'gradients/cudnn_lstm/CudnnRNN_grad/CudnnRNNBackprop' because no device type supports both of those nodes and the other nodes colocated with them.
Colocation Debug Info:
Colocation group had the following types and devices:
CudnnRNNBackprop: GPU
Identity:
L2Loss: CPU

from calamari.

ChWick avatar ChWick commented on August 16, 2024

@mbaghert Can you please append your call, operating system, Cuda and Cudnn version, this might help to debug you issue. Maybe create a new issue on github for this specific issue, too.

from calamari.

mbtolou avatar mbtolou commented on August 16, 2024

Windows 10
CUDA v9.0
Cudnn 7

from calamari.

mbtolou avatar mbtolou commented on August 16, 2024

Collecting tensorboard<1.9.0,>=1.8.0 (from tensorflow-gpu==1.8)
Using cached https://files.pythonhosted.org/packages/59/a6/0ae6092b7542cfedba6b2a1c9b8dceaf278238c39484f3ba03b03f07803c/tensorboard-1.8.0-py3-none-any.whl
Requirement already satisfied: numpy>=1.13.3 in c:\programdata\anaconda3\lib\site-packages (from tensorflow-gpu==1.8) (1.14.5)
Requirement already satisfied: grpcio>=1.8.6 in c:\programdata\anaconda3\lib\site-packages (from tensorflow-gpu==1.8) (1.15.0)
Requirement already satisfied: absl-py>=0.1.6 in c:\programdata\anaconda3\lib\site-packages (from tensorflow-gpu==1.8) (0.4.1)
Requirement already satisfied: gast>=0.2.0 in c:\programdata\anaconda3\lib\site-packages (from tensorflow-gpu==1.8) (0.2.0)
Requirement already satisfied: six>=1.10.0 in c:\programdata\anaconda3\lib\site-packages (from tensorflow-gpu==1.8) (1.11.0)
Requirement already satisfied: termcolor>=1.1.0 in c:\programdata\anaconda3\lib\site-packages (from tensorflow-gpu==1.8) (1.1.0)
Requirement already satisfied: astor>=0.6.0 in c:\programdata\anaconda3\lib\site-packages (from tensorflow-gpu==1.8) (0.7.1)
Requirement already satisfied: protobuf>=3.4.0 in c:\programdata\anaconda3\lib\site-packages (from tensorflow-gpu==1.8) (3.6.1)
Requirement already satisfied: html5lib==0.9999999 in c:\programdata\anaconda3\lib\site-packages (from tensorboard<1.9.0,>=1.8.0->tensorflow-gpu==1.8) (0.9999999)
Requirement already satisfied: werkzeug>=0.11.10 in c:\programdata\anaconda3\lib\site-packages (from tensorboard<1.9.0,>=1.8.0->tensorflow-gpu==1.8) (0.14.1)
Requirement already satisfied: bleach==1.5.0 in c:\programdata\anaconda3\lib\site-packages (from tensorboard<1.9.0,>=1.8.0->tensorflow-gpu==1.8) (1.5.0)
Requirement already satisfied: markdown>=2.6.8 in c:\programdata\anaconda3\lib\site-packages (from tensorboard<1.9.0,>=1.8.0->tensorflow-gpu==1.8) (2.6.11)
Requirement already satisfied: setuptools in c:\programdata\anaconda3\lib\site-packages (from protobuf>=3.4.0->tensorflow-gpu==1.8) (39.1.0)

from calamari.

mbtolou avatar mbtolou commented on August 16, 2024

problem solved by conda install tensorflow-gpu==1.8

from calamari.

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.