KumarLabJax / JABS-behavior-classifier

Behavior Classifier Component from the Jax Animal Behavior System
Other
12 stars 2 forks source link

classify.py feature export, create outdir #33

Closed dahhei closed 2 months ago

dahhei commented 1 year ago

When running classify.py with feature export in branch, have it create a folder if outdir folder does not already exist classify-save-features

SkepticRaven commented 5 months ago

Since this branch was created, I've changed the internal structure of how feature data is passed around. Most notably, the exported training data contains keyed vectors for all features.

Before this branch, classify.py already had exporting of features (through the --feature-dir argument). Specific to this issue, that argument creates folders when needed. However, the current feature format is difficult to work with. I just added a new branch https://github.com/KumarLabJax/JABS-behavior-classifier/tree/adjust-feature-cache which makes cached features follow the exported training data format (a lot more legible).

If this updated legible format works, we may want to close that branch and this issue.

SkepticRaven commented 4 months ago

The branch above was integrated into some larger effort in a newer branch: https://github.com/KumarLabJax/JABS-behavior-classifier/tree/update-prediction-format

Once the now linked update-prediction-format branch is merged, we should close https://github.com/KumarLabJax/JABS-behavior-classifier/tree/classify-save-features in favor of that, since that branch is around 150 commits behind other changes.