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