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

#1
Files changed (2) hide show
  1. README.md +20 -1
  2. config.json +19 -0
README.md CHANGED
@@ -1,5 +1,13 @@
1
  ---
2
  license: cc
 
 
 
 
 
 
 
 
3
  ---
4
 
5
  Model that acheived 5th place overall on FathomNet 2025 kaggle competition (competition link: https://www.kaggle.com/competitions/fathomnet-2025/overview)
@@ -15,4 +23,15 @@ Things I think worked well:
15
  Things I wish I had done differently:
16
 
17
  1. Setting the seed earlier: I initially used a random seed each time, which made measuring progress and reproducing results difficult. It wasn't until near the end I changed this. This is why the results using this seed also sadly do not match perfectly with the public results.
18
- 2. Making the saving and logging process cleaner overall so it would be easier to compare results
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc
3
+ tags:
4
+ - fathomnet
5
+ - marine-biology
6
+ - ocean
7
+ - underwater-imagery
8
+ - fathomnet-2025
9
+ - kaggle
10
+ - fgvc
11
  ---
12
 
13
  Model that acheived 5th place overall on FathomNet 2025 kaggle competition (competition link: https://www.kaggle.com/competitions/fathomnet-2025/overview)
 
23
  Things I wish I had done differently:
24
 
25
  1. Setting the seed earlier: I initially used a random seed each time, which made measuring progress and reproducing results difficult. It wasn't until near the end I changed this. This is why the results using this seed also sadly do not match perfectly with the public results.
26
+ 2. Making the saving and logging process cleaner overall so it would be easier to compare results
27
+
28
+ ## Download
29
+
30
+ ```python
31
+ from huggingface_hub import hf_hub_download
32
+ import json
33
+
34
+ repo = "FathomNet/FathomNet-2025-5thplace-Model"
35
+ cfg = json.load(open(hf_hub_download(repo, "config.json")))
36
+ ckpt = hf_hub_download(repo, cfg["checkpoints"][0])
37
+ ```
config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task": "image-classification",
3
+ "num_classes": 79,
4
+ "architecture": "EfficientNet backbone + graph neural network layer; prediction minimizes expected taxonomic distance",
5
+ "framework": "pytorch-lightning",
6
+ "checkpoint_format": "ckpt",
7
+ "checkpoints": [
8
+ "epoch=95-step=67392.ckpt"
9
+ ],
10
+ "code": "https://github.com/robertahunt/FathomNet2025",
11
+ "competition": {
12
+ "name": "FathomNet 2025 (Kaggle, FGVC @ CVPR 2025)",
13
+ "url": "https://www.kaggle.com/competitions/fathomnet-2025",
14
+ "task": "hierarchical classification of marine taxa",
15
+ "metric": "hierarchical distance (lower is better)",
16
+ "placement": 5
17
+ },
18
+ "license": "cc"
19
+ }