You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
577 B

  1. # serverImgPredictor
  2. Need the file dataset.data
  3. ### install Flask
  4. http://flask.pocoo.org/docs/0.12/quickstart/#a-minimal-application
  5. (sudo) pip install Flask
  6. pip install flask_restful
  7. pip install flask-jsonpify
  8. ### install scikit-neuralnetwork
  9. https://scikit-neuralnetwork.readthedocs.io/en/latest/guide_installation.html
  10. pip install scikit-neuralnetwork
  11. also need to upgrade the Lasagne library:
  12. (sudo) pip install --upgrade https://github.com/Lasagne/Lasagne/archive/master.zip
  13. ## Run
  14. python train.py
  15. will generate nn.pkl
  16. copy nn.pkl to the serverPredictor directory