This project is designed for training and evaluating hNCA model using specified microscopy datasets and folds. It leverages Conda for environment management.
To set up the required environment, use the provided env_hnca.yml file:
conda env create -f env_hnca.yml
conda activate env_hncaTo train the model, run the following command:
python3 src/train.py --output #your_path# --train_set #your_dataset# --fold #your_fold# --mode trainReplace:
#your_path#with the desired output directory.#your_dataset#with your dataset name.#your_fold#with a fold number (1-5).
To evaluate the trained model, run:
python3 src/train.py --output #your_path# --train_set #your_dataset# --fold #your_fold# --mode evalEnsure that #your_fold# is one of [1, 2, 3, 4, 5].
- Class-wise distribution of 6 datasets provided.
- Trained checkpoints for fold 1 of each dataset are provided in the folder results/.
For any questions or issues, feel free to open an issue or reach out! [email protected]