Skip to content

Conversation

@kgarwoodsdzwa
Copy link
Member

Only minimum changes needed to be compatible with animl version 3.1.2

  • new conda env for update from python3.8->python3.12
  • updated classifier loading
  • updated detection, classification inputs and outputs
  • updated parsing for classified species

most of the packages were dependent on 3.8 python, and had specific
wheels for that python version. the whole environment creation
needed to be changed in order to be compatible with
python3.12 which is what the newest animl version needs to run.
this might need further updates but currently all the packages
allow the environment to be created without conflicts
new function names in animl and new config values needed to load
detectors
images were not seen as images in animl because strikeforce sends
a duplicate file extension, so now the extensions are modified to
have one. the new detector loader also needs resizes set, and the
defaults from animl are hardcoded now as the resizing
a few changes, loading the model passes a tuple that needs to be
unpacked in fetch_and_alert. detect image had to rework the functions
and what gets passed, theres some differences in type of data in
some of the functions, so some  stuff needs to be converted before
its passed or have columns added to the df. but classification
officially works. just need to test and make sure when it gets
a positiive detection that it will send email properly.
animl-py now requires python3.12 as opposed to the previous
env which needed 3.8, and all packages were very specifically for
3.8, so had to be entirely reworked to be for 3.12.
before bbox was bbox1 etc but now its bbox_x etc
@kgarwoodsdzwa kgarwoodsdzwa changed the title 63 animl update 3.1.1 63 animl update 3.1.2 Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants