├── README.md ├── code ├── Inference.sh ├── Inference_official.sh ├── data │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-38.pyc │ │ ├── dvd_nfs.cpython-38.pyc │ │ └── videodata_nfs.cpython-38.pyc │ ├── dvd.py │ ├── dvd_nfs.py │ ├── dvd_nfs_event.py │ ├── event_txt2npy.py │ ├── videodata.py │ ├── videodata_nfs.py │ └── videodata_nfs_event.py ├── inference_d2net.py ├── inference_d2net_event.py ├── inference_d2net_off.py ├── inference_d2net_off_event.py ├── logger │ ├── __pycache__ │ │ ├── logger.cpython-37.pyc │ │ └── logger.cpython-38.pyc │ └── logger.py ├── logs │ └── please put trained models here ├── loss │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-38.pyc │ │ ├── hard_example_mining.cpython-37.pyc │ │ └── hard_example_mining.cpython-38.pyc │ └── hard_example_mining.py ├── main_d2net.py ├── main_d2net_event.py ├── model │ ├── BiLSTM_test.py │ ├── __init__.py │ ├── __pycache__ │ │ ├── BiLSTM_test.cpython-38.pyc │ │ ├── __init__.cpython-38.pyc │ │ ├── blocks.cpython-38.pyc │ │ ├── correlation.cpython-38.pyc │ │ ├── d2net.cpython-38.pyc │ │ ├── flow_pwc.cpython-38.pyc │ │ └── recons_video.cpython-38.pyc │ ├── blocks.py │ ├── correlation.py │ ├── d2net.py │ ├── d2net_event.py │ ├── d2net_offical.py │ ├── d2net_offical_event.py │ ├── flow_pwc.py │ └── recons_video.py ├── option │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-38.pyc │ │ ├── template.cpython-37.pyc │ │ └── template.cpython-38.pyc │ └── template.py ├── test_detector.py ├── trainer │ ├── __pycache__ │ │ ├── trainer.cpython-38.pyc │ │ └── trainer_d2net.cpython-38.pyc │ ├── trainer.py │ ├── trainer_d2net.py │ └── trainer_d2net_event.py └── utils │ ├── __pycache__ │ ├── network_utils.cpython-37.pyc │ ├── network_utils.cpython-38.pyc │ ├── utils.cpython-37.pyc │ └── utils.cpython-38.pyc │ ├── network_utils.py │ └── utils.py ├── dataset └── please put datasets here └── pretrain_models └── please put pretrained models here /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/README.md -------------------------------------------------------------------------------- /code/Inference.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/Inference.sh -------------------------------------------------------------------------------- /code/Inference_official.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/Inference_official.sh -------------------------------------------------------------------------------- /code/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/data/__init__.py -------------------------------------------------------------------------------- /code/data/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/data/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /code/data/__pycache__/dvd_nfs.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/data/__pycache__/dvd_nfs.cpython-38.pyc -------------------------------------------------------------------------------- /code/data/__pycache__/videodata_nfs.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/data/__pycache__/videodata_nfs.cpython-38.pyc -------------------------------------------------------------------------------- /code/data/dvd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/data/dvd.py -------------------------------------------------------------------------------- /code/data/dvd_nfs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/data/dvd_nfs.py -------------------------------------------------------------------------------- /code/data/dvd_nfs_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/data/dvd_nfs_event.py -------------------------------------------------------------------------------- /code/data/event_txt2npy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/data/event_txt2npy.py -------------------------------------------------------------------------------- /code/data/videodata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/data/videodata.py -------------------------------------------------------------------------------- /code/data/videodata_nfs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/data/videodata_nfs.py -------------------------------------------------------------------------------- /code/data/videodata_nfs_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/data/videodata_nfs_event.py -------------------------------------------------------------------------------- /code/inference_d2net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/inference_d2net.py -------------------------------------------------------------------------------- /code/inference_d2net_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/inference_d2net_event.py -------------------------------------------------------------------------------- /code/inference_d2net_off.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/inference_d2net_off.py -------------------------------------------------------------------------------- /code/inference_d2net_off_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/inference_d2net_off_event.py -------------------------------------------------------------------------------- /code/logger/__pycache__/logger.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/logger/__pycache__/logger.cpython-37.pyc -------------------------------------------------------------------------------- /code/logger/__pycache__/logger.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/logger/__pycache__/logger.cpython-38.pyc -------------------------------------------------------------------------------- /code/logger/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/logger/logger.py -------------------------------------------------------------------------------- /code/logs/please put trained models here: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /code/loss/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/loss/__init__.py -------------------------------------------------------------------------------- /code/loss/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/loss/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /code/loss/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/loss/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /code/loss/__pycache__/hard_example_mining.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/loss/__pycache__/hard_example_mining.cpython-37.pyc -------------------------------------------------------------------------------- /code/loss/__pycache__/hard_example_mining.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/loss/__pycache__/hard_example_mining.cpython-38.pyc -------------------------------------------------------------------------------- /code/loss/hard_example_mining.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/loss/hard_example_mining.py -------------------------------------------------------------------------------- /code/main_d2net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/main_d2net.py -------------------------------------------------------------------------------- /code/main_d2net_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/main_d2net_event.py -------------------------------------------------------------------------------- /code/model/BiLSTM_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/BiLSTM_test.py -------------------------------------------------------------------------------- /code/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/__init__.py -------------------------------------------------------------------------------- /code/model/__pycache__/BiLSTM_test.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/__pycache__/BiLSTM_test.cpython-38.pyc -------------------------------------------------------------------------------- /code/model/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /code/model/__pycache__/blocks.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/__pycache__/blocks.cpython-38.pyc -------------------------------------------------------------------------------- /code/model/__pycache__/correlation.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/__pycache__/correlation.cpython-38.pyc -------------------------------------------------------------------------------- /code/model/__pycache__/d2net.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/__pycache__/d2net.cpython-38.pyc -------------------------------------------------------------------------------- /code/model/__pycache__/flow_pwc.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/__pycache__/flow_pwc.cpython-38.pyc -------------------------------------------------------------------------------- /code/model/__pycache__/recons_video.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/__pycache__/recons_video.cpython-38.pyc -------------------------------------------------------------------------------- /code/model/blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/blocks.py -------------------------------------------------------------------------------- /code/model/correlation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/correlation.py -------------------------------------------------------------------------------- /code/model/d2net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/d2net.py -------------------------------------------------------------------------------- /code/model/d2net_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/d2net_event.py -------------------------------------------------------------------------------- /code/model/d2net_offical.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/d2net_offical.py -------------------------------------------------------------------------------- /code/model/d2net_offical_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/d2net_offical_event.py -------------------------------------------------------------------------------- /code/model/flow_pwc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/flow_pwc.py -------------------------------------------------------------------------------- /code/model/recons_video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/model/recons_video.py -------------------------------------------------------------------------------- /code/option/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/option/__init__.py -------------------------------------------------------------------------------- /code/option/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/option/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /code/option/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/option/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /code/option/__pycache__/template.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/option/__pycache__/template.cpython-37.pyc -------------------------------------------------------------------------------- /code/option/__pycache__/template.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/option/__pycache__/template.cpython-38.pyc -------------------------------------------------------------------------------- /code/option/template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/option/template.py -------------------------------------------------------------------------------- /code/test_detector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/test_detector.py -------------------------------------------------------------------------------- /code/trainer/__pycache__/trainer.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/trainer/__pycache__/trainer.cpython-38.pyc -------------------------------------------------------------------------------- /code/trainer/__pycache__/trainer_d2net.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/trainer/__pycache__/trainer_d2net.cpython-38.pyc -------------------------------------------------------------------------------- /code/trainer/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/trainer/trainer.py -------------------------------------------------------------------------------- /code/trainer/trainer_d2net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/trainer/trainer_d2net.py -------------------------------------------------------------------------------- /code/trainer/trainer_d2net_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/trainer/trainer_d2net_event.py -------------------------------------------------------------------------------- /code/utils/__pycache__/network_utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/utils/__pycache__/network_utils.cpython-37.pyc -------------------------------------------------------------------------------- /code/utils/__pycache__/network_utils.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/utils/__pycache__/network_utils.cpython-38.pyc -------------------------------------------------------------------------------- /code/utils/__pycache__/utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/utils/__pycache__/utils.cpython-37.pyc -------------------------------------------------------------------------------- /code/utils/__pycache__/utils.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/utils/__pycache__/utils.cpython-38.pyc -------------------------------------------------------------------------------- /code/utils/network_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/utils/network_utils.py -------------------------------------------------------------------------------- /code/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shangwei5/D2Net/HEAD/code/utils/utils.py -------------------------------------------------------------------------------- /dataset/please put datasets here: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /pretrain_models/please put pretrained models here: -------------------------------------------------------------------------------- 1 | 2 | --------------------------------------------------------------------------------