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.
 
 
 
 
 
 

577 B

serverImgPredictor

Need the file dataset.data

install Flask

http://flask.pocoo.org/docs/0.12/quickstart/#a-minimal-application (sudo) pip install Flask

pip install flask_restful pip install flask-jsonpify

install scikit-neuralnetwork

https://scikit-neuralnetwork.readthedocs.io/en/latest/guide_installation.html pip install scikit-neuralnetwork

also need to upgrade the Lasagne library: (sudo) pip install --upgrade https://github.com/Lasagne/Lasagne/archive/master.zip

Run

python train.py

will generate nn.pkl

copy nn.pkl to the serverPredictor directory