A group project of CS7303 (2022-2023 autumn)
The original model are based on SCI
python3.10
pytorch==1.11.0
wandb
-
Download our combined datasets from Baiduyun (code:
0il6
), unzip them and place them under directoryDatasets
. You can also use your own datasets and modify the training script. The dataset we use are selected from DarkFace, GLADNet and LOL Dataset. -
To run traditional algorithms
python test_classic.py --data DATA --mode MODE
- To run CLIP model with slurm and DDP, simply use
sbatch run_ddp_new.sh
You can run this script with shell locally, by setting SLURM_ARRAY_TASK_ID
to any preset index.
sh run_ddp_new.sh
You could also change one or multiple arguments in the script, and you can find their descriptions in train_ddp.py
.