├── .gitignore ├── Experiments on ActivityNet, FCVID and Mini-Kinetics ├── README.md ├── basic_tools │ ├── __init__.py │ ├── checkpoint.py │ ├── logger.py │ └── utils.py ├── conf │ └── default.yaml ├── main_dist.py ├── models │ ├── gfv_net.py │ ├── mobilenet.py │ ├── ppo.py │ ├── resnet.py │ └── utils.py └── ops │ ├── dataset.py │ ├── dataset_config.py │ ├── transforms.py │ ├── utils.py │ └── video_jpg.py ├── Experiments on Something-Something V1&V2 ├── README.md ├── basic_tools │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-38.pyc │ │ ├── checkpoint.cpython-38.pyc │ │ ├── logger.cpython-38.pyc │ │ └── utils.cpython-38.pyc │ ├── checkpoint.py │ ├── logger.py │ └── utils.py ├── conf │ ├── evaluate.yaml │ ├── stage1.yaml │ ├── stage2.yaml │ └── stage3.yaml ├── evaluate.py ├── evaluate.sh ├── models │ ├── __pycache__ │ │ ├── ppo.cpython-38.pyc │ │ ├── ppo_continuous.cpython-38.pyc │ │ ├── resnet.cpython-38.pyc │ │ ├── tsn.cpython-38.pyc │ │ └── utils.cpython-38.pyc │ ├── constant.py │ ├── gfv_net.py │ ├── mobilenetv2.py │ ├── ppo.py │ ├── ppo_continuous.py │ ├── resnet.py │ ├── tsn.py │ └── utils.py ├── ops │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-38.pyc │ │ ├── temporal_shift.cpython-38.pyc │ │ ├── transforms.cpython-38.pyc │ │ └── utils.cpython-38.pyc │ ├── basic_ops.py │ ├── dataset.py │ ├── dataset_config.py │ ├── models_ada.py │ ├── my_logger.py │ ├── net_flops_table.py │ ├── sal_rank_loss.py │ ├── temporal_shift.py │ ├── transforms.py │ ├── utils.py │ └── video_jpg.py ├── stage1.py ├── stage2.py ├── stage3.py ├── train_stage1.sh ├── train_stage2.sh └── train_stage3.sh ├── README.md └── figure ├── actnet.png ├── intro.png ├── sthsth.png └── visualization.png /.gitignore: -------------------------------------------------------------------------------- 1 | outputs/ 2 | *.tar 3 | Experiments on ActivityNet, FCVID and Mini-Kinetics/.DS_Store 4 | .idea 5 | .pyc 6 | -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/README.md -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/basic_tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/basic_tools/__init__.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/basic_tools/checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/basic_tools/checkpoint.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/basic_tools/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/basic_tools/logger.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/basic_tools/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/basic_tools/utils.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/conf/default.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/conf/default.yaml -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/main_dist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/main_dist.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/models/mobilenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/mobilenet.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/models/ppo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/ppo.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/models/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/resnet.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/models/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/utils.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/ops/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/ops/dataset.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/ops/dataset_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/ops/dataset_config.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/ops/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/ops/transforms.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/ops/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/ops/utils.py -------------------------------------------------------------------------------- /Experiments on ActivityNet, FCVID and Mini-Kinetics/ops/video_jpg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on ActivityNet, FCVID and Mini-Kinetics/ops/video_jpg.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/README.md -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/basic_tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/basic_tools/__init__.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/basic_tools/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/basic_tools/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/basic_tools/__pycache__/checkpoint.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/basic_tools/__pycache__/checkpoint.cpython-38.pyc -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/basic_tools/__pycache__/logger.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/basic_tools/__pycache__/logger.cpython-38.pyc -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/basic_tools/__pycache__/utils.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/basic_tools/__pycache__/utils.cpython-38.pyc -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/basic_tools/checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/basic_tools/checkpoint.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/basic_tools/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/basic_tools/logger.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/basic_tools/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/basic_tools/utils.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/conf/evaluate.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/conf/evaluate.yaml -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/conf/stage1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/conf/stage1.yaml -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/conf/stage2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/conf/stage2.yaml -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/conf/stage3.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/conf/stage3.yaml -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/evaluate.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/evaluate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/evaluate.sh -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/models/__pycache__/ppo.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/models/__pycache__/ppo.cpython-38.pyc -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/models/__pycache__/ppo_continuous.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/models/__pycache__/ppo_continuous.cpython-38.pyc -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/models/__pycache__/resnet.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/models/__pycache__/resnet.cpython-38.pyc -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/models/__pycache__/tsn.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/models/__pycache__/tsn.cpython-38.pyc -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/models/__pycache__/utils.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/models/__pycache__/utils.cpython-38.pyc -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/models/constant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/models/constant.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/models/gfv_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/models/gfv_net.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/models/mobilenetv2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/models/mobilenetv2.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/models/ppo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/models/ppo.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/models/ppo_continuous.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/models/ppo_continuous.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/models/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/models/resnet.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/models/tsn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/models/tsn.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/models/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/models/utils.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/__init__.py: -------------------------------------------------------------------------------- 1 | from ops.basic_ops import * 2 | -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/__pycache__/temporal_shift.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/__pycache__/temporal_shift.cpython-38.pyc -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/__pycache__/transforms.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/__pycache__/transforms.cpython-38.pyc -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/__pycache__/utils.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/__pycache__/utils.cpython-38.pyc -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/basic_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/basic_ops.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/dataset.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/dataset_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/dataset_config.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/models_ada.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/models_ada.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/my_logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/my_logger.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/net_flops_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/net_flops_table.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/sal_rank_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/sal_rank_loss.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/temporal_shift.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/temporal_shift.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/transforms.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/utils.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/ops/video_jpg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/ops/video_jpg.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/stage1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/stage1.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/stage2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/stage2.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/stage3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/stage3.py -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/train_stage1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/train_stage1.sh -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/train_stage2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/train_stage2.sh -------------------------------------------------------------------------------- /Experiments on Something-Something V1&V2/train_stage3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/Experiments on Something-Something V1&V2/train_stage3.sh -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/README.md -------------------------------------------------------------------------------- /figure/actnet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/figure/actnet.png -------------------------------------------------------------------------------- /figure/intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/figure/intro.png -------------------------------------------------------------------------------- /figure/sthsth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/figure/sthsth.png -------------------------------------------------------------------------------- /figure/visualization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackfeather-wang/AdaFocus/HEAD/figure/visualization.png --------------------------------------------------------------------------------