The sample solution is based on FANet (Hu, et al. "Real-time semantic segmentation with fast attention", IEEE RA-L, 2021).
- Linux
- Python 3.7
- Pytorch 1.8
- NVIDIA GPU + CUDA 10.2
pip install -r requirements.txtDownload and save the training/validation data G-Drive (Please send an access request with your team's registriation information.)
Modify *.yml files in ./config
data:path: path to datasettraining:batch_size: batch_sizetraining:train_augmentations:rcrop: input size for training
Run
python train.py --config configs/*.ymlTaining log for the sample solution is provided in sample_solution/runs/FA_Res18/86059/run_2023_01_18_17_48_22.log
Modify model path validating:resume in ./config/*.yml
Run
python val.py --config configs/*.yml