- Create conda environment (if needed)
conda env create -f environment.yml
- Activate conda environment
conda activate pact
- Set up SSH for GitHub push/pull access
source ssh.sh- Note:
bash ssh.shcommand will run in sub-shell and not give permissions in outer shell
- Test model configuration before training
python train.py --size_check [other_args]
- Train/test model(s)
- Modify train_test.sh as needed
bash train_test.sh
- Launch Tensorboard
- Open new terminal
conda activate ahttensorboard --logdir /scratch/zb7df/checkpoints/PACT
- Run benchmarking
source benchmark_setup.shbash benchmark.sh test(Use 'test', 'validation', or 'test2')
train_test.shscript contains 2-stage training process for I/Q and Amp loss- The NGA dataset used here includes 9,000 training patches, 1,000 validation patches, 1,000 256x256 test patches, and 2 1024x1024 test images.
- TBD