Comments (9)
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.
Thanks for the info! I'll consider an update to tensorflow 1.9 in the next few days!
from calamari.
@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.
@erjinzhi2333 in my case, pip install tensorflow-gpu==1.8.
from calamari.
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.
@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.
Windows 10
CUDA v9.0
Cudnn 7
from calamari.
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.
problem solved by conda install tensorflow-gpu==1.8
from calamari.
Related Issues (20)
- PAGE XML: explicit namespace prefixes are missing when writing new elements HOT 3
- calamari-predict: Glyph Coordinates are "strange"
- Argument "val.preload" documented but not known HOT 1
- Cannot convert a symbolic Tensor - Cannot even initialize the Predictor object HOT 2
- Characters coordinates HOT 1
- training: Cannot convert a symbolic Tensor to a numpy array HOT 7
- HDF5 dataset format: how to convert HOT 4
- calamari-train: warmstart not working without also giving network spec
- featreq: when warmstart-training, init weights of new chars from existing ones HOT 2
- calamari-eval: skip missing pairs HOT 3
- calamari-eval: unknown arguments HOT 6
- calamari-eval: confusion table miscalculates relative frequency HOT 3
- Error when convert old trained model to latest version model HOT 1
- Got exception during training HOT 4
- calamari-ocr 2.2.2 on ubuntu 22.04 partial success, difficulty with GPU software
- Prediction from calamari trained .pb model HOT 5
- Issue while using the model and json HOT 8
- setup.py on Ubuntu20.04: tensorflow is wrong version HOT 7
- Model very sensitive on PNG input HOT 3
- calamari/1.0: hold Tensorflow and Protobuf dependencies HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calamari.