Install the relevant pip packages
pip install -r requirements.txt
Please download the weights for each mask2former model.
Please update the pathes in configs/inference_all.yaml (dataset_root, pathes for model checkpoints, output_folder)-
Run the following to generate the predictions.
python mask2former_at_phenobench/inference_all.py