Giter VIP home page Giter VIP logo

pj_predict_img's People

Contributors

xuwenxue000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pj_predict_img's Issues

运行之后得不到任何结果

你好!
我按照你写的文档,把项目依赖的环境安装好了,并先后在ubuntu 1604和window 10下面运行了,但是传入你给的示例图片之后,2个接口都得不到任何结果(返回空的json串,或者票面文字都没有检测到)。请问能给我提供一下判断问题出在哪里的思路吗?
如图:
url接口返回空json串

web接口返回数据缺少票面文字信息

main启动报错can only concatenate list (not "type") to list

2019-09-05 19:56:33.128456: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
Traceback (most recent call last):
File "E:/AI/PJ_PREDICT_IMG/api_invoice/main.py", line 16, in
import api_invoice.service.img as img
File "E:\AI\PJ_PREDICT_IMG\api_invoice\service\img.py", line 25, in
import api_invoice.dao.invoice_dao as invoice_dao
File "E:\AI\PJ_PREDICT_IMG\api_invoice\dao\invoice_dao.py", line 2, in
import api_invoice.config.db as db_config
File "E:\AI\PJ_PREDICT_IMG\api_invoice\config\db.py", line 3, in
import torndb
File "C:\Users\yuanxiuhan\AppData\Local\Programs\Python\Python37\lib\site-packages\torndb.py", line 260, in
CONVERSIONS[field_type] = [(FLAG.BINARY, str)] + CONVERSIONS[field_type]
TypeError: can only concatenate list (not "type") to list

load_weights` requires h5py. [Errno 10061] Unknown error

image
area param: 281445 653100 [11, 3]
area param: 123396 653100 [11, 3]
load_weights requires h5py.
[Errno 10061] Unknown error
load_weights requires h5py.
[Errno 10061] Unknown error
[Errno 10061] Unknown error
{'info': {}, 'log': {}, 'debug': {'im0': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=2048x1434 at 0x29F49E664A8>, 'im1': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=2048x1434 at 0x29F49E66828>}, 'file_path_src': 'D:\code\11_25\PJ_PREDICT_IMG-master/data/invoice/upload/2dbe3874-e3da-11e7-b185-28565a411a7c.jpg', 'time': 6}

不知道什么情况,麻烦gg 指导下

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.