maikherbig / AIDeveloper

GUI-based software for training, evaluating and applying deep neural nets for image classification
BSD 2-Clause "Simplified" License
110 stars 20 forks source link

Required tutorial: How to use AI Models in real life #48

Open minimedj opened 3 years ago

minimedj commented 3 years ago

Would be nice to see a tutorial of practical implementation Web REST API for Cats vs Dogs models with Python? Model must be done and trained with AIDeveloper, then it should be used in python code. I want to learn how. So, theory will meat practice. Thank you very much in advance!

maikherbig commented 3 years ago

This is an awesome idea and should be done asap! For immediate help you might want to have a look here: https://github.com/maikherbig/AIDeveloper/tree/master/Tutorial%20Deploy%20to%20OpenCV%20dnn In this tutorial I show how to load a model (trained in AIDeveloper) and use OpenCV to forward new images. For a web REST API, one could use Django or Flask.

minimedj commented 3 years ago

This is an awesome idea and should be done asap! For immediate help you might want to have a look here: https://github.com/maikherbig/AIDeveloper/tree/master/Tutorial%20Deploy%20to%20OpenCV%20dnn In this tutorial I show how to load a model (trained in AIDeveloper) and use OpenCV to forward new images. For a web REST API, one could use Django or Flask.

Thank you very much for your reply and your great software!

If you still choosing between Django and Flask, please consider Flask, because it will be more about model and AI stuff and less about web framework!

I want to use AIDeveloper to teach a models for GUI screenshot recognition. I believe it will be easier that Cats vs Dogs because of pretty standard visual representations of UI elements. As a result I expect to have very small training and validation sets, but should work well! If you can give me any tips on it - please, I am all in!

My plan is the following:

Thank you!