Skip to content

ResNet-50 CNN model and REST API for the MIML dataset built with FastAI and Flask

License

Notifications You must be signed in to change notification settings

phenomax/resnet50-miml-rest

Repository files navigation

A CNN model for the MIML dataset built with FastAI, ResNet-50 and Flask

In this repository you'll find:

Using the Jupyter-Notebook file

You need to have fastai>=1.0.0 installed.

Setup the REST-API

Please note, that i put my weights.pkl file in the rest-api folder. If you modified the model, you have to export your weights and replace the file.

Install requirements

pip install -r requirements.txt

Start server

FLASK_APP=rest-api/server.py flask run

Make a demo request

python request.py --file example.jpg
# Returns: {'result': 'desert'}

About

ResNet-50 CNN model and REST API for the MIML dataset built with FastAI and Flask

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published