GithubHelp home page GithubHelp logo

sarthak268 / animal-detection Goto Github PK

View Code? Open in Web Editor NEW
18.0 3.0 4.0 5.89 MB

Detection of Animals in camera trapped images using RetinaNet in pytorch.

License: MIT License

Python 89.38% Shell 0.58% Cuda 3.59% C 6.26% C++ 0.18%
animal-detection object-detection pytorch pytorch-implmention retinanet wildlife-tracker deeplearning deep-learning

animal-detection's Introduction

Animal-Detection

Link for saved weights

  • Commands for evaluating the model on heldout test set.
mkdir Test_Images

All the images will be placed in this folder

mkdir Test_Images_Final 

This folder will contain all the images after data cleaning and converting the annotations.json to annotations_test.csv.

Keep the annotations.json file in the same directory as the clean_data.py.

  • For testing, first clean the test data:
python clean_data.py
  • Command for testing Baseline Model:
python test_baseline.py --test_anno_file annotations_test.csv --type baseline
  • Command for testing the Baseline Model with Ensemble Approach:
python test_baseline.py --test_anno_file annotations_test.csv --type baseline_ensemble
  • Command for testing the Baseline Model with Weighted Random Sampling:
python test_improved.py --test_anno_file annotations_test.csv --type improved
  • Command for testing the Baseline Model with Weighted Random Sampling and Ensemble Approach:
python test_improved.py --test_anno_file annotations_test.csv --type improved_ensemble
  • Command for visualising the Baseline Model:
python visualize.py --dataset csv --csv_classes classname2id.csv --csv_val annotations_test.csv --model <saved_model_pth>
  • Command for visualising results with Weighted Random Sampling:
python visualize.py --dataset csv --csv_classes classname2id.csv --csv_val annotations_test.csv --model <saved_model_pth>
  • Command for visualising results with Ensemble Approach:
python visualize.py --dataset csv --csv_classes classname2id.csv --csv_val annotatoins_test.csv --model <saved_model_pth>

Team

  • Anish Madan
  • Sarthak Bhagat
  • Shagun Uppal

animal-detection's People

Contributors

anishmadan23 avatar sarthak268 avatar shagunuppal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

animal-detection's Issues

how to use it?

i am sorry iam confused ? how to run the code. can you add colab code?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.