Skip to content

Add UKCEH/Turing models#72

Open
KatrionaGoldmann wants to merge 7 commits intoRolnickLab:mainfrom
AMI-system:main
Open

Add UKCEH/Turing models#72
KatrionaGoldmann wants to merge 7 commits intoRolnickLab:mainfrom
AMI-system:main

Conversation

@KatrionaGoldmann
Copy link
Contributor

I've added the models for:

  • singapore (v02)
  • thailand (v01)
  • madagascar (v02)
  • kenya-uganda (v01)
  • japan (v01)

@mihow
Copy link
Collaborator

mihow commented Dec 15, 2025

@mihow remaining todos:

  • Add a command line flag to allow choosing which models are available per instance, so we can run these models just on one server and leave the others more free for the global model & others
  • Merge in main
  • Address tests that are failing

class TuringJapanSpeciesClassifier(SpeciesClassifier, Resnet50Classifier_Turing):
name = "Turing Japan Species Classifier"
description = "Trained on 19th November 2024 by Turing team using Resnet50 model."
weights_path = "https://object-arbutus.cloud.computecanada.ca/ami-models/moths/classification//turing-japan_v01_resnet50_2024-11-22-17-22_state.pt"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These weight files don't actually exist in this location (yet).

mihow added a commit that referenced this pull request Feb 17, 2026
Resolves merge conflicts and adds 5 new Turing regional species
classifiers: Japan, Kenya-Uganda, Madagascar, Singapore, Thailand.

Also fixes duplicate TuringKenyaUgandaSpeciesClassifier class and
double slashes in object store URLs from the upstream branch.

NOTE: Only kenya-uganda model weights and labels exist in the object
store. The following 4 models have 404 URLs and are NOT yet usable:
- turing-thailand_v01_resnet50_2024-11-21-16-28_state.pt
- turing-madagascar_v01_resnet50_2024-07-01-13-01_state.pt
- turing-japan_v01_resnet50_2024-11-22-17-22_state.pt
- turing-singapore_v02_resnet50_2024-11-21-19-58_state.pt
Corresponding category_map JSON files are also missing.
Contact kgoldmann@turing.ac.uk to upload the weights.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mihow
Copy link
Collaborator

mihow commented Feb 17, 2026

This PR has been superseded by #112, which:

  • Resolves the merge conflicts from this branch
  • Uploads the missing model weights and category maps to the Arbutus object store (Japan, Madagascar, Singapore, Thailand + Anguilla v02 with 160 classes)
  • Fixes duplicate class definitions and double slashes in object store URLs
  • Adds Anguilla v02 (160 classes, Nov 2024) as a new pipeline alongside v01

All model weight URLs now return HTTP 200 except 02_singapore_data_category_map.json which was not in the original archive.

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

Comments