Skip to content

cv-research-work/Asian-Elephant-Facial-Recognition-InitialWork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asian Elephant Identification Project

Repository currently contains:

  • Baseline models -
    • Binary classification - model to classify whether image contains or doesnt contain an elephant;
    • Classification models - using pretrained resnet and desnet models that are pretrained on imagenet
  • Siamese models - using contrastive loss and triplet loss
  • MetaFGNet model - code adopted from - https://github.com/YBZh/MetaFGNet/tree/master/MetaFGNet_with_Sample_Selection

Experiments:

  1. Pretrained Resent and Densenet using weighted cross entropy
  2. Pretrained Resent and Densenet using imbalanced data sampler
  3. Pretrained Resent and Densenet using top 5 classes of the elephant images
  4. Binary classification model.
  5. Siamese Network - Contrastive and Triplet Loss
  6. MetaFGNet model - trained on resnet34 and densenet models.

Example to run an experiment - (baseline for resnet):

python3 train.py --batch_size=256 --epochs=2000 --data_path='data/dataset/top5' --output_path='output/output_resnet_sampler_top5_lr_0.0001' --model_path='models/model_resnet_lr_0.0001_sampler_top5' --model_name='resnet' --use_sampler=True --use_top5=True

Example images:

Images

References

About

Asian elephant facial recognition - initial work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published