首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
训练好的验证码识别模型部署到生产环境问题
foxyier
·
2019-03-20 13:51:19 +08:00
· 1841 次点击
这是一个创建于 1881 天前的主题,其中的信息可能已经有所发展或是发生改变。
小白最近训练了一下某网站的验证码,避免不必要的开销, 在通过 flask 接口部署时却出现了问题, 所以想请教一下:
训练生成的 checkpoint 文件形式是否可以直接部署到生产环境, 因为目前接口启动后第二次请求时会报错。
ckpg 转为 pb 文件时会需要指定输出节点, 但是节点有很多, 小白不太清楚具体有哪个节点。
pb 文件使用时指定的节点是否为转换 pb 文件时使用的节点
节点
文件
验证码
部署
2 条回复
•
2019-03-21 14:23:38 +08:00
1
foxyier
OP
2019-03-20 14:13:17 +08:00
emmmm,自顶
2
Nick2VIPUser
2019-03-21 14:23:38 +08:00
https://github.com/nickliqian/cnn_captcha/blob/master/recognize_api.py
供参考
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
5751 人在线
最高记录 6547
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 42ms ·
UTC 07:44
·
PVG 15:44
·
LAX 00:44
·
JFK 03:44
Developed with
CodeLauncher
♥ Do have faith in what you're doing.