agentmorris / MegaDetector

MegaDetector is an AI model that helps conservation folks spend less time doing boring things with camera trap images.
MIT License
118 stars 26 forks source link

Release v4.1 #42

Closed agentmorris closed 1 year ago

agentmorris commented 1 year ago

Hey! Im trying to use the current release (v4.1)

When running the data_management/databases/classification/make_classificiation_dataset.py it tries to locate a create_tfrecords_v3 which is seems by the comments to be a script to create tfrecords when using python 3 or higher.

However, this create_tfrecords_v3 does not seem to exist.

I am using the environment-detector.yml conda setup.


Issue cloned from Microsoft/CameraTraps, original issue posted by percybolmer on Feb 20, 2021.

agentmorris commented 1 year ago

Thanks for your interest, and sorry you're having trouble running the classification pipeline.

I'm having trouble finding any references to create_tfrecords_v3; do you have a line number or stack trace? Confirm you're using the current version of the repo?

Also a caveat that this script is a bit of an island; our current classification pipeline:

https://github.com/microsoft/CameraTraps/tree/master/classification

...is based on PyTorch, and this script (make_classification_dataset.py) reflects an experimental TF fork. Are you using that script alongside other tools in our repo, or did you just come across it as a handy way of creating TF-friendly datasets, separate from anything related to camera traps?


(Comment originally posted by agentmorris)

agentmorris commented 1 year ago

Closing this issue for lack of activity.


(Comment originally posted by agentmorris)