question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

training done with the version 2.1.1 not working now despite I don't change any thing

See original GitHub issue

@ChWick Hello! I used Calamari ocr 2.1.1 version 3 months ago and it works well but now when I try to use the same version I created first a virtual environment for installation I used this command “!pip install calamari-ocr==2.1.1” then I installed tensorflow !pip install tensorflow==2.4.0 it returns me this error :

2021-08-30 05:12:57.490066: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
2021-08-30 05:12:59.615844: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-08-30 05:12:59.617007: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcuda.so.1
2021-08-30 05:12:59.634450: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:941] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-08-30 05:12:59.635316: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties: 
pciBusID: 0000:00:04.0 name: Tesla P100-PCIE-16GB computeCapability: 6.0
coreClock: 1.3285GHz coreCount: 56 deviceMemorySize: 15.90GiB deviceMemoryBandwidth: 681.88GiB/s
2021-08-30 05:12:59.635397: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
2021-08-30 05:12:59.638811: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcublas.so.11
2021-08-30 05:12:59.638923: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcublasLt.so.11
2021-08-30 05:12:59.640346: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcufft.so.10
2021-08-30 05:12:59.640746: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcurand.so.10
2021-08-30 05:12:59.644211: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusolver.so.10
2021-08-30 05:12:59.645036: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusparse.so.11
2021-08-30 05:12:59.645296: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudnn.so.8
2021-08-30 05:12:59.645463: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:941] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-08-30 05:12:59.646330: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:941] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-08-30 05:12:59.647058: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1862] Adding visible gpu devices: 0
/opt/conda/lib/python3.7/site-packages/paiargparse/dataclass_json_overrides.py:73: RuntimeWarning: `NoneType` object value of non-optional type bidi_direction detected when decoding BidiTextProcessorParams.
  warnings.warn(f"`NoneType` object {warning}.", RuntimeWarning)
/opt/conda/lib/python3.7/site-packages/paiargparse/dataclass_json_overrides.py:73: RuntimeWarning: `NoneType` object value of non-optional type tfaip_commit_hash detected when decoding CalamariScenarioParams.
  warnings.warn(f"`NoneType` object {warning}.", RuntimeWarning)

How can I resolve this problem? Thanks in advance!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ChWickcommented, Aug 30, 2021

I dont see an error in the output: the two RunimeWarnings can be ignored.

(P.S. use three backticks to format code blocks, I updated your question)

0reactions
ChWickcommented, Sep 6, 2021

Great!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Keras freezing on last batch of first epoch (can't move ... - GitHub
I'm using Keras 2.1.1 and Tensorflow 1.4, Python 3.6, Windows 7. I'm attempting transfer learning using the Inception model.
Read more >
Top 10 Problems for Students - Help Desk: Blackboard Class ...
Courses that the instructor set as Unavailable do not show up for students the same way you see them as the instructor. It...
Read more >
Web Content Accessibility Guidelines (WCAG) 2.1 - W3C
Web Content Accessibility Guidelines (WCAG) 2.1 covers a wide range of recommendations for making Web content more accessible.
Read more >
Electrical Safety and Licensing Frequently Asked Questions
FAQs about electrician licensing, including who must be licensed, how to file a complaint, municipal licenses, reciprocity, continuing education, and more.
Read more >
dafi36-2406.pdf - Air Force
This memorandum establishes this instruction as a Department of the Air Force instruction (DAFI); implements officer evaluation static close out ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found