Skip to content

Using Pytorch with Django To distinguish Cats from Dogs by Fine Tuning pretrained Model.

License

Notifications You must be signed in to change notification settings

NikamRohan/Cats-vs-Dogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cats-vs-Dogs

Using Pytorch with Django To distinguish Cats from Dogs by Fine Tuning pretrained Model.

Installation

  1. First clone(use git lfs clone command, git clone will also work but you will get stats of file downloading with git lfs) the repository in your system.

    git lfs clone https://github.com/NikamRohan/Cats-vs-Dogs.git

  2. Then Change Directory to News-Aggregator.

    cd Cats-vs-Dogs

  3. Then start Virtual Environment within current Directory.

    virtualenv virtual_environment_name

    virtual_environment_name\Scripts\activate

  4. Then install the dependencies from requirements.txt.

    pip install -r requirements.txt

  5. Then Apply Migrations.

    python manage.py makemigrations

    python manage.py migrate

  6. Execute the manage.py file to runserver.

    python manage.py runserver

  7. Then Goto your favourite Browser and Type in localhost:8000.

  8. Now you should be able to navigate through the website and explore its features.

Screenshots Of Website

Home Page To upload Images

Screenshot (179)

Page For Displaying Prediction of Model

Screenshot (180)

Screenshot (181)