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.
 
 
 
 
 
 
arnaucode 26f61c02f5 deploy.sh to run the server in one script 7 years ago
..
.gitignore training neural network ok, needs too much ram. Started implementation of the server 7 years ago
README.md training neural network ok, needs too much ram. Started implementation of the server 7 years ago
dataset.npy training neural network ok, needs too much ram. Started implementation of the server 7 years ago
nn.pkl deploy.sh to run the server in one script 7 years ago
predict.py training neural network ok, needs too much ram. Started implementation of the server 7 years ago
train.py training neural network ok, needs too much ram. Started implementation of the server 7 years ago

README.md

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