|
Download README.md from FathomNet/FathomNet-2025-5thplace-Model: direct link, hf CLI and curl.
- Browser
- Download file 1.66 kB
-
https://huggingface.co/FathomNet/FathomNet-2025-5thplace-Model/resolve/refs%2Fpr%2F1/README.md
- Command line
-
hf download hf://FathomNet/FathomNet-2025-5thplace-Model@refs/pr/1/README.md
-
curl -L -o README.md https://huggingface.co/FathomNet/FathomNet-2025-5thplace-Model/resolve/refs%2Fpr%2F1/README.md
1.66 kB
| license: cc | |
| tags: | |
| - fathomnet | |
| - marine-biology | |
| - ocean | |
| - underwater-imagery | |
| - fathomnet-2025 | |
| - kaggle | |
| - fgvc | |
| Model that acheived 5th place overall on FathomNet 2025 kaggle competition (competition link: https://www.kaggle.com/competitions/fathomnet-2025/overview) | |
| Associated code: https://github.com/robertahunt/FathomNet2025 | |
| Things I think worked well: | |
| 1. Choosing the class which minimized the expected loss based on the distance matrix (and not the class with the highest probability) and implementing this as a matrix multiplication with the distance matrix. | |
| 2. Implementing a small Graph Neural Network layer - the idea here was to help in cases where there are many specimens of the same species in a single overall image, and one is easy to classify, but the other instances may be blurry. Then adding a graph layer could help guide the model to the correct classification. | |
| 3. Using EfficientNet as a simple and fast base network, made experimenting fairly fast and simple. | |
| Things I wish I had done differently: | |
| 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. | |
| 2. Making the saving and logging process cleaner overall so it would be easier to compare results | |
| ## Download | |
| ```python | |
| from huggingface_hub import hf_hub_download | |
| import json | |
| repo = "FathomNet/FathomNet-2025-5thplace-Model" | |
| cfg = json.load(open(hf_hub_download(repo, "config.json"))) | |
| ckpt = hf_hub_download(repo, cfg["checkpoints"][0]) | |
| ``` | |