Code for Safe-Net.
- torch
- torchvision
- numpy
- pyyaml
- tqdm
- scipy
- matplotlib
- pillow
Download University-1652 upon request and put them under the ./data/
folder. You may use the request template.
You can download the pretrained Vit-S weights from the following link and put it in the ./models/pretrain_model folder
bash run_train_test_U1652.sh
- You can change the data_dir and test_dir to your own dataset paths in run_train_test_U1652.sh.
- Support SUES-200 dataset
- Support the evaluation for different levels of distance
- Support ResNet-50 backbone
- Adding the demo of FPM and FAM
- ...