Test your knowledge
Now that you have deployed two kinds of fastai models and worked through some of the challenges related to maintaining deployed models, you can try some additional variations on deployment to exercise what you've learned.
Getting ready
Ensure that you have followed the steps in the Setting up fastai on your local system recipe to get fastai installed on your local system. Also, ensure that you have the Flask server started for the image classification model deployment by following Steps 1, 2, and 3 in the Deploying a fastai model trained on an image dataset recipe.
To experiment on the image classification model deployment, make a copy of the deploy_image
directory. To do this, make the directory that contains deploy_image
your current directory and run the following command to make a copy of the directory and its contents called deploy_image_test
:
cp -r deploy_image deploy_image_test
How to do it…
You can follow the steps in this...