error running aocr
See original GitHub issueAfter installing aocr (pip install aocr
) in both my OS and the official tensor docker container(gcr.io/tensorflow/tensorflow) I’m getting this error even when I run aocr --help
:
Traceback (most recent call last):
File "/usr/local/bin/aocr", line 7, in <module>
from aocr.__main__ import main
File "/usr/local/lib/python2.7/dist-packages/aocr/__main__.py", line 15, in <module>
from .model.model import Model
File "/usr/local/lib/python2.7/dist-packages/aocr/model/model.py", line 20, in <module>
from .seq2seq_model import Seq2SeqModel
File "/usr/local/lib/python2.7/dist-packages/aocr/model/seq2seq_model.py", line 27, in <module>
from .seq2seq import model_with_buckets
File "/usr/local/lib/python2.7/dist-packages/aocr/model/seq2seq.py", line 74, in <module>
linear = rnn_cell._linear # pylint: disable=protected-access
AttributeError: 'module' object has no attribute '_linear'
# uname -a
Linux 71e18aa0cfc4 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
show AssertionError when I run "aocr train training.tfrecords" #2
I have this error when i train: 2020-12-05 14:03:20,638 root INFO Step 1: 6.937s, loss: 3.699641, perplexity: 40.432805. Traceback (most recent ...
Read more >Error when serving attention_ocr model ("error": "Expected ...
In case somebody else is trying to figure out how to run inference, here are steps that worked for me. Export the model:...
Read more >add-in error message after installing - Symantec AntiVirus
Run the tool on the computer that is having the problem. You can run the tool silently at a command prompt by adding...
Read more >avoid common aotc errors | Earned Income Tax Credit - IRS
Use the tips below to help avoid common AOTC errors: Claim a credit for a student that did not attend a college, university...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks! Closing the issue.
@emedvedev Done!