Skip to content

dekkaiinu/PenID_HSpix

Repository files navigation

Hyperspectral Image Dataset for Individual Penguin Identification

arXiv PDF Project Page HuggingFace

This repository is an official implementation of the paper "Hyperspectral Image Dataset for Individual Penguin Identification" accepted to IGARSS2024.

Installation

This project uses Poetry for dependency management. Install dependencies using Poetry:

poetry install

This will create a virtual environment and install all the necessary packages as specified in the pyproject.toml file, including specific versions of torch and torchvision for CUDA 11.1 support. Ensure that your torch environment is compatible with your CUDA version. You may need to adjust the torch and torchvision versions in the pyproject.toml file to match your CUDA installation.

Usage

To run the experiments, execute:

  1. To train the model, run the following command from the project root:
cd pix_classification
poetry run python train.py

This will start the training process as configured in your config.yaml file under the cfg directory. The weights and training logs will be saved in runs/<date>/weight.pt, where <date> is the timestamp of the training session.

  1. To test the model, execute:
cd pix_classification
poetry run python test.py --model_path <model_path>

Ensure that the model weights (weight.pt) and configuration used for testing match those used during training. Specify the path to the weights as needed in the testing script.

Dataset

This project utilizes datasets uploaded on Hugging Face. The primary dataset used can be found here.

Additionally, this hyperspectral pixel dataset was extracted from the hyperspectral image dataset.

Citation

@misc{noboru2024hyperspectral,
      title={Hyperspectral Image Dataset for Individual Penguin Identification}, 
      author={Youta Noboru and Yuko Ozasa and Masayuki Tanaka},
      year={2024},
      eprint={2405.14146},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

License

This project is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives (CC BY-NC-ND) 4.0 International License.

Choose this license if you want to permit others to share (mirror) your mod content, providing that they credit you and don't use your work for commercial purposes.

You can view additional details on this page, which you should link to in your readme.

Contact

For any questions or issues, please open an issue on this repository or contact the authors directly at 24amj29@ms.dendai.ac.jp.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages