Repository navigation
SpeciesNet 4.0.1a → 4.0.2a - #538
Merged
Merged
Conversation
Captures the upstream diff (weights identical, taxonomy/geofence refreshed), tarball layout, packaging script outline, code-change sites, verification plan, and release-note callouts.
Pulls the public Kaggle archive, bundles MegaDetector v5.0 (with SHA verification), rewrites info.json's detector field to point at the bundled file, and tar-gzips into dist/<version>.tar.gz. Stdlib-only, idempotent across reruns, and works for future SpeciesNet bumps.
Drop two empty-f-string F541 violations, apply ruff format, and add a "Packaging Model Tarballs" section to docs/http-servers.md walking through how the script produces the HF artifact.
Eleven tasks covering the labels extraction script, snapshot/dict regeneration, model-zoo bump, Python test-fixture bumps, doc updates, CHANGELOG entry, and a verification + final-review checklist.
✅ Deploy Preview for lucent-yeot-0cb408 canceled.
|
- database-schema.md, data-formats.md: bump example model_version - python-environments/common/README.md: bump --model example - http-servers.md: fix stale pythonEnvironment 0.1.3 → 0.1.4 in SpeciesNet example - extract-speciesnet-labels.py: update docstring usage example to 4.0.2a - bbox.js: refresh example version strings (4.0.2a, 4.0.1a) - CHANGELOG: add note advising users to finish in-progress imports before upgrade
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/shared/mlmodels.js)commonNames/sources/speciesnet.jsonfrom the newlabels.20251208.txtvia a newscripts/extract-speciesnet-labels.pycommonNames/dictionary.jsondownload_model.pyfilename + MakefileSPECIESNET_MODEL_PATHscripts/build-speciesnet-tarball.py(produces the HF artifact from Kaggle's public download endpoint + bundled MegaDetector)Same classifier weights as 4.0.1a (SHA256 confirmed identical) — upstream only refreshed geofence rules and taxonomy (e.g.
cetartiodactyla→artiodactyla,coati family→procyonidae family,emys marmorata→actinemys marmorata). Existing 4.0.1a observations keep their historical stamps and continue to display correctly.Tarball already on HF:
huggingface.co/earthtoolsmaker/speciesnet/resolve/main/4.0.2a.tar.gz(SHA256
4d2841760f018fe82a18211894cb99cae77983fa914db656b98b19cb35da5040, 468 MB)Spec:
docs/specs/2026-05-15-speciesnet-4.0.2a-update-design.mdPlan:
docs/plans/2026-05-15-speciesnet-4.0.2a-update-plan.mdTest plan
npm test— 1339 passingcd python-environments/common && make lint && make format-check— clean~/.config/biowatch/biowatch-data/model-zoo/speciesnet/4.0.2a/with correct file setmulti_folders, FRA geofence) — DB showsmodel_runs.modelVersion='4.0.2a', 252 observations taggedclassifiedBy='speciesnet 4.0.2a', 244 jobs withtopic='speciesnet:4.0.2a', common names resolve (european rabbit, red fox, etc.)