microsoft / CameraTraps

PyTorch Wildlife: a Collaborative Deep Learning Framework for Conservation.
https://cameratraps.readthedocs.io/en/latest/
MIT License
784 stars 246 forks source link

Tutorial is out of date #259

Closed forcecore closed 3 years ago

forcecore commented 3 years ago

From the main README.md, in section classification (https://github.com/microsoft/CameraTraps#classification), it states "here's a tutorial on training your own classifier using our detector and our training pipeline." and points to the archived TUTORIAL.md (https://github.com/microsoft/CameraTraps/blob/master/archive/classification_marcel/TUTORIAL.md).

However, the tutorial seems to be far out of sync with the readme in https://github.com/microsoft/CameraTraps/blob/master/classification/README.md.

I am still unsure how to run the training with my dataset with the current master branch.

agentmorris commented 3 years ago

Great question, and sorry for the confusion. I've updated the text on the main page to clarify what I'm about to say here...

We don't have a ready-to-go pipeline for classifier training, as the vast majority of our work is focused on MegaDetector. There are two frameworks for training classifiers in the "classification" folder, both likely-less-than-helpful-for-you for different reasons:

1) The main classification framework (described in the main README) is up to date, but depends on an internal database of labeled images (referred to in the documentation as "MegaDB"). 2) The tutorial you referred to is completely standalone, but uses what are now obsolete dependencies.

If you are looking to train species classifiers, here are a few general paths you might go down, depending on your scenario:

Whichever way you proceed, one thing you may find useful from our repo is the MegaDetector batch API output format, which has a defined schema for classification results. Some OSS camera trap image review tools - for example, Timelapse - know how to read this format; this is how users interact with results of the classifiers we train.

Hope that helps, and thanks for reminder to clarify this outdated information on the main page.

Thanks!

-Dan

forcecore commented 3 years ago

Thank you for your reply.

I'm working on a "hello world" project for other researchers who aren't very familiar with Deep Learning. I guess contributing to this repository is beyond the scope of my tutorial.