Giter VIP home page Giter VIP logo

Comments (7)

dyning avatar dyning commented on May 22, 2024

是基于我们提供的docker环境吗?

from paddleocr.

vinceyzw avatar vinceyzw commented on May 22, 2024

是基于我们提供的docker环境吗?
不是的,我新建了conda虚拟环境 装了paddlepaddle-gpu==1.7.2.post97,再安装paddleocr下的requirments,就报错了
@dyning

from paddleocr.

dyning avatar dyning commented on May 22, 2024

https://bbs.seafile.com/t/topic/11951
看看是不是需要升级下pip

from paddleocr.

vinceyzw avatar vinceyzw commented on May 22, 2024

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.

dyning avatar dyning commented on May 22, 2024

应该是没有设置PYTHONPATH环境变量
export PYTHONPATH=.
然后再运行程序

from paddleocr.

vinceyzw avatar vinceyzw commented on May 22, 2024

刚试了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.

vinceyzw avatar vinceyzw commented on May 22, 2024

应该是没有设置PYTHONPATH环境变量
export PYTHONPATH=.
然后再运行程序

确实可以了,感谢大佬

from paddleocr.

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.