OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Humpback Whale Identification 1st Place Code

A public Python and PyTorch repository for a Kaggle competition image-classification solution that prepares humpback whale photos, trains a staged SENet154 model and documents a checkpoint-based test step.

Independent OpenViST project profile, based on linked sources.

Humpback Whale Identification 1st Place Code — Reviewing a concrete image-identification training recipe built around SENet154
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you need a code-level reference for preparing the Kaggle humpback whale data and configuring the repository's staged training and checkpoint-based test workflow.

Who it is for

  • Developers examining a competition-oriented wildlife image-identification pipeline.
  • Practitioners who want to study or adapt a staged PyTorch training workflow for labeled image classes.

Documented uses

  • Arrange whale competition images and supporting files in the expected input directories.
  • Configure three consecutive SENet154 training stages using the preceding stage's best checkpoint.
  • Set the test script to reference the best checkpoint from the final training stage.
Before you choose

Requirements & limits

The repository is public on GitHub.

  • The stated environment uses Python 3.6, PyTorch 0.4.1 and torchvision 0.2.1.
  • The data instructions include competition images, a mask archive and an ensemble CSV file.
  • The README describes setup and parameter configuration but does not document a complete test execution procedure.
  • Adapting the workflow to another labeled wildlife dataset would require changes to data loading, class definitions and evaluation; this adaptation is marked Likely compatible, not demonstrated.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Prepare data and configure staged SENet154 training

Set up the documented whale competition inputs and configure the three training stages.

Before you start

  • Python 3.6, PyTorch 0.4.1 and torchvision 0.2.1.
  • The competition training and test datasets, mask archive, and model_50A_slim_ensemble.csv file.
  • The repository's train.py file.

Steps

  1. Place the training set in ./input/train and the test set in ./input/test.

  2. Unzip mask.zip from the input directory and place model_50A_slim_ensemble.csv in ./input.

  3. At line 301 of train.py, configure stage one with freeze=False, model_name='senet154', min_num_class=10, checkPoint_start=0 and lr=3e-4; the README says to continue until train map5 is at least 0.98.

  4. Configure stage two as frozen SENet154 training from stage one's best checkpoint at lr=3e-4, then stage three from stage two's best checkpoint at lr=3e-5.

Expected outcome

The documented input layout and settings for the three-stage training workflow are prepared.

Guide limitations

  • This guide covers input preparation and configuration, not execution or a verified training result.
  • The instructions are specific to the competition data and refer to line numbers in the repository scripts.
Source-based practical guide

Point the test script to the final training checkpoint

Configure the documented test step to use the best checkpoint from training stage three.

Before you start

  • A best checkpoint from the third training stage.
  • The repository's test.py file.

Steps

  1. Open test.py and locate line 99.

  2. Set checkPoint_start to the best checkpoint from stage three.

Expected outcome

The test script is configured to reference the final stage's selected checkpoint.

Guide limitations

  • The README does not provide a complete test execution procedure or report a test result.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
8 November 2026
Original website title
earhian/Humpback-Whale-Identification-1st- · Official homepage title · retained in its source language