Comments (7)
是基于我们提供的docker环境吗?
from paddleocr.
是基于我们提供的docker环境吗?
不是的,我新建了conda虚拟环境 装了paddlepaddle-gpu==1.7.2.post97,再安装paddleocr下的requirments,就报错了
@dyning
from paddleocr.
https://bbs.seafile.com/t/topic/11951
看看是不是需要升级下pip
from paddleocr.
https://bbs.seafile.com/t/topic/11951
看看是不是需要升级下pip
确实更新了pip,requirement可以正常安装了,但是报了新问题
python tools/export_model.py -c configs/det/det_mv3_db.yml -o Global.checkpoints=./ch_lite/det_mv3_db/best_accuracy Global.save_inference_dir=./inference_model/det_db/
Traceback (most recent call last):
File "tools/export_model.py", line 39, in
import program
File "/root/PaddleOCR-develop/tools/program.py", line 23, in
from ppocr.utils.utility import create_module
ModuleNotFoundError: No module named 'ppocr'
@dyning
from paddleocr.
应该是没有设置PYTHONPATH环境变量
export PYTHONPATH=.
然后再运行程序
from paddleocr.
刚试了docker环境,按照流程安装paddlepaddle-gpu==1.7.2.post97的时候,出现了报错:
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
paddlepaddle-gpu==1.7.2.post97 from https://pypi.tuna.tsinghua.edu.cn/packages/1a/8c/cbe157874927f1acc06469ba6103399227630db18bc709aa5d0d775e3c2d/paddlepaddle_gpu-1.7.2.post97-cp35-cp35m-manylinux1_x86_64.whl#sha256=388753d7bf55a719b1d97750895f74ed875b3cff3a69a13002a187115231aba0:
Expected sha256 388753d7bf55a719b1d97750895f74ed875b3cff3a69a13002a187115231aba0
Got 498542c96dabe8d510de6b3d7da16e3763ed2f8464b82c6b8a484bd294e6ebfd
这个怎么解决呢?
@dyning
from paddleocr.
应该是没有设置PYTHONPATH环境变量
export PYTHONPATH=.
然后再运行程序
确实可以了,感谢大佬
from paddleocr.
Related Issues (20)
- rec模型,同部首易错字,是放到一行进行训练好,还是2个一组分开多行进行训练好?例如:奇绮畸崎椅倚 HOT 1
- Related to semantic entity relation HOT 5
- text detection and recognizer for PaddleOCR KIE for RE HOT 2
- NameError: name 'predict_system' is not defined HOT 3
- Can not import paddle core libstdc++.so.6: version `GLIBCXX_3.4.30' not found HOT 2
- AttributeError: module 'paddleocr' has no attribute 'PaddleDetector' HOT 1
- 华为Atlas 300I(3010,昇腾310)部署paddleOCR,使用npu推断报错 HOT 1
- finetune SER model 任務中的 max_seq_len HOT 2
- 训练时,训练几天后最佳准确率显示0.43时,有的时候准确率就会变到0.25,这种只能加载最佳模型,重新启动训练吧 HOT 33
- 长宽比超过20的图像字符检测问题 HOT 2
- predict_system源码bug,在docker build中如何修改 HOT 1
- 关于如何微调PP-OCRV4的检测模型 HOT 3
- 关于fastdeploy文档不齐全问题的反馈 HOT 3
- 很久没有增加新的模型了,能否把MixNet加进来?https://github.com/D641593/MixNet HOT 1
- Batch processing using paddleocr HOT 1
- Det任务中,将训练过程模型推理测试结果为%30左右,训练结束加载模型推理结果全为0,请问是什么原因导致 HOT 3
- png文件出现空指针释放,但是同一张照片转换jpg之后,并未报错 HOT 11
- 怎样debug 单步调试 HOT 4
- 训练时报错 IndexError: list index out of range HOT 11
- 表格标注 HOT 1
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 paddleocr.