Challenge submission template with scripts required to evaluate methods for FungiCLEF2023 and SnakeCLEF2023 challenges.
Instruction to add a custom method:
- Update
predict.py
script with the custom classification model. - Set python dependencies in
requirements.txt
file. - Add fine-tuned checkpoint to the directory and replace "DF20-ViT_base_patch16_224-100E.pth" in
Dockerfile
. - Run
docker compose up --build
to evaluate the model.
Key files:
predict.py
- Prediction script that loads the fine-tuned model, runs inference, and createsuser_submission.csv
file.requirements.txt
- File with python dependencies.Dockerfile
- Dockerfile with instructions to install packages fromrequirements.txt
and a command to runstart.sh
.docker-compose.yml
- Docker compose configuration to build docker image and run container. Contains instruction to mount volume with image data.start.sh
- Bash script that runspredict.py
andevaluate.py
.evaluate.py
- Evaluation script that computes competition metrics.