This application allows users to upload images of wild animals and have my image classifier guess what animal the user's image contains
- To use this application, it is recommended to clone this repository to your local machine. Dowloading the repository as a zip file also works, make sure you extract the files to your prefered directory.
- Once the code is on your system, open the terminal application (Command Prompt for Windows users) and go into the web application's directory using the command below
cd 'path to web app'- This application requires Django and PyTorch to be installed on your system. It is recommended that you use a package distribution service like Anaconda to install these packages. Follow the tutorial on the site to set up an anaconda virtual environment.
- If not installed, use these commands to install Django and PyTorch:
conda install -c conda-forge djangoandconda install -c pytorch pytorch - Now run the web server using this command:
python manage.py runserver - After a few checks, a link should appear. Clicking the link will launch the application on your system's default web browser.
To use the app, simply click on the Choose File button and select an image to upload. Once selected, clicked on the Upload button to get a prediction. This can done any number of times, so feel free to have fun categorizing animals!