├── Images ├── diagram.png └── new_diagram.png ├── README.md ├── cbam.py ├── dataloaders ├── .ipynb_checkpoints │ └── __init__-checkpoint.py ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-310.pyc │ └── custom_transforms.cpython-310.pyc ├── custom_transforms.py ├── datasets │ ├── .ipynb_checkpoints │ │ └── pascal-checkpoint.py │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-310.pyc │ │ ├── cityscapes.cpython-310.pyc │ │ └── pascal.cpython-310.pyc │ ├── cityscapes.py │ ├── coco.py │ ├── combine_dbs.py │ ├── pascal.py │ └── sbd.py └── utils.py ├── distiller.py ├── modeling ├── .ipynb_checkpoints │ ├── aspp-checkpoint.py │ ├── decoder-checkpoint.py │ └── deeplab-checkpoint.py ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-310.pyc │ ├── aspp.cpython-310.pyc │ ├── decoder.cpython-310.pyc │ └── deeplab.cpython-310.pyc ├── aspp.py ├── backbone │ ├── .ipynb_checkpoints │ │ ├── mobilenet-checkpoint.py │ │ ├── resnet-checkpoint.py │ │ └── xception-checkpoint.py │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-310.pyc │ │ ├── drn.cpython-310.pyc │ │ ├── mobilenet.cpython-310.pyc │ │ ├── resnet.cpython-310.pyc │ │ └── xception.cpython-310.pyc │ ├── drn.py │ ├── mobilenet.py │ ├── resnet.py │ └── xception.py ├── decoder.py ├── deeplab.py └── sync_batchnorm │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-310.pyc │ ├── batchnorm.cpython-310.pyc │ ├── comm.cpython-310.pyc │ └── replicate.cpython-310.pyc │ ├── batchnorm.py │ ├── comm.py │ ├── replicate.py │ └── unittest.py ├── mypath.py ├── pretrained └── .gitignore ├── train.py ├── train_kd.py ├── train_voc.sh └── utils ├── .ipynb_checkpoints ├── metrics-checkpoint.py └── saver-checkpoint.py ├── __init__.py ├── __pycache__ ├── __init__.cpython-310.pyc ├── calculate_weights.cpython-310.pyc ├── loss.cpython-310.pyc ├── lr_scheduler.cpython-310.pyc ├── metrics.cpython-310.pyc └── saver.cpython-310.pyc ├── calculate_weights.py ├── loss.py ├── lr_scheduler.py ├── metrics.py ├── saver.py └── summaries.py /Images/diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/Images/diagram.png -------------------------------------------------------------------------------- /Images/new_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/Images/new_diagram.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/README.md -------------------------------------------------------------------------------- /cbam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/cbam.py -------------------------------------------------------------------------------- /dataloaders/.ipynb_checkpoints/__init__-checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/.ipynb_checkpoints/__init__-checkpoint.py -------------------------------------------------------------------------------- /dataloaders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/__init__.py -------------------------------------------------------------------------------- /dataloaders/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /dataloaders/__pycache__/custom_transforms.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/__pycache__/custom_transforms.cpython-310.pyc -------------------------------------------------------------------------------- /dataloaders/custom_transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/custom_transforms.py -------------------------------------------------------------------------------- /dataloaders/datasets/.ipynb_checkpoints/pascal-checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/datasets/.ipynb_checkpoints/pascal-checkpoint.py -------------------------------------------------------------------------------- /dataloaders/datasets/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dataloaders/datasets/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/datasets/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /dataloaders/datasets/__pycache__/cityscapes.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/datasets/__pycache__/cityscapes.cpython-310.pyc -------------------------------------------------------------------------------- /dataloaders/datasets/__pycache__/pascal.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/datasets/__pycache__/pascal.cpython-310.pyc -------------------------------------------------------------------------------- /dataloaders/datasets/cityscapes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/datasets/cityscapes.py -------------------------------------------------------------------------------- /dataloaders/datasets/coco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/datasets/coco.py -------------------------------------------------------------------------------- /dataloaders/datasets/combine_dbs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/datasets/combine_dbs.py -------------------------------------------------------------------------------- /dataloaders/datasets/pascal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/datasets/pascal.py -------------------------------------------------------------------------------- /dataloaders/datasets/sbd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/datasets/sbd.py -------------------------------------------------------------------------------- /dataloaders/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/dataloaders/utils.py -------------------------------------------------------------------------------- /distiller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/distiller.py -------------------------------------------------------------------------------- /modeling/.ipynb_checkpoints/aspp-checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/.ipynb_checkpoints/aspp-checkpoint.py -------------------------------------------------------------------------------- /modeling/.ipynb_checkpoints/decoder-checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/.ipynb_checkpoints/decoder-checkpoint.py -------------------------------------------------------------------------------- /modeling/.ipynb_checkpoints/deeplab-checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/.ipynb_checkpoints/deeplab-checkpoint.py -------------------------------------------------------------------------------- /modeling/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modeling/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /modeling/__pycache__/aspp.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/__pycache__/aspp.cpython-310.pyc -------------------------------------------------------------------------------- /modeling/__pycache__/decoder.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/__pycache__/decoder.cpython-310.pyc -------------------------------------------------------------------------------- /modeling/__pycache__/deeplab.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/__pycache__/deeplab.cpython-310.pyc -------------------------------------------------------------------------------- /modeling/aspp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/aspp.py -------------------------------------------------------------------------------- /modeling/backbone/.ipynb_checkpoints/mobilenet-checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/backbone/.ipynb_checkpoints/mobilenet-checkpoint.py -------------------------------------------------------------------------------- /modeling/backbone/.ipynb_checkpoints/resnet-checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/backbone/.ipynb_checkpoints/resnet-checkpoint.py -------------------------------------------------------------------------------- /modeling/backbone/.ipynb_checkpoints/xception-checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/backbone/.ipynb_checkpoints/xception-checkpoint.py -------------------------------------------------------------------------------- /modeling/backbone/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/backbone/__init__.py -------------------------------------------------------------------------------- /modeling/backbone/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/backbone/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /modeling/backbone/__pycache__/drn.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/backbone/__pycache__/drn.cpython-310.pyc -------------------------------------------------------------------------------- /modeling/backbone/__pycache__/mobilenet.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/backbone/__pycache__/mobilenet.cpython-310.pyc -------------------------------------------------------------------------------- /modeling/backbone/__pycache__/resnet.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/backbone/__pycache__/resnet.cpython-310.pyc -------------------------------------------------------------------------------- /modeling/backbone/__pycache__/xception.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/backbone/__pycache__/xception.cpython-310.pyc -------------------------------------------------------------------------------- /modeling/backbone/drn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/backbone/drn.py -------------------------------------------------------------------------------- /modeling/backbone/mobilenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/backbone/mobilenet.py -------------------------------------------------------------------------------- /modeling/backbone/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/backbone/resnet.py -------------------------------------------------------------------------------- /modeling/backbone/xception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/backbone/xception.py -------------------------------------------------------------------------------- /modeling/decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/decoder.py -------------------------------------------------------------------------------- /modeling/deeplab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/deeplab.py -------------------------------------------------------------------------------- /modeling/sync_batchnorm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/sync_batchnorm/__init__.py -------------------------------------------------------------------------------- /modeling/sync_batchnorm/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/sync_batchnorm/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /modeling/sync_batchnorm/__pycache__/batchnorm.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/sync_batchnorm/__pycache__/batchnorm.cpython-310.pyc -------------------------------------------------------------------------------- /modeling/sync_batchnorm/__pycache__/comm.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/sync_batchnorm/__pycache__/comm.cpython-310.pyc -------------------------------------------------------------------------------- /modeling/sync_batchnorm/__pycache__/replicate.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/sync_batchnorm/__pycache__/replicate.cpython-310.pyc -------------------------------------------------------------------------------- /modeling/sync_batchnorm/batchnorm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/sync_batchnorm/batchnorm.py -------------------------------------------------------------------------------- /modeling/sync_batchnorm/comm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/sync_batchnorm/comm.py -------------------------------------------------------------------------------- /modeling/sync_batchnorm/replicate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/sync_batchnorm/replicate.py -------------------------------------------------------------------------------- /modeling/sync_batchnorm/unittest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/modeling/sync_batchnorm/unittest.py -------------------------------------------------------------------------------- /mypath.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/mypath.py -------------------------------------------------------------------------------- /pretrained/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/train.py -------------------------------------------------------------------------------- /train_kd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/train_kd.py -------------------------------------------------------------------------------- /train_voc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/train_voc.sh -------------------------------------------------------------------------------- /utils/.ipynb_checkpoints/metrics-checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/.ipynb_checkpoints/metrics-checkpoint.py -------------------------------------------------------------------------------- /utils/.ipynb_checkpoints/saver-checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/.ipynb_checkpoints/saver-checkpoint.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /utils/__pycache__/calculate_weights.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/__pycache__/calculate_weights.cpython-310.pyc -------------------------------------------------------------------------------- /utils/__pycache__/loss.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/__pycache__/loss.cpython-310.pyc -------------------------------------------------------------------------------- /utils/__pycache__/lr_scheduler.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/__pycache__/lr_scheduler.cpython-310.pyc -------------------------------------------------------------------------------- /utils/__pycache__/metrics.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/__pycache__/metrics.cpython-310.pyc -------------------------------------------------------------------------------- /utils/__pycache__/saver.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/__pycache__/saver.cpython-310.pyc -------------------------------------------------------------------------------- /utils/calculate_weights.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/calculate_weights.py -------------------------------------------------------------------------------- /utils/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/loss.py -------------------------------------------------------------------------------- /utils/lr_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/lr_scheduler.py -------------------------------------------------------------------------------- /utils/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/metrics.py -------------------------------------------------------------------------------- /utils/saver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/saver.py -------------------------------------------------------------------------------- /utils/summaries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirMansurian/AttnFD/HEAD/utils/summaries.py --------------------------------------------------------------------------------