FDUJiaG / tf-flask-api

TensorFlow in Flask Frame Demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tf-flask-api

TensorFlow in Flask Frame Demo

Code of Local Running

  1. 切换到 Python3 环境,可以用虚拟环境 virtualenv 或者 conda,总之要确认 python --version 的输出是 Python3 字样

    $ python --version
    Python 3.7.6
    $ pip --version
    pip 20.0.2 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)
  2. 切换回本项目的根目录,安装 pip 依赖

    $ ls
    doc/    main.py    mnist/    README.md    requirements.txt    src/    static/    templates/
    
    $ pip install -r requirements.txt

About

TensorFlow in Flask Frame Demo


Languages

Language:JavaScript 52.8%Language:Python 32.5%Language:HTML 14.7%