laurachrobak commited on
Commit
6d8424d
·
verified ·
1 Parent(s): 3f1dff1

Add config.json and download snippet (enables download counting)

Browse files
Files changed (2) hide show
  1. README.md +20 -1
  2. config.json +47 -0
README.md CHANGED
@@ -5,6 +5,14 @@ language:
5
  base_model:
6
  - timm/wide_resnet101_2.tv_in1k
7
  pipeline_tag: image-classification
 
 
 
 
 
 
 
 
8
  ---
9
  # Introduction
10
 
@@ -46,4 +54,15 @@ The models in question may be loaded and examined through PyTorch, and were impl
46
  The recommended resize setting is 112 px, as this was what we used to train these models.
47
  The normalization values are recommended to be the standard ImageNet settings, as these models employ Torchvision's pre-training on ImageNet.
48
 
49
- Additional information and code will be released in the near future along with updates to this model card.
 
 
 
 
 
 
 
 
 
 
 
 
5
  base_model:
6
  - timm/wide_resnet101_2.tv_in1k
7
  pipeline_tag: image-classification
8
+ tags:
9
+ - fathomnet
10
+ - marine-biology
11
+ - ocean
12
+ - underwater-imagery
13
+ - fathomnet-2025
14
+ - kaggle
15
+ - fgvc
16
  ---
17
  # Introduction
18
 
 
54
  The recommended resize setting is 112 px, as this was what we used to train these models.
55
  The normalization values are recommended to be the standard ImageNet settings, as these models employ Torchvision's pre-training on ImageNet.
56
 
57
+ Additional information and code will be released in the near future along with updates to this model card.
58
+
59
+ ## Download
60
+
61
+ ```python
62
+ from huggingface_hub import hf_hub_download
63
+ import json
64
+
65
+ repo = "FathomNet/Dal-FathomNet-ST-Ensemble_itr-21"
66
+ cfg = json.load(open(hf_hub_download(repo, "config.json")))
67
+ ckpts = [hf_hub_download(repo, p) for p in cfg["checkpoints"]]
68
+ ```
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "image-classification",
3
+ "num_classes": 79,
4
+ "architecture": "wide_resnet101_2, 100 classification heads per model",
5
+ "base_model": "timm/wide_resnet101_2.tv_in1k",
6
+ "framework": "pytorch",
7
+ "checkpoint_format": "ckpt",
8
+ "input_size": 112,
9
+ "normalization": {
10
+ "mean": [
11
+ 0.485,
12
+ 0.456,
13
+ 0.406
14
+ ],
15
+ "std": [
16
+ 0.229,
17
+ 0.224,
18
+ 0.225
19
+ ]
20
+ },
21
+ "ensemble": {
22
+ "type": "8 seeds",
23
+ "combination": "mode of predictions, ties broken by mean confidence"
24
+ },
25
+ "training": "hierarchical-distance-weighted cross-entropy + iterative self-training (iteration 21)",
26
+ "checkpoints": [
27
+ "itr-21/wide_resnet101_2_pre-None_cls-one_hot_ncce1_seed-28_e-30_lr-0.0001_n-heads-100/model.ckpt",
28
+ "itr-21/wide_resnet101_2_pre-None_cls-one_hot_ncce1_seed-42_e-30_lr-0.0001_n-heads-100/model.ckpt",
29
+ "itr-21/wide_resnet101_2_pre-None_cls-one_hot_ncce1_seed-67_e-30_lr-0.0001_n-heads-100/model.ckpt",
30
+ "itr-21/wide_resnet101_2_pre-None_cls-one_hot_ncce1_seed-256_e-30_lr-0.0001_n-heads-100/model.ckpt",
31
+ "itr-21/wide_resnet101_2_pre-None_cls-one_hot_ncce1_seed-512_e-30_lr-0.0001_n-heads-100/model.ckpt",
32
+ "itr-21/wide_resnet101_2_pre-None_cls-one_hot_ncce1_seed-1024_e-30_lr-0.0001_n-heads-100/model.ckpt",
33
+ "itr-21/wide_resnet101_2_pre-None_cls-one_hot_ncce1_seed-1729_e-30_lr-0.0001_n-heads-100/model.ckpt",
34
+ "itr-21/wide_resnet101_2_pre-None_cls-one_hot_ncce1_seed-2048_e-30_lr-0.0001_n-heads-100/model.ckpt"
35
+ ],
36
+ "team": "Dalhousie University",
37
+ "competition": {
38
+ "name": "FathomNet 2025 (Kaggle, FGVC @ CVPR 2025)",
39
+ "url": "https://www.kaggle.com/competitions/fathomnet-2025",
40
+ "task": "hierarchical classification of marine taxa",
41
+ "metric": "hierarchical distance (lower is better)",
42
+ "placement": 3,
43
+ "public_score": 2.27,
44
+ "private_score": 1.83
45
+ },
46
+ "license": "gpl-3.0"
47
+ }