├── .isort.cfg ├── LICENSE ├── README.md ├── data ├── operator │ ├── bbox │ │ ├── __pycache__ │ │ │ ├── intersection.cpython-37.pyc │ │ │ └── validity.cpython-37.pyc │ │ ├── intersection.py │ │ ├── polygon2xyxy.py │ │ ├── rasterized │ │ │ ├── __pycache__ │ │ │ │ └── xywh2xyxy.cpython-37.pyc │ │ │ ├── draw_bbox.py │ │ │ ├── utility │ │ │ │ ├── flip.py │ │ │ │ └── image.py │ │ │ ├── xywh2xyxy.py │ │ │ └── xyxy2xywh.py │ │ ├── spatial │ │ │ ├── __pycache__ │ │ │ │ ├── center.cpython-37.pyc │ │ │ │ ├── center.cpython-39.pyc │ │ │ │ ├── cxcywh2xywh.cpython-37.pyc │ │ │ │ ├── cxcywh2xyxy.cpython-37.pyc │ │ │ │ ├── cxcywh2xyxy.cpython-39.pyc │ │ │ │ ├── scale_and_translate.cpython-37.pyc │ │ │ │ ├── scale_and_translate.cpython-39.pyc │ │ │ │ ├── xywh2xyxy.cpython-37.pyc │ │ │ │ ├── xyxy2xywh.cpython-37.pyc │ │ │ │ └── xyxy2xywh.cpython-39.pyc │ │ │ ├── center.py │ │ │ ├── cxcywh2xywh.py │ │ │ ├── cxcywh2xyxy.py │ │ │ ├── iou.py │ │ │ ├── normalize.py │ │ │ ├── np │ │ │ │ ├── cxcywh2xyxy.py │ │ │ │ ├── xyxy2cxcywh.py │ │ │ │ └── xyxy2xywh.py │ │ │ ├── scale_and_translate.py │ │ │ ├── utility │ │ │ │ ├── __pycache__ │ │ │ │ │ ├── image.cpython-37.pyc │ │ │ │ │ └── image.cpython-39.pyc │ │ │ │ ├── aligned │ │ │ │ │ ├── image.py │ │ │ │ │ └── np │ │ │ │ │ │ └── image.py │ │ │ │ ├── flip.py │ │ │ │ ├── half_pixel_offset │ │ │ │ │ ├── __pycache__ │ │ │ │ │ │ ├── image.cpython-37.pyc │ │ │ │ │ │ └── image.cpython-39.pyc │ │ │ │ │ └── image.py │ │ │ │ ├── image.py │ │ │ │ └── normalize.py │ │ │ ├── vectorized │ │ │ │ ├── area.py │ │ │ │ ├── intersection.py │ │ │ │ ├── iou.py │ │ │ │ ├── torch │ │ │ │ │ ├── __pycache__ │ │ │ │ │ │ ├── cxcywh_to_xyxy.cpython-37.pyc │ │ │ │ │ │ ├── cxcywh_to_xyxy.cpython-39.pyc │ │ │ │ │ │ ├── intersection.cpython-37.pyc │ │ │ │ │ │ ├── intersection.cpython-39.pyc │ │ │ │ │ │ ├── scale_and_translate.cpython-37.pyc │ │ │ │ │ │ ├── scale_and_translate.cpython-39.pyc │ │ │ │ │ │ ├── validity.cpython-37.pyc │ │ │ │ │ │ ├── validity.cpython-39.pyc │ │ │ │ │ │ ├── xyxy_to_cxcywh.cpython-37.pyc │ │ │ │ │ │ └── xyxy_to_cxcywh.cpython-39.pyc │ │ │ │ │ ├── cxcywh_to_xyxy.py │ │ │ │ │ ├── intersection.py │ │ │ │ │ ├── iou.py │ │ │ │ │ ├── scale_and_translate.py │ │ │ │ │ ├── utility │ │ │ │ │ │ ├── aligned │ │ │ │ │ │ │ └── image.py │ │ │ │ │ │ ├── half_pixel_offset │ │ │ │ │ │ │ ├── __pycache__ │ │ │ │ │ │ │ │ ├── image.cpython-37.pyc │ │ │ │ │ │ │ │ └── image.cpython-39.pyc │ │ │ │ │ │ │ └── image.py │ │ │ │ │ │ └── normalize.py │ │ │ │ │ ├── validity.py │ │ │ │ │ └── xyxy_to_cxcywh.py │ │ │ │ └── validity.py │ │ │ ├── xywh2cxcywh.py │ │ │ ├── xywh2xyxy.py │ │ │ ├── xyxy2cxcywh.py │ │ │ └── xyxy2xywh.py │ │ ├── transform │ │ │ ├── compile.py │ │ │ ├── pixel_coordinate_system │ │ │ │ └── mapping.py │ │ │ ├── rasterize │ │ │ │ ├── aligned.py │ │ │ │ └── half_pixel_offset.py │ │ │ ├── spatialize │ │ │ │ ├── __pycache__ │ │ │ │ │ └── half_pixel_offset.cpython-37.pyc │ │ │ │ ├── aligned.py │ │ │ │ └── half_pixel_offset.py │ │ │ └── transform.py │ │ ├── utility │ │ │ ├── image.py │ │ │ └── polygon.py │ │ ├── validity.py │ │ └── xyxy2polygon.py │ ├── image │ │ └── pytorch │ │ │ ├── __pycache__ │ │ │ ├── mean.cpython-37.pyc │ │ │ └── mean.cpython-39.pyc │ │ │ └── mean.py │ └── image_and_bbox │ │ ├── align_corner │ │ └── vectorized │ │ │ └── pytorch │ │ │ └── scale_and_translate.py │ │ └── half_pixel_center │ │ └── vectorized │ │ └── pytorch │ │ ├── __pycache__ │ │ ├── scale_and_translate.cpython-37.pyc │ │ └── scale_and_translate.cpython-39.pyc │ │ └── scale_and_translate.py ├── tracking │ ├── _common.py │ ├── builder.py │ ├── methods │ │ ├── SiamFC │ │ │ ├── builders │ │ │ │ ├── components │ │ │ │ │ ├── data_processor.py │ │ │ │ │ └── dataset.py │ │ │ │ └── source.py │ │ │ ├── common │ │ │ │ ├── __pycache__ │ │ │ │ │ ├── siamfc_curation.cpython-37.pyc │ │ │ │ │ └── siamfc_curation.cpython-39.pyc │ │ │ │ ├── image_decoding.py │ │ │ │ ├── metric_collector.py │ │ │ │ └── siamfc_curation.py │ │ │ ├── pipeline │ │ │ │ ├── __pycache__ │ │ │ │ │ ├── pipeline.cpython-37.pyc │ │ │ │ │ ├── pipeline.cpython-39.pyc │ │ │ │ │ ├── processor.cpython-37.pyc │ │ │ │ │ └── processor.cpython-39.pyc │ │ │ │ ├── pipeline.py │ │ │ │ └── processor.py │ │ │ └── pseudo_data.py │ │ ├── _common │ │ │ └── builders │ │ │ │ ├── build_dataloader.py │ │ │ │ ├── build_dataset_sampler.py │ │ │ │ ├── build_datasets.py │ │ │ │ ├── dataset_sampling_weight.py │ │ │ │ ├── reproducibility.py │ │ │ │ ├── samplers_per_epoch.py │ │ │ │ └── sequence_progress_tracker.py │ │ └── sequential │ │ │ ├── __pycache__ │ │ │ ├── curation_parameter_provider.cpython-37.pyc │ │ │ └── curation_parameter_provider.cpython-39.pyc │ │ │ ├── builders │ │ │ ├── additional_pipeline.py │ │ │ ├── components │ │ │ │ ├── curation_parameter_provider.py │ │ │ │ ├── data_processor.py │ │ │ │ ├── host_cache.py │ │ │ │ └── metric_collector.py │ │ │ └── source.py │ │ │ ├── curation_parameter_provider.py │ │ │ ├── metric_collector │ │ │ ├── distributor.py │ │ │ ├── full_annotated.py │ │ │ ├── metric_collector.py │ │ │ ├── on_the_fly_constructor.py │ │ │ ├── test_only.py │ │ │ └── utils │ │ │ │ ├── calculate_metrics.py │ │ │ │ ├── center_location_error.py │ │ │ │ └── draw_plots.py │ │ │ └── pipeline │ │ │ ├── common.py │ │ │ ├── evaluation_host.py │ │ │ ├── hook │ │ │ └── sequence_collection.py │ │ │ ├── host_cache.py │ │ │ └── worker.py │ ├── post_processor │ │ ├── bounding_box │ │ │ └── default.py │ │ ├── builder.py │ │ ├── multi_scale.py │ │ └── response_map.py │ └── sampler │ │ ├── SiamFC │ │ ├── dataset_sampler.py │ │ └── type.py │ │ ├── _sampling_algos │ │ ├── sequence_picking │ │ │ ├── pre_shuffle │ │ │ │ └── sampler.py │ │ │ ├── random_without_replacement │ │ │ │ ├── _server.py │ │ │ │ └── random_sampler.py │ │ │ └── run_through │ │ │ │ ├── _server.py │ │ │ │ └── random_sampler.py │ │ ├── sequence_sampling │ │ │ ├── SiamFC │ │ │ │ ├── MOT.py │ │ │ │ ├── SOT.py │ │ │ │ └── _algo.py │ │ │ ├── common │ │ │ │ ├── _algo.py │ │ │ │ └── _dummy_bbox.py │ │ │ ├── random │ │ │ │ ├── DET.py │ │ │ │ ├── MOT.py │ │ │ │ └── SOT.py │ │ │ ├── sequential │ │ │ │ ├── DET.py │ │ │ │ ├── MOT.py │ │ │ │ ├── SOT.py │ │ │ │ └── _common.py │ │ │ └── triplet │ │ │ │ ├── MOT.py │ │ │ │ ├── SOT.py │ │ │ │ └── _algo.py │ │ ├── stateful │ │ │ ├── infinite_loop_wrapper.py │ │ │ ├── random_without_replacement.py │ │ │ └── sequential.py │ │ └── stateless │ │ │ └── random.py │ │ ├── sequential │ │ └── dataset_sampler.py │ │ └── triplet │ │ └── dataset_sampler.py ├── types │ ├── __pycache__ │ │ ├── pixel_coordinate_system.cpython-37.pyc │ │ ├── pixel_coordinate_system.cpython-39.pyc │ │ ├── pixel_definition.cpython-37.pyc │ │ └── pixel_definition.cpython-39.pyc │ ├── bounding_box_coordinate_system.py │ ├── bounding_box_format.py │ ├── pixel_coordinate_system.py │ └── pixel_definition.py └── utils │ ├── data_loader.py │ ├── dataset.py │ └── tensor_movement_helper.py ├── experiments └── tatrack │ ├── test │ ├── base │ │ ├── got.yaml │ │ ├── lasot.yaml │ │ └── tracking.yaml │ ├── base384 │ │ ├── got.yaml │ │ ├── lasot.yaml │ │ └── tracking.yaml │ └── tiny │ │ ├── got.yaml │ │ ├── lasot.yaml │ │ ├── otb.yaml │ │ ├── tracking.yaml │ │ └── uav123.yaml │ └── train │ ├── base-got.yaml │ ├── base.yaml │ ├── base384-got.yaml │ ├── base384.yaml │ └── tiny.yaml ├── main ├── __pycache__ │ ├── paths.cpython-37.pyc │ └── paths.cpython-39.pyc ├── paths.py ├── test.py └── train.py ├── models ├── backbone │ ├── __pycache__ │ │ ├── builder.cpython-38.pyc │ │ ├── builder.cpython-39.pyc │ │ ├── swin_transformer.cpython-37.pyc │ │ ├── swin_transformer.cpython-38.pyc │ │ └── swin_transformer.cpython-39.pyc │ ├── builder.py │ ├── resnet50_mod_layer_3_dilation_2.py │ └── swin_transformer.py ├── methods │ ├── TATrack │ │ ├── modules │ │ │ ├── __pycache__ │ │ │ │ ├── cross_attention.cpython-37.pyc │ │ │ │ ├── cross_attention_block.cpython-37.pyc │ │ │ │ ├── mlp.cpython-37.pyc │ │ │ │ ├── self_attention.cpython-37.pyc │ │ │ │ └── self_attention_block.cpython-37.pyc │ │ │ ├── cross_attention.py │ │ │ ├── cross_attention_block.py │ │ │ ├── decoder │ │ │ │ ├── __pycache__ │ │ │ │ │ ├── builder.cpython-37.pyc │ │ │ │ │ └── concatenated_fusion.cpython-37.pyc │ │ │ │ ├── builder.py │ │ │ │ ├── concatenated_fusion.py │ │ │ │ └── target_query_decoder.py │ │ │ ├── encoder │ │ │ │ ├── __pycache__ │ │ │ │ │ └── builder.cpython-37.pyc │ │ │ │ ├── builder.py │ │ │ │ ├── concatenated_fusion │ │ │ │ │ ├── __pycache__ │ │ │ │ │ │ ├── builder.cpython-37.pyc │ │ │ │ │ │ └── concatenated_fusion.cpython-37.pyc │ │ │ │ │ ├── builder.py │ │ │ │ │ └── concatenated_fusion.py │ │ │ │ └── cross_attention_fusion │ │ │ │ │ ├── builder.py │ │ │ │ │ └── cross_attention_fusion.py │ │ │ ├── mlp.py │ │ │ ├── self_attention.py │ │ │ └── self_attention_block.py │ │ └── positional_encoding │ │ │ ├── __pycache__ │ │ │ ├── builder.cpython-37.pyc │ │ │ └── learned.cpython-37.pyc │ │ │ ├── builder.py │ │ │ ├── learned.py │ │ │ ├── sine.py │ │ │ └── untied │ │ │ ├── __pycache__ │ │ │ ├── absolute.cpython-37.pyc │ │ │ └── relative.cpython-37.pyc │ │ │ ├── absolute.py │ │ │ └── relative.py │ └── __pycache__ │ │ ├── builder.cpython-38.pyc │ │ └── builder.cpython-39.pyc └── utils │ ├── __pycache__ │ ├── drop_path.cpython-37.pyc │ ├── drop_path.cpython-38.pyc │ └── drop_path.cpython-39.pyc │ ├── build_warmup_scheduler.py │ ├── drop_path.py │ └── scheduler │ ├── __pycache__ │ ├── linear_scheduler.cpython-38.pyc │ └── linear_scheduler.cpython-39.pyc │ ├── constant_warmup_scheduler.py │ └── linear_scheduler.py ├── requirements.txt └── videoanalyst ├── __init__.py ├── __pycache__ ├── __init__.cpython-37.pyc └── __init__.cpython-39.pyc ├── config ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── __init__.cpython-39.pyc │ ├── config.cpython-37.pyc │ └── config.cpython-39.pyc ├── config.py └── utils.py ├── data ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── __init__.cpython-39.pyc │ ├── adaptor_dataset.cpython-37.pyc │ ├── adaptor_dataset.cpython-39.pyc │ ├── builder.cpython-37.pyc │ └── builder.cpython-39.pyc ├── adaptor_dataset.py ├── builder.py ├── datapipeline │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── builder.cpython-37.pyc │ │ ├── builder.cpython-39.pyc │ │ ├── datapipeline_base.cpython-37.pyc │ │ └── datapipeline_base.cpython-39.pyc │ ├── builder.py │ ├── datapipeline_base.py │ └── datapipeline_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── regular_datapipeline.cpython-37.pyc │ │ └── regular_datapipeline.cpython-39.pyc │ │ └── regular_datapipeline.py ├── dataset │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── builder.cpython-37.pyc │ │ ├── builder.cpython-39.pyc │ │ ├── dataset_base.cpython-37.pyc │ │ └── dataset_base.cpython-39.pyc │ ├── builder.py │ ├── dataset_base.py │ └── dataset_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── coco.cpython-37.pyc │ │ ├── coco.cpython-39.pyc │ │ ├── davis.cpython-37.pyc │ │ ├── davis.cpython-39.pyc │ │ ├── got10k.cpython-37.pyc │ │ ├── got10k.cpython-39.pyc │ │ ├── ilsvrc_det.cpython-37.pyc │ │ ├── ilsvrc_det.cpython-39.pyc │ │ ├── ilsvrc_vid.cpython-37.pyc │ │ ├── ilsvrc_vid.cpython-39.pyc │ │ ├── lasot.cpython-37.pyc │ │ ├── lasot.cpython-39.pyc │ │ ├── trackingnet.cpython-37.pyc │ │ ├── trackingnet.cpython-39.pyc │ │ ├── ytb_vos.cpython-37.pyc │ │ └── ytb_vos.cpython-39.pyc │ │ ├── coco.py │ │ ├── davis.py │ │ ├── got10k.py │ │ ├── ilsvrc_det.py │ │ ├── ilsvrc_vid.py │ │ ├── lasot.py │ │ ├── trackingnet.py │ │ ├── utils │ │ ├── __init__.py │ │ └── unfixed_got10k_list.txt │ │ └── ytb_vos.py ├── filter │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── builder.cpython-37.pyc │ │ ├── builder.cpython-39.pyc │ │ ├── filter_base.cpython-37.pyc │ │ └── filter_base.cpython-39.pyc │ ├── builder.py │ ├── filter_base.py │ └── filter_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── track_pair_filter.cpython-37.pyc │ │ └── track_pair_filter.cpython-39.pyc │ │ └── track_pair_filter.py ├── sampler │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── builder.cpython-37.pyc │ │ ├── builder.cpython-39.pyc │ │ ├── sampler_base.cpython-37.pyc │ │ └── sampler_base.cpython-39.pyc │ ├── builder.py │ ├── sampler_base.py │ └── sampler_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── track_pair_sampler.cpython-37.pyc │ │ └── track_pair_sampler.cpython-39.pyc │ │ └── track_pair_sampler.py ├── target │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-38.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── builder.cpython-37.pyc │ │ ├── builder.cpython-38.pyc │ │ ├── builder.cpython-39.pyc │ │ ├── target_base.cpython-37.pyc │ │ ├── target_base.cpython-38.pyc │ │ └── target_base.cpython-39.pyc │ ├── builder.py │ ├── target_base.py │ └── target_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-38.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── densebox_target.cpython-37.pyc │ │ ├── densebox_target.cpython-38.pyc │ │ └── densebox_target.cpython-39.pyc │ │ ├── densebox_target.py │ │ └── utils │ │ ├── README.md │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-38.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── make_densebox_target.cpython-37.pyc │ │ ├── make_densebox_target.cpython-38.pyc │ │ └── make_densebox_target.cpython-39.pyc │ │ ├── debug_compare_densebox_target.py │ │ ├── debug_compare_tensor.py │ │ └── make_densebox_target.py ├── transformer │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── builder.cpython-37.pyc │ │ ├── builder.cpython-39.pyc │ │ ├── transformer_base.cpython-37.pyc │ │ └── transformer_base.cpython-39.pyc │ ├── builder.py │ ├── transformer_base.py │ └── transformer_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── common_transformer.cpython-37.pyc │ │ ├── common_transformer.cpython-39.pyc │ │ ├── random_crop_transformer.cpython-37.pyc │ │ └── random_crop_transformer.cpython-39.pyc │ │ ├── common_transformer.py │ │ └── random_crop_transformer.py └── utils │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── __init__.cpython-39.pyc │ ├── filter_box.cpython-37.pyc │ └── filter_box.cpython-39.pyc │ ├── filter_box.py │ ├── misc.py │ ├── target_image_crop.py │ └── visualization.py ├── engine ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── __init__.cpython-39.pyc │ └── builder.cpython-37.pyc ├── builder.py ├── monitor │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── builder.cpython-37.pyc │ │ └── monitor_base.cpython-37.pyc │ ├── builder.py │ ├── monitor_base.py │ └── monitor_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── monitor_template.cpython-37.pyc │ │ ├── tensorboard_logger.cpython-37.pyc │ │ └── text_info.cpython-37.pyc │ │ ├── monitor_template.py │ │ ├── tensorboard_logger.py │ │ ├── text_info.py │ │ └── utils.py ├── tester │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── builder.cpython-37.pyc │ │ └── tester_base.cpython-37.pyc │ ├── builder.py │ ├── tester_base.py │ └── tester_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── davis.cpython-37.pyc │ │ ├── got10k.cpython-37.pyc │ │ ├── lasot.cpython-37.pyc │ │ ├── lasot.cpython-39.pyc │ │ ├── nfs.cpython-37.pyc │ │ ├── otb.cpython-37.pyc │ │ ├── trackingnet.cpython-37.pyc │ │ ├── uav123.cpython-37.pyc │ │ ├── vot.cpython-37.pyc │ │ └── votlt.cpython-37.pyc │ │ ├── davis.py │ │ ├── got10k.py │ │ ├── lasot.py │ │ ├── nfs.py │ │ ├── otb.py │ │ ├── trackingnet.py │ │ ├── uav123.py │ │ ├── utils │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ └── got_benchmark_helper.cpython-37.pyc │ │ └── got_benchmark_helper.py │ │ ├── vot.py │ │ └── votlt.py └── trainer │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── builder.cpython-37.pyc │ └── trainer_base.cpython-37.pyc │ ├── builder.py │ ├── trainer_base.py │ └── trainer_impl │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── distributed_regular_trainer.cpython-37.pyc │ ├── distributed_sat_trainer.cpython-37.pyc │ └── regular_trainer.cpython-37.pyc │ ├── distributed_regular_trainer.py │ ├── distributed_sat_trainer.py │ └── regular_trainer.py ├── evaluation ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ └── __init__.cpython-39.pyc ├── davis_benchmark │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── benckmark_helpler.cpython-37.pyc │ │ └── evaluation_method.cpython-37.pyc │ ├── benckmark_helpler.py │ ├── davis2017 │ │ ├── __pycache__ │ │ │ ├── davis.cpython-37.pyc │ │ │ ├── davis_evaluation.cpython-37.pyc │ │ │ ├── metrics.cpython-37.pyc │ │ │ ├── results.cpython-37.pyc │ │ │ └── utils.cpython-37.pyc │ │ ├── davis.py │ │ ├── davis_evaluation.py │ │ ├── metrics.py │ │ ├── results.py │ │ └── utils.py │ └── evaluation_method.py ├── got_benchmark │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ └── __init__.cpython-39.pyc │ ├── datasets │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── __init__.cpython-39.pyc │ │ │ ├── dtb70.cpython-37.pyc │ │ │ ├── dtb70.cpython-39.pyc │ │ │ ├── got10k.cpython-37.pyc │ │ │ ├── got10k.cpython-39.pyc │ │ │ ├── lasot.cpython-37.pyc │ │ │ ├── lasot.cpython-39.pyc │ │ │ ├── nfs.cpython-37.pyc │ │ │ ├── nfs.cpython-39.pyc │ │ │ ├── otb.cpython-37.pyc │ │ │ ├── otb.cpython-39.pyc │ │ │ ├── tcolor128.cpython-37.pyc │ │ │ ├── tcolor128.cpython-39.pyc │ │ │ ├── trackingnet.cpython-37.pyc │ │ │ ├── trackingnet.cpython-39.pyc │ │ │ ├── uav123.cpython-37.pyc │ │ │ ├── uav123.cpython-39.pyc │ │ │ ├── vid.cpython-37.pyc │ │ │ ├── vid.cpython-39.pyc │ │ │ ├── vot.cpython-37.pyc │ │ │ └── vot.cpython-39.pyc │ │ ├── dtb70.py │ │ ├── got10k.py │ │ ├── lasot.json │ │ ├── lasot.py │ │ ├── nfs.py │ │ ├── otb.py │ │ ├── tcolor128.py │ │ ├── trackingnet.py │ │ ├── uav123.json │ │ ├── uav123.py │ │ ├── vid.py │ │ └── vot.py │ ├── experiments │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── __init__.cpython-39.pyc │ │ │ ├── dtb70.cpython-37.pyc │ │ │ ├── dtb70.cpython-39.pyc │ │ │ ├── got10k.cpython-37.pyc │ │ │ ├── lasot.cpython-37.pyc │ │ │ ├── nfs.cpython-37.pyc │ │ │ ├── otb.cpython-37.pyc │ │ │ ├── otb.cpython-39.pyc │ │ │ ├── tcolor128.cpython-37.pyc │ │ │ ├── trackingnet.cpython-37.pyc │ │ │ ├── uav123.cpython-37.pyc │ │ │ └── vot.cpython-37.pyc │ │ ├── dtb70.py │ │ ├── got10k.py │ │ ├── lasot.py │ │ ├── nfs.py │ │ ├── otb.py │ │ ├── tcolor128.py │ │ ├── trackingnet.py │ │ ├── uav123.py │ │ └── vot.py │ ├── trackers │ │ ├── __init__.py │ │ └── identity_tracker.py │ └── utils │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── ioutils.cpython-37.pyc │ │ ├── ioutils.cpython-39.pyc │ │ ├── metrics.cpython-37.pyc │ │ └── viz.cpython-37.pyc │ │ ├── ioutils.py │ │ ├── metrics.py │ │ └── viz.py └── vot_benchmark │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── __init__.cpython-39.pyc │ ├── bbox_helper.cpython-37.pyc │ ├── bbox_helper.cpython-39.pyc │ ├── benchmark_helper.cpython-37.pyc │ └── benchmark_helper.cpython-39.pyc │ ├── bbox_helper.py │ ├── benchmark_helper.py │ ├── make.sh │ ├── pysot │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ └── __init__.cpython-39.pyc │ ├── datasets │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── __init__.cpython-39.pyc │ │ │ ├── dataset.cpython-37.pyc │ │ │ ├── dataset.cpython-39.pyc │ │ │ ├── video.cpython-37.pyc │ │ │ ├── video.cpython-39.pyc │ │ │ ├── vot.cpython-37.pyc │ │ │ └── vot.cpython-39.pyc │ │ ├── dataset.py │ │ ├── video.py │ │ └── vot.py │ ├── evaluation │ │ ├── __init__.py │ │ ├── ar_benchmark.py │ │ ├── eao_benchmark.py │ │ ├── f1_benchmark.py │ │ └── ope_benchmark.py │ └── utils │ │ ├── __init__.py │ │ ├── c_region.pxd │ │ ├── misc.py │ │ ├── region.c │ │ ├── region.pyx │ │ ├── setup.py │ │ ├── src │ │ ├── buffer.h │ │ ├── region.c │ │ └── region.h │ │ └── statistics.py │ └── vot_list │ ├── vot2018 │ └── list.txt │ └── vot2019 │ └── list.txt ├── model ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── __init__.cpython-39.pyc │ ├── builder.cpython-37.pyc │ ├── module_base.cpython-37.pyc │ └── module_base.cpython-39.pyc ├── backbone │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── backbone_base.cpython-37.pyc │ │ └── builder.cpython-37.pyc │ ├── backbone_base.py │ ├── backbone_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── alexnet_bn.cpython-37.pyc │ │ │ ├── base.cpython-37.pyc │ │ │ ├── base384.cpython-37.pyc │ │ │ ├── googlenet.cpython-37.pyc │ │ │ ├── googlenet_m.cpython-37.pyc │ │ │ ├── googlenet_q.cpython-37.pyc │ │ │ ├── resnet.cpython-37.pyc │ │ │ ├── shufflenet_v2.cpython-37.pyc │ │ │ ├── swin-tiny_m.cpython-37.pyc │ │ │ ├── swin-tiny_q.cpython-37.pyc │ │ │ ├── tiny.cpython-37.pyc │ │ │ ├── tiny_m.cpython-37.pyc │ │ │ └── tinyconv.cpython-37.pyc │ │ ├── alexnet_bn.py │ │ ├── base.py │ │ ├── base384.py │ │ ├── googlenet.py │ │ ├── googlenet_m.py │ │ ├── googlenet_q.py │ │ ├── resnet.py │ │ ├── shufflenet_v2.py │ │ ├── swin-tiny_m.py │ │ ├── swin-tiny_q.py │ │ ├── tiny.py │ │ └── tiny_m.py │ └── builder.py ├── builder.py ├── common_opr │ ├── __pycache__ │ │ ├── common_block.cpython-37.pyc │ │ └── common_loss.cpython-37.pyc │ ├── common_block.py │ └── common_loss.py ├── loss │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── builder.cpython-37.pyc │ │ └── loss_base.cpython-37.pyc │ ├── builder.py │ ├── loss_base.py │ └── loss_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── focal_loss.cpython-37.pyc │ │ ├── giou_loss.cpython-37.pyc │ │ ├── iou_loss.cpython-37.pyc │ │ ├── multi_bceloss.cpython-37.pyc │ │ ├── sigmoid_ce_centerness.cpython-37.pyc │ │ ├── sigmoid_ce_retina.cpython-37.pyc │ │ ├── utils.cpython-37.pyc │ │ └── varifocal.cpython-37.pyc │ │ ├── focal_loss.py │ │ ├── giou_loss.py │ │ ├── iou │ │ ├── __pycache__ │ │ │ └── iou2d_calculator.cpython-37.pyc │ │ ├── ciou.py │ │ ├── diou.py │ │ ├── giou.py │ │ ├── iou.py │ │ └── iou2d_calculator.py │ │ ├── iou_loss.py │ │ ├── multi_bceloss.py │ │ ├── sigmoid_ce_centerness.py │ │ ├── sigmoid_ce_retina.py │ │ ├── utils.py │ │ └── varifocal.py ├── module_base.py ├── neck │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── builder.cpython-37.pyc │ │ └── neck_base.cpython-37.pyc │ ├── builder.py │ ├── neck_base.py │ └── neck_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ └── transformer.cpython-37.pyc │ │ └── transformer.py ├── positional_encoding │ ├── builder.py │ ├── learned.py │ ├── sine.py │ └── untied │ │ ├── absolute.py │ │ └── relative.py ├── sync_batchnorm │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── batchnorm.cpython-37.pyc │ │ ├── comm.cpython-37.pyc │ │ └── replicate.cpython-37.pyc │ ├── batchnorm.py │ ├── batchnorm_reimpl.py │ ├── comm.py │ ├── replicate.py │ └── unittest.py ├── task_head │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── builder.cpython-37.pyc │ │ └── taskhead_base.cpython-37.pyc │ ├── builder.py │ ├── taskhead_base.py │ └── taskhead_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ └── head.cpython-37.pyc │ │ └── head.py ├── task_model │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── builder.cpython-37.pyc │ │ └── taskmodel_base.cpython-37.pyc │ ├── builder.py │ ├── taskmodel_base.py │ └── taskmodel_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ └── tatrack_model.cpython-37.pyc │ │ └── tatrack_model.py └── utils │ ├── __pycache__ │ ├── load_state.cpython-37.pyc │ └── load_state.cpython-39.pyc │ └── load_state.py ├── optim ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ └── builder.cpython-37.pyc ├── builder.py ├── grad_modifier │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── builder.cpython-37.pyc │ │ └── grad_modifier_base.cpython-37.pyc │ ├── builder.py │ ├── grad_modifier_base.py │ └── grad_modifier_impl │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ └── dynamic_freezer.cpython-37.pyc │ │ ├── dynamic_freezer.py │ │ └── utils │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ └── freeze.cpython-37.pyc │ │ └── freeze.py └── optimizer │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── builder.cpython-37.pyc │ └── optimizer_base.cpython-37.pyc │ ├── builder.py │ ├── optimizer_base.py │ └── optimizer_impl │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── adam.cpython-37.pyc │ ├── adamw.cpython-37.pyc │ └── sgd.cpython-37.pyc │ ├── adam.py │ ├── adamw.py │ ├── sgd.py │ └── utils │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── lr_multiply.cpython-37.pyc │ └── lr_policy.cpython-37.pyc │ ├── lr_multiply.py │ └── lr_policy.py ├── pipeline ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── __init__.cpython-39.pyc │ ├── builder.cpython-37.pyc │ ├── pipeline_base.cpython-37.pyc │ └── pipeline_base.cpython-39.pyc ├── builder.py ├── pipeline_base.py ├── tracker_impl │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── __init__.cpython-39.pyc │ │ ├── tatrack_tracker.cpython-37.pyc │ │ └── tatrack_tracker.cpython-39.pyc │ └── tatrack_tracker.py └── utils │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── __init__.cpython-39.pyc │ ├── bbox.cpython-37.pyc │ ├── bbox.cpython-39.pyc │ ├── crop.cpython-37.pyc │ ├── crop.cpython-39.pyc │ ├── misc.cpython-37.pyc │ └── misc.cpython-39.pyc │ ├── bbox.py │ ├── crop.py │ ├── misc.py │ └── online_classifier │ ├── __init__.py │ ├── base_classifier.py │ ├── optim.py │ └── utils │ ├── __init__.py │ ├── attention.py │ ├── augmentation.py │ ├── complex.py │ ├── dcf.py │ ├── fourier.py │ ├── operation.py │ ├── optimization.py │ ├── plotting.py │ ├── preprocessing.py │ ├── tensordict.py │ └── tensorlist.py └── utils ├── __init__.py ├── __pycache__ ├── __init__.cpython-37.pyc ├── __init__.cpython-39.pyc ├── dist_utils.cpython-37.pyc ├── dist_utils.cpython-39.pyc ├── image.cpython-37.pyc ├── image.cpython-39.pyc ├── misc.cpython-37.pyc ├── misc.cpython-39.pyc ├── path.cpython-37.pyc ├── path.cpython-39.pyc ├── torch_module.cpython-37.pyc ├── torch_module.cpython-39.pyc ├── visualization.cpython-37.pyc ├── visualization.cpython-39.pyc ├── visualize_score_map.cpython-37.pyc └── visualize_score_map.cpython-39.pyc ├── dist_utils.py ├── hpo.py ├── image.py ├── misc.py ├── path.py ├── torch_module.py ├── visualization.py └── visualize_score_map.py /.isort.cfg: -------------------------------------------------------------------------------- 1 | # Documentation: https://github.com/timothycrosley/isort/wiki/isort-Settings 2 | # Tutorial: https://simpleisbetterthancomplex.com/packages/2016/10/08/isort.html 3 | 4 | [isort] 5 | # default_section = THIRDPARTY 6 | known_first_party = videoanalyst # change it for the name of your django project 7 | known_pytorch = torch 8 | sections = FUTURE,STDLIB,THIRDPARTY,PYTORCH,FIRSTPARTY,LOCALFOLDER 9 | # sections = FIRSTPARTY,FUTURE,STDLIB,PYTORCH,THIRDPARTY,LOCALFOLDER 10 | 11 | [settings] 12 | skip_glob=**/evaluation/** 13 | -------------------------------------------------------------------------------- /data/operator/bbox/__pycache__/intersection.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/__pycache__/intersection.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/__pycache__/validity.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/__pycache__/validity.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/polygon2xyxy.py: -------------------------------------------------------------------------------- 1 | def bbox_polygon2xyxy(bbox): 2 | xs = bbox[0::2] 3 | ys = bbox[1::2] 4 | return (min(xs), min(ys), max(xs), max(ys)) 5 | -------------------------------------------------------------------------------- /data/operator/bbox/rasterized/__pycache__/xywh2xyxy.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/rasterized/__pycache__/xywh2xyxy.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/rasterized/draw_bbox.py: -------------------------------------------------------------------------------- 1 | def draw_bbox_(canvas, bbox, value): 2 | canvas[bbox[1]: bbox[3] + 1, bbox[0]] = value 3 | canvas[bbox[1]: bbox[3] + 1, bbox[2]] = value 4 | canvas[bbox[1], bbox[0]: bbox[2] + 1] = value 5 | canvas[bbox[3], bbox[0]: bbox[2] + 1] = value 6 | -------------------------------------------------------------------------------- /data/operator/bbox/rasterized/utility/flip.py: -------------------------------------------------------------------------------- 1 | def bbox_horizontal_flip(bbox, image_size): 2 | w = image_size[0] - 1 3 | x1 = w - bbox[2] 4 | x2 = w - bbox[0] 5 | return (x1, bbox[1], x2, bbox[3]) 6 | 7 | 8 | def bbox_vertical_flip(bbox, image_size): 9 | h = image_size[1] - 1 10 | y1 = h - bbox[3] 11 | y2 = h - bbox[1] 12 | return (bbox[0], y1, bbox[2], y2) 13 | 14 | 15 | def bbox_flip(bbox, image_size): 16 | w = image_size[0] - 1 17 | x1 = w - bbox[2] 18 | x2 = w - bbox[0] 19 | h = image_size[1] - 1 20 | y1 = h - bbox[3] 21 | y2 = h - bbox[1] 22 | return (x1, y1, x2, y2) 23 | -------------------------------------------------------------------------------- /data/operator/bbox/rasterized/xywh2xyxy.py: -------------------------------------------------------------------------------- 1 | def bbox_xywh2xyxy(bbox): 2 | return (bbox[0], bbox[1], bbox[2] + bbox[0] - 1, bbox[3] + bbox[1] - 1) 3 | -------------------------------------------------------------------------------- /data/operator/bbox/rasterized/xyxy2xywh.py: -------------------------------------------------------------------------------- 1 | def bbox_xyxy2xywh(bbox): 2 | return (bbox[0], bbox[1], bbox[2] - bbox[0] + 1, bbox[3] - bbox[1] + 1) 3 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/__pycache__/center.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/__pycache__/center.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/__pycache__/center.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/__pycache__/center.cpython-39.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/__pycache__/cxcywh2xywh.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/__pycache__/cxcywh2xywh.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/__pycache__/cxcywh2xyxy.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/__pycache__/cxcywh2xyxy.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/__pycache__/cxcywh2xyxy.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/__pycache__/cxcywh2xyxy.cpython-39.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/__pycache__/scale_and_translate.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/__pycache__/scale_and_translate.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/__pycache__/scale_and_translate.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/__pycache__/scale_and_translate.cpython-39.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/__pycache__/xywh2xyxy.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/__pycache__/xywh2xyxy.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/__pycache__/xyxy2xywh.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/__pycache__/xyxy2xywh.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/__pycache__/xyxy2xywh.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/__pycache__/xyxy2xywh.cpython-39.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/center.py: -------------------------------------------------------------------------------- 1 | def bbox_get_center_point(bbox): 2 | return (bbox[0] + bbox[2]) / 2, (bbox[1] + bbox[3]) / 2 3 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/cxcywh2xywh.py: -------------------------------------------------------------------------------- 1 | def bbox_cxcywh2xywh(bbox): 2 | x = bbox[0] - bbox[2] / 2 3 | y = bbox[1] - bbox[3] / 2 4 | return (x, y, bbox[2], bbox[3]) 5 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/cxcywh2xyxy.py: -------------------------------------------------------------------------------- 1 | def bbox_cxcywh2xyxy(bbox): 2 | from .cxcywh2xywh import bbox_cxcywh2xywh 3 | from .xywh2xyxy import bbox_xywh2xyxy 4 | return bbox_xywh2xyxy(bbox_cxcywh2xywh(bbox)) 5 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/iou.py: -------------------------------------------------------------------------------- 1 | def bbox_compute_iou(bbox_a, bbox_b): 2 | from data.operator.bbox.intersection import bbox_get_intersection 3 | intersection = bbox_get_intersection(bbox_a, bbox_b) 4 | area_a = (bbox_a[2] - bbox_a[0]) * (bbox_a[3] - bbox_a[1]) 5 | area_b = (bbox_b[2] - bbox_b[0]) * (bbox_b[3] - bbox_b[1]) 6 | area_intersection = (intersection[2] - intersection[0]) * (intersection[3] - intersection[1]) 7 | return area_intersection / (area_a + area_b - area_intersection) 8 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/normalize.py: -------------------------------------------------------------------------------- 1 | def bbox_normalize(bbox, image_size): 2 | return tuple(v / image_size[0] if i % 2 == 0 else v / image_size[1] for i, v in enumerate(bbox)) 3 | 4 | 5 | def bbox_denormalize(bbox, image_size): 6 | return tuple(v * image_size[0] if i % 2 == 0 else v * image_size[1] for i, v in enumerate(bbox)) 7 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/np/cxcywh2xyxy.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | 3 | 4 | def box_cxcywh2xyxy(box: np.ndarray): 5 | xyxy_box = np.zeros(4, dtype=np.float_) 6 | w_2 = box[2] / 2 7 | h_2 = box[3] / 2 8 | xyxy_box[0] = box[0] - w_2 9 | xyxy_box[1] = box[1] - h_2 10 | xyxy_box[2] = box[0] + w_2 11 | xyxy_box[3] = box[1] + h_2 12 | return xyxy_box 13 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/np/xyxy2cxcywh.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | 3 | 4 | def box_xyxy2cxcywh(box: np.ndarray): 5 | cxcywh_box = np.zeros(4, dtype=np.float_) 6 | cxcywh_box[0] = (box[0] + box[2]) / 2. 7 | cxcywh_box[1] = (box[1] + box[3]) / 2. 8 | cxcywh_box[2] = box[2] - box[0] 9 | cxcywh_box[3] = box[3] - box[1] 10 | return cxcywh_box 11 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/np/xyxy2xywh.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | 3 | 4 | def bbox_xyxy2xywh(box): 5 | xywh_box = np.empty_like(box) 6 | xywh_box[..., 0] = box[..., 0] 7 | xywh_box[..., 1] = box[..., 1] 8 | xywh_box[..., 2] = box[..., 2] - box[..., 0] 9 | xywh_box[..., 3] = box[..., 3] - box[..., 1] 10 | return xywh_box 11 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/scale_and_translate.py: -------------------------------------------------------------------------------- 1 | def bbox_scale_and_translate(bbox, scale, input_center, output_center): 2 | ''' 3 | (i - input_center) * scale = o - output_center 4 | :return XYXY format 5 | ''' 6 | x1, y1, x2, y2 = bbox 7 | ic_x, ic_y = input_center 8 | oc_x, oc_y = output_center 9 | s_x, s_y = scale 10 | o_x1 = oc_x + (x1 - ic_x) * s_x 11 | o_y1 = oc_y + (y1 - ic_y) * s_y 12 | o_x2 = oc_x + (x2 - ic_x) * s_x 13 | o_y2 = oc_y + (y2 - ic_y) * s_y 14 | return (o_x1, o_y1, o_x2, o_y2) 15 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/utility/__pycache__/image.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/utility/__pycache__/image.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/utility/__pycache__/image.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/utility/__pycache__/image.cpython-39.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/utility/aligned/np/image.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | 3 | 4 | def bounding_box_fit_in_image_boundary_(bbox_: np.ndarray, image_size): 5 | min_x = 0 6 | min_y = 0 7 | max_x = image_size[0] - 1 8 | max_y = image_size[1] - 1 9 | bbox_[0] = np.minimum(np.maximum(bbox_[0], min_x), max_x) 10 | bbox_[1] = np.minimum(np.maximum(bbox_[1], min_y), max_y) 11 | bbox_[2] = np.minimum(np.maximum(bbox_[2], min_x), max_x) 12 | bbox_[3] = np.minimum(np.maximum(bbox_[3], min_y), max_y) 13 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/utility/half_pixel_offset/__pycache__/image.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/utility/half_pixel_offset/__pycache__/image.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/utility/half_pixel_offset/__pycache__/image.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/utility/half_pixel_offset/__pycache__/image.cpython-39.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/area.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | 3 | 4 | def bbox_compute_area_numpy_vectorized(bbox: np.ndarray): 5 | return np.prod(bbox[:, 2:] - bbox[:, :2], axis=1) 6 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/intersection.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | 3 | 4 | def bbox_compute_intersection_numpy_vectorized(bbox_a: np.ndarray, bbox_b: np.ndarray): 5 | intersection = np.concatenate((np.maximum(bbox_a[..., :2], bbox_b[..., :2]), np.minimum(bbox_a[..., 2:], bbox_b[..., 2:])), axis=-1) 6 | intersection[(intersection[..., 2] - intersection[..., 0]) <= 0, :] = 0 7 | intersection[(intersection[..., 3] - intersection[..., 1]) <= 0, :] = 0 8 | return intersection 9 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/iou.py: -------------------------------------------------------------------------------- 1 | # import numpy as np 2 | 3 | # from .intersection import bbox_compute_intersection_numpy_vectorized 4 | # from .area import bbox_compute_area_numpy_vectorized 5 | 6 | 7 | # def bbox_compute_iou_numpy_vectorized(bbox_a: np.ndarray, bbox_b: np.ndarray): 8 | # intersection = bbox_compute_intersection_numpy_vectorized(bbox_a, bbox_b) 9 | # intersection_area = bbox_compute_area_numpy_vectorized(intersection) 10 | # union_area = bbox_compute_area_numpy_vectorized(bbox_a) + bbox_compute_area_numpy_vectorized(bbox_b) - intersection_area 11 | # return intersection_area / union_area 12 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/__pycache__/cxcywh_to_xyxy.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/vectorized/torch/__pycache__/cxcywh_to_xyxy.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/__pycache__/cxcywh_to_xyxy.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/vectorized/torch/__pycache__/cxcywh_to_xyxy.cpython-39.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/__pycache__/intersection.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/vectorized/torch/__pycache__/intersection.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/__pycache__/intersection.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/vectorized/torch/__pycache__/intersection.cpython-39.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/__pycache__/scale_and_translate.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/vectorized/torch/__pycache__/scale_and_translate.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/__pycache__/scale_and_translate.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/vectorized/torch/__pycache__/scale_and_translate.cpython-39.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/__pycache__/validity.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/vectorized/torch/__pycache__/validity.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/__pycache__/validity.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/vectorized/torch/__pycache__/validity.cpython-39.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/__pycache__/xyxy_to_cxcywh.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/vectorized/torch/__pycache__/xyxy_to_cxcywh.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/__pycache__/xyxy_to_cxcywh.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/vectorized/torch/__pycache__/xyxy_to_cxcywh.cpython-39.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/cxcywh_to_xyxy.py: -------------------------------------------------------------------------------- 1 | import torch 2 | 3 | 4 | def box_cxcywh_to_xyxy(x: torch.Tensor): 5 | x_c, y_c, w, h = x.unbind(-1) 6 | out = torch.empty_like(x) 7 | half_w = 0.5 * w 8 | half_h = 0.5 * h 9 | out[..., 0] = (x_c - half_w) 10 | out[..., 1] = (y_c - half_h) 11 | out[..., 2] = (x_c + half_w) 12 | out[..., 3] = (y_c + half_h) 13 | return out 14 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/intersection.py: -------------------------------------------------------------------------------- 1 | import torch 2 | 3 | 4 | def bbox_compute_intersection_vectorized(bbox_a: torch.Tensor, bbox_b: torch.Tensor): 5 | intersection = torch.cat((torch.maximum(bbox_a[..., :2], bbox_b[..., :2]), torch.minimum(bbox_a[..., 2:], bbox_b[..., 2:])), dim=-1) 6 | intersection[(intersection[..., 2] - intersection[..., 0]) <= 0, ...] = 0 7 | intersection[(intersection[..., 3] - intersection[..., 1]) <= 0, ...] = 0 8 | return intersection 9 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/iou.py: -------------------------------------------------------------------------------- 1 | import torch 2 | from .intersection import bbox_compute_intersection_vectorized 3 | 4 | 5 | def _compute_area(bbox): 6 | return torch.prod(bbox[..., 2:] - bbox[..., :2], dim=-1) 7 | 8 | 9 | def bbox_compute_iou_vectorized(bbox_a: torch.Tensor, bbox_b: torch.Tensor): 10 | intersection = bbox_compute_intersection_vectorized(bbox_a, bbox_b) 11 | intersection_area = _compute_area(intersection) 12 | union_area = _compute_area(bbox_a) + _compute_area(bbox_b) - intersection_area 13 | return intersection_area / union_area 14 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/scale_and_translate.py: -------------------------------------------------------------------------------- 1 | import torch 2 | 3 | 4 | def bbox_scale_and_translate_vectorized(bbox, scale, input_center, output_center): 5 | """ 6 | (i - input_center) * scale = o - output_center 7 | Args: 8 | bbox (torch.Tensor): (n, 4) 9 | scale (torch.Tensor): (n, 2) 10 | input_center (torch.Tensor): (n, 2) 11 | output_center (torch.Tensor): (n, 2) 12 | Returns: 13 | torch.Tensor: scaled torch tensor, (n, 4) 14 | """ 15 | out_bbox = torch.empty_like(bbox) 16 | out_bbox[..., ::2] = bbox[..., ::2] - input_center[..., (0, )] 17 | out_bbox[..., ::2] *= scale[..., (0, )] 18 | out_bbox[..., ::2] += output_center[..., (0, )] 19 | 20 | out_bbox[..., 1::2] = bbox[..., 1::2] - input_center[..., (1, )] 21 | out_bbox[..., 1::2] *= scale[..., (1, )] 22 | out_bbox[..., 1::2] += output_center[..., (1, )] 23 | return out_bbox 24 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/utility/aligned/image.py: -------------------------------------------------------------------------------- 1 | import torch 2 | 3 | 4 | def bbox_restrict_in_image_boundary_(bbox: torch.Tensor, image_size): 5 | torch.clamp_min_(bbox[..., :2], 0) 6 | torch.clamp_max_(bbox[..., 2], image_size[0] - 1) 7 | torch.clamp_max_(bbox[..., 3], image_size[1] - 1) 8 | return bbox 9 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/utility/half_pixel_offset/__pycache__/image.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/vectorized/torch/utility/half_pixel_offset/__pycache__/image.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/utility/half_pixel_offset/__pycache__/image.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/spatial/vectorized/torch/utility/half_pixel_offset/__pycache__/image.cpython-39.pyc -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/utility/half_pixel_offset/image.py: -------------------------------------------------------------------------------- 1 | import torch 2 | 3 | 4 | def bbox_restrict_in_image_boundary_(bbox: torch.Tensor, image_size): 5 | torch.clamp_min_(bbox[..., :2], 0.5) 6 | torch.clamp_max_(bbox[..., 2], image_size[0] - 0.5) 7 | torch.clamp_max_(bbox[..., 3], image_size[1] - 0.5) 8 | return bbox 9 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/validity.py: -------------------------------------------------------------------------------- 1 | import torch 2 | 3 | 4 | def bbox_is_valid_vectorized(bbox: torch.Tensor): 5 | validity = bbox[..., :2] < bbox[..., 2:] 6 | return torch.logical_and(validity[..., 0], validity[..., 1]) 7 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/torch/xyxy_to_cxcywh.py: -------------------------------------------------------------------------------- 1 | import torch 2 | 3 | 4 | def box_xyxy_to_cxcywh(x: torch.Tensor): 5 | x0, y0, x1, y1 = x.unbind(-1) 6 | out = torch.empty_like(x) 7 | out[..., 0] = (x0 + x1) / 2 8 | out[..., 1] = (y0 + y1) / 2 9 | out[..., 2] = (x1 - x0) 10 | out[..., 3] = (y1 - y0) 11 | return out 12 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/vectorized/validity.py: -------------------------------------------------------------------------------- 1 | # import numpy as np 2 | 3 | 4 | # def bbox_is_valid_vectorized(bbox): 5 | # validity = bbox[:, :2] < bbox[:, 2:] 6 | # return np.logical_and(validity[:, 0], validity[:, 1]) 7 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/xywh2cxcywh.py: -------------------------------------------------------------------------------- 1 | def bbox_xywh2cxcywh(bbox): 2 | cx = bbox[0] + bbox[2] / 2 3 | cy = bbox[1] + bbox[3] / 2 4 | return (cx, cy, bbox[2], bbox[3]) 5 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/xywh2xyxy.py: -------------------------------------------------------------------------------- 1 | def bbox_xywh2xyxy(bbox): 2 | return (bbox[0], bbox[1], bbox[2] + bbox[0], bbox[3] + bbox[1]) 3 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/xyxy2cxcywh.py: -------------------------------------------------------------------------------- 1 | def bbox_xyxy2cxcywh(bbox): 2 | from .xyxy2xywh import bbox_xyxy2xywh 3 | from .xywh2cxcywh import bbox_xywh2cxcywh 4 | return bbox_xywh2cxcywh(bbox_xyxy2xywh(bbox)) 5 | -------------------------------------------------------------------------------- /data/operator/bbox/spatial/xyxy2xywh.py: -------------------------------------------------------------------------------- 1 | def bbox_xyxy2xywh(bbox): 2 | return (bbox[0], bbox[1], bbox[2] - bbox[0], bbox[3] - bbox[1]) 3 | -------------------------------------------------------------------------------- /data/operator/bbox/transform/pixel_coordinate_system/mapping.py: -------------------------------------------------------------------------------- 1 | def bbox_pixel_coordinate_system_aligned_to_half_pixel_offset(bbox): 2 | return tuple(v + 0.5 for v in bbox) 3 | 4 | 5 | def bbox_pixel_coordinate_system_half_pixel_offset_to_aligned(bbox): 6 | return tuple(v - 0.5 for v in bbox) 7 | -------------------------------------------------------------------------------- /data/operator/bbox/transform/rasterize/aligned.py: -------------------------------------------------------------------------------- 1 | def bbox_rasterize_aligned(bbox): 2 | return tuple(int(round(v)) for v in bbox) 3 | -------------------------------------------------------------------------------- /data/operator/bbox/transform/rasterize/half_pixel_offset.py: -------------------------------------------------------------------------------- 1 | def bbox_rasterize_half_pixel_offset(bbox): 2 | return tuple(int(v) for v in bbox) 3 | -------------------------------------------------------------------------------- /data/operator/bbox/transform/spatialize/__pycache__/half_pixel_offset.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/bbox/transform/spatialize/__pycache__/half_pixel_offset.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/bbox/transform/spatialize/aligned.py: -------------------------------------------------------------------------------- 1 | from data.types.pixel_definition import PixelDefinition 2 | 3 | 4 | def bbox_spatialize_aligned_xyxy(bbox, pixel_definition=PixelDefinition.Point): 5 | if pixel_definition == PixelDefinition.Point: 6 | return bbox 7 | else: 8 | return (bbox[0] - 0.5, bbox[1] - 0.5, bbox[2] + 0.5, bbox[3] + 0.5) 9 | 10 | 11 | def bbox_spatialize_aligned_xyxy_pixel_as_point(bbox): 12 | return bbox 13 | 14 | 15 | def bbox_spatialize_aligned_xyxy_pixel_as_region(bbox): 16 | return (bbox[0] - 0.5, bbox[1] - 0.5, bbox[2] + 0.5, bbox[3] + 0.5) 17 | 18 | 19 | def bbox_spatialize_aligned_polygon(bbox): 20 | return bbox 21 | -------------------------------------------------------------------------------- /data/operator/bbox/transform/spatialize/half_pixel_offset.py: -------------------------------------------------------------------------------- 1 | from data.types.pixel_definition import PixelDefinition 2 | 3 | 4 | def bbox_spatialize_half_pixel_offset_xyxy(bbox, pixel_definition=PixelDefinition.Point): 5 | if pixel_definition == PixelDefinition.Point: 6 | return (bbox[0] + 0.5, bbox[1] + 0.5, bbox[2] + 0.5, bbox[3] + 0.5) 7 | else: 8 | return (bbox[0], bbox[1], bbox[2] + 1, bbox[3] + 1) 9 | 10 | 11 | def bbox_spatialize_half_pixel_offset_xyxy_pixel_as_point(bbox): 12 | return (bbox[0] + 0.5, bbox[1] + 0.5, bbox[2] + 0.5, bbox[3] + 0.5) 13 | 14 | 15 | def bbox_spatialize_half_pixel_offset_xyxy_pixel_as_region(bbox): 16 | return (bbox[0], bbox[1], bbox[2] + 1, bbox[3] + 1) 17 | 18 | 19 | def bbox_spatialize_half_pixel_offset_polygon(bbox): 20 | return (v + 0.5 for v in bbox) 21 | -------------------------------------------------------------------------------- /data/operator/bbox/utility/polygon.py: -------------------------------------------------------------------------------- 1 | # from shapely.geometry import Polygon 2 | 3 | 4 | # def get_shapely_polygon_object(bbox): 5 | # assert len(bbox) % 2 == 0 6 | # points = [] 7 | # for i in range(0, len(bbox), 2): 8 | # points.append((bbox[i, i + 1])) 9 | # return Polygon(points) 10 | -------------------------------------------------------------------------------- /data/operator/bbox/validity.py: -------------------------------------------------------------------------------- 1 | def bbox_is_valid(bbox): 2 | return bbox[0] < bbox[2] and bbox[1] < bbox[3] 3 | 4 | 5 | def bbox_is_valid_xywh(bbox): 6 | return bbox[2] > 0 and bbox[3] > 0 7 | -------------------------------------------------------------------------------- /data/operator/bbox/xyxy2polygon.py: -------------------------------------------------------------------------------- 1 | def bbox_xyxy2polygon(bbox): 2 | return (bbox[0], bbox[1], bbox[0], bbox[3], bbox[2], bbox[3], bbox[2], bbox[1]) 3 | -------------------------------------------------------------------------------- /data/operator/image/pytorch/__pycache__/mean.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/image/pytorch/__pycache__/mean.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/image/pytorch/__pycache__/mean.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/image/pytorch/__pycache__/mean.cpython-39.pyc -------------------------------------------------------------------------------- /data/operator/image/pytorch/mean.py: -------------------------------------------------------------------------------- 1 | import torch 2 | 3 | 4 | def get_image_mean_nchw(image, out=None): 5 | """ 6 | Args: 7 | image(torch.Tensor): (n, c, h, w) 8 | """ 9 | return torch.mean(image, dim=(2, 3), out=out) 10 | 11 | 12 | def get_image_mean_chw(image, out=None): 13 | """ 14 | Args: 15 | image(torch.Tensor): (c, h, w) 16 | """ 17 | return torch.mean(image, dim=(1, 2), out=out) 18 | 19 | 20 | def get_image_mean_hw(image, out=None): 21 | """ 22 | Args: 23 | image(torch.Tensor): (h, w) 24 | """ 25 | return torch.mean(image, out=out) 26 | 27 | 28 | def get_image_mean(image, out=None): 29 | assert image.ndim in (2, 3, 4) 30 | if image.ndim == 2: 31 | return torch.mean(image, out=out) 32 | elif image.ndim == 3: 33 | return get_image_mean_chw(image, out) 34 | else: 35 | return get_image_mean_nchw(image, out) 36 | -------------------------------------------------------------------------------- /data/operator/image_and_bbox/half_pixel_center/vectorized/pytorch/__pycache__/scale_and_translate.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/image_and_bbox/half_pixel_center/vectorized/pytorch/__pycache__/scale_and_translate.cpython-37.pyc -------------------------------------------------------------------------------- /data/operator/image_and_bbox/half_pixel_center/vectorized/pytorch/__pycache__/scale_and_translate.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/operator/image_and_bbox/half_pixel_center/vectorized/pytorch/__pycache__/scale_and_translate.cpython-39.pyc -------------------------------------------------------------------------------- /data/tracking/_common.py: -------------------------------------------------------------------------------- 1 | from data.operator.bbox.spatial.vectorized.torch.utility.normalize import BoundingBoxNormalizationHelper 2 | from data.types.bounding_box_format import BoundingBoxFormat 3 | 4 | 5 | def _get_bounding_box_normalization_helper(network_config: dict): 6 | bounding_box_config = network_config['data']['bounding_box'] 7 | return BoundingBoxNormalizationHelper( 8 | bounding_box_config['normalization_protocol']['interval'], 9 | bounding_box_config['normalization_protocol']['range'], 10 | ) 11 | 12 | 13 | def _get_bounding_box_format(network_config: dict): 14 | bounding_box_config = network_config['data']['bounding_box'] 15 | return BoundingBoxFormat[bounding_box_config['format']] 16 | -------------------------------------------------------------------------------- /data/tracking/methods/SiamFC/common/__pycache__/siamfc_curation.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/tracking/methods/SiamFC/common/__pycache__/siamfc_curation.cpython-37.pyc -------------------------------------------------------------------------------- /data/tracking/methods/SiamFC/common/__pycache__/siamfc_curation.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/tracking/methods/SiamFC/common/__pycache__/siamfc_curation.cpython-39.pyc -------------------------------------------------------------------------------- /data/tracking/methods/SiamFC/common/image_decoding.py: -------------------------------------------------------------------------------- 1 | import torchvision.io.image 2 | 3 | 4 | class SiamFCImageDecodingProcessor: 5 | def __init__(self, post_processor=None): 6 | self.post_processor = post_processor 7 | 8 | def __call__(self, z_image_path, z_bbox, x_image_path, x_bbox, is_positive): 9 | z_image = torchvision.io.image.read_image(z_image_path, torchvision.io.image.ImageReadMode.RGB) 10 | if z_image_path != x_image_path: 11 | x_image = torchvision.io.image.read_image(x_image_path, torchvision.io.image.ImageReadMode.RGB) 12 | else: 13 | x_image = z_image 14 | data = (z_image, z_bbox, x_image, x_bbox, is_positive) 15 | if self.post_processor is not None: 16 | return self.post_processor(*data) 17 | else: 18 | return data 19 | -------------------------------------------------------------------------------- /data/tracking/methods/SiamFC/common/metric_collector.py: -------------------------------------------------------------------------------- 1 | import torch 2 | from core.run.metric_logger.context import get_logger 3 | 4 | 5 | class SiamFCMetricCollector: 6 | @staticmethod 7 | def pre_processing(samples, targets, miscellanies_on_host, miscellanies_on_device): 8 | positive_samples = miscellanies_on_host['is_positive'] 9 | get_logger().log({'pos_samples_ratio': torch.sum(positive_samples) / len(positive_samples)}) 10 | return samples, targets, miscellanies_on_host, miscellanies_on_device 11 | -------------------------------------------------------------------------------- /data/tracking/methods/SiamFC/pipeline/__pycache__/pipeline.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/tracking/methods/SiamFC/pipeline/__pycache__/pipeline.cpython-37.pyc -------------------------------------------------------------------------------- /data/tracking/methods/SiamFC/pipeline/__pycache__/pipeline.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/tracking/methods/SiamFC/pipeline/__pycache__/pipeline.cpython-39.pyc -------------------------------------------------------------------------------- /data/tracking/methods/SiamFC/pipeline/__pycache__/processor.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/tracking/methods/SiamFC/pipeline/__pycache__/processor.cpython-37.pyc -------------------------------------------------------------------------------- /data/tracking/methods/SiamFC/pipeline/__pycache__/processor.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/tracking/methods/SiamFC/pipeline/__pycache__/processor.cpython-39.pyc -------------------------------------------------------------------------------- /data/tracking/methods/_common/builders/build_dataloader.py: -------------------------------------------------------------------------------- 1 | import data.utils.data_loader 2 | from data.utils.tensor_movement_helper import TensorFilteringByIndices 3 | 4 | 5 | def build_dataloader(batch_size, runtime_vars, dataset, event_register, worker_init_fn, collate_fn): 6 | do_shuffle = False # randomness has been provided in other places 7 | device_tensor_filter = TensorFilteringByIndices((0, 1, 3)) 8 | 9 | return data.utils.data_loader.build_dataloader(dataset, batch_size, runtime_vars.num_workers, runtime_vars.device, 10 | runtime_vars.local_rank, runtime_vars.distributed, 11 | event_register, do_shuffle, device_tensor_filter, 12 | worker_init_fn, collate_fn, runtime_vars.persistent_data_workers, 13 | runtime_vars.pin_memory) 14 | -------------------------------------------------------------------------------- /data/tracking/methods/_common/builders/dataset_sampling_weight.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | 3 | 4 | def get_dataset_sampling_weight(dataset_parameters): 5 | dataset_sampling_weights = np.empty(len(dataset_parameters), dtype=np.float64) 6 | for index, dataset_parameter in enumerate(dataset_parameters): 7 | sampling_weight = 1 8 | if 'sampling' in dataset_parameter: 9 | sampling_parameters = dataset_parameter['sampling'] 10 | if 'weight' in sampling_parameters: 11 | sampling_weight *= sampling_parameters['weight'] 12 | dataset_sampling_weights[index] = sampling_weight 13 | 14 | dataset_sampling_weights = dataset_sampling_weights / dataset_sampling_weights.sum() 15 | return dataset_sampling_weights 16 | -------------------------------------------------------------------------------- /data/tracking/methods/_common/builders/reproducibility.py: -------------------------------------------------------------------------------- 1 | def get_reproducibility_parameters(sampling_config): 2 | rng_engine_seed = None 3 | reset_per_epoch = False 4 | if 'randomness_controlling' in sampling_config: 5 | rng_config = sampling_config['randomness_controlling']['RNG'] 6 | if 'fixed_seed' in rng_config: 7 | rng_engine_seed = rng_config['fixed_seed'] 8 | 9 | if 'reset_per_epoch' in rng_config and rng_config['reset_per_epoch']: 10 | reset_per_epoch = True 11 | return rng_engine_seed, reset_per_epoch 12 | -------------------------------------------------------------------------------- /data/tracking/methods/sequential/__pycache__/curation_parameter_provider.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/tracking/methods/sequential/__pycache__/curation_parameter_provider.cpython-37.pyc -------------------------------------------------------------------------------- /data/tracking/methods/sequential/__pycache__/curation_parameter_provider.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/tracking/methods/sequential/__pycache__/curation_parameter_provider.cpython-39.pyc -------------------------------------------------------------------------------- /data/tracking/methods/sequential/builders/components/curation_parameter_provider.py: -------------------------------------------------------------------------------- 1 | from ...curation_parameter_provider import SiamFCCurationParameterSimpleProvider 2 | 3 | 4 | def build_curation_parameter_provider(evaluation_config, default_area_factor): 5 | tracking_curation_process_method_config = evaluation_config['curation_parameter_provider'] 6 | 7 | tracking_curation_process_method = tracking_curation_process_method_config['type'] 8 | min_object_size = tracking_curation_process_method_config['min_object_size'] 9 | if isinstance(min_object_size, (int, float)): 10 | min_object_size = (min_object_size, min_object_size) 11 | 12 | if tracking_curation_process_method == 'simple': 13 | return SiamFCCurationParameterSimpleProvider(default_area_factor, min_object_size) 14 | else: 15 | raise NotImplementedError(tracking_curation_process_method) 16 | -------------------------------------------------------------------------------- /data/tracking/methods/sequential/metric_collector/utils/center_location_error.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | 3 | 4 | def calculate_center_location_error_torch_vectorized(pred_bb, anno_bb, normalized=False): 5 | pred_center = (pred_bb[:, :2] + pred_bb[:, 2:]) / 2. 6 | anno_center = (anno_bb[:, :2] + anno_bb[:, 2:]) / 2. 7 | 8 | if normalized: 9 | anno_wh = anno_bb[:, 2:] - anno_bb[:, :2] 10 | pred_center = pred_center / anno_wh 11 | anno_center = anno_center / anno_wh 12 | 13 | err_center = np.sqrt(((pred_center - anno_center)**2).sum(1)) 14 | return err_center 15 | -------------------------------------------------------------------------------- /data/tracking/sampler/SiamFC/type.py: -------------------------------------------------------------------------------- 1 | from enum import Enum, auto 2 | 3 | 4 | class SiamesePairSamplingMethod(Enum): 5 | interval = auto() 6 | causal = auto() 7 | -------------------------------------------------------------------------------- /data/tracking/sampler/_sampling_algos/sequence_sampling/common/_algo.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | from data.tracking.sampler._sampling_algos.stateless.random import sampling, sampling_with_mask 3 | 4 | 5 | def sample_one_positive(length, mask, rng_engine: np.random.Generator): 6 | if mask is None: 7 | z_index = sampling(length, rng_engine) 8 | else: 9 | z_index = sampling_with_mask(mask, rng_engine) 10 | 11 | return z_index 12 | -------------------------------------------------------------------------------- /data/tracking/sampler/_sampling_algos/sequence_sampling/random/SOT.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | from datasets.SOT.dataset import SingleObjectTrackingDatasetSequence_MemoryMapped 3 | from data.tracking.sampler._sampling_algos.sequence_sampling.common._dummy_bbox import generate_dummy_bbox_xyxy 4 | 5 | 6 | def get_one_random_sample_in_single_object_tracking_dataset_sequence(sequence: SingleObjectTrackingDatasetSequence_MemoryMapped, rng_engine: np.random.Generator): 7 | index_of_frame = rng_engine.integers(0, len(sequence)) 8 | frame = sequence[index_of_frame] 9 | bbox_validity = frame.get_bounding_box_validity_flag() 10 | if bbox_validity is not None and not bbox_validity: 11 | return frame.get_image_path(), generate_dummy_bbox_xyxy(frame.get_image_size(), rng_engine) 12 | else: 13 | return frame.get_image_path(), frame.get_bounding_box() 14 | -------------------------------------------------------------------------------- /data/tracking/sampler/_sampling_algos/sequence_sampling/sequential/_common.py: -------------------------------------------------------------------------------- 1 | from data.operator.bbox.validity import bbox_is_valid 2 | from data.operator.bbox.spatial.utility.half_pixel_offset.image import bounding_box_is_intersect_with_image 3 | 4 | 5 | def _check_bounding_box_validity(bounding_box, bounding_box_validity_flag, image_size): 6 | if bounding_box_validity_flag is not None and not bounding_box_validity_flag: 7 | bounding_box = None 8 | elif bounding_box is not None: 9 | assert bbox_is_valid(bounding_box) and bounding_box_is_intersect_with_image(bounding_box, image_size) 10 | return bounding_box 11 | -------------------------------------------------------------------------------- /data/tracking/sampler/_sampling_algos/stateful/infinite_loop_wrapper.py: -------------------------------------------------------------------------------- 1 | class Sampling_InfinteLoopWrapper: 2 | def __init__(self, sampling_algo): 3 | self.sampling_algo = sampling_algo 4 | 5 | def get(self): 6 | return self.sampling_algo.current() 7 | 8 | def move_next(self): 9 | if not self.sampling_algo.move_next(): 10 | self.sampling_algo.reset() 11 | assert self.sampling_algo.move_next() 12 | -------------------------------------------------------------------------------- /data/tracking/sampler/_sampling_algos/stateful/sequential.py: -------------------------------------------------------------------------------- 1 | class SamplingAlgo_SequentialSampling: 2 | def __init__(self, length): 3 | assert length > 0 4 | self.position = -1 5 | self.length_ = length 6 | 7 | def __getstate__(self): 8 | return self.position, self.length_ 9 | 10 | def __setstate__(self, state): 11 | position, length = state 12 | self.position = position 13 | self.length_ = length 14 | 15 | def move_next(self): 16 | self.position += 1 17 | return self.position < self.length_ 18 | 19 | def current(self): 20 | if not 0 <= self.position < self.length_: 21 | raise IndexError 22 | return self.position 23 | 24 | def reset(self): 25 | self.position = -1 26 | 27 | def length(self): 28 | return self.length_ 29 | -------------------------------------------------------------------------------- /data/types/__pycache__/pixel_coordinate_system.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/types/__pycache__/pixel_coordinate_system.cpython-37.pyc -------------------------------------------------------------------------------- /data/types/__pycache__/pixel_coordinate_system.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/types/__pycache__/pixel_coordinate_system.cpython-39.pyc -------------------------------------------------------------------------------- /data/types/__pycache__/pixel_definition.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/types/__pycache__/pixel_definition.cpython-37.pyc -------------------------------------------------------------------------------- /data/types/__pycache__/pixel_definition.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/data/types/__pycache__/pixel_definition.cpython-39.pyc -------------------------------------------------------------------------------- /data/types/bounding_box_coordinate_system.py: -------------------------------------------------------------------------------- 1 | import enum 2 | 3 | 4 | class BoundingBoxCoordinateSystem(enum.Enum): 5 | Rasterized = enum.auto() # index of pixels 6 | Spatial = enum.auto() 7 | -------------------------------------------------------------------------------- /data/types/bounding_box_format.py: -------------------------------------------------------------------------------- 1 | from enum import Enum, auto 2 | 3 | 4 | class BoundingBoxFormat(Enum): 5 | r''' 6 | XYWH: [x, y, w, h] 7 | XYXY: [x1, y1, x2, y2] 8 | Polygon: [x1, y1, x2, y2, x3, y3, x4, y4] 9 | ''' 10 | XYWH = auto() 11 | XYXY = auto() 12 | Polygon = auto() 13 | CXCYWH = auto() 14 | -------------------------------------------------------------------------------- /data/types/pixel_coordinate_system.py: -------------------------------------------------------------------------------- 1 | import enum 2 | 3 | 4 | class PixelCoordinateSystem(enum.Enum): 5 | Aligned = enum.auto() 6 | HalfPixelOffset = enum.auto() 7 | -------------------------------------------------------------------------------- /data/types/pixel_definition.py: -------------------------------------------------------------------------------- 1 | import enum 2 | 3 | 4 | class PixelDefinition(enum.Enum): 5 | Point = enum.auto() 6 | Region = enum.auto() 7 | -------------------------------------------------------------------------------- /data/utils/dataset.py: -------------------------------------------------------------------------------- 1 | from datasets.easy_builder.builder import build_datasets_from_config 2 | from miscellanies.torch.distributed import is_dist_available_and_initialized, is_main_process 3 | import torch.distributed 4 | 5 | 6 | def build_dataset_from_config_distributed_awareness(config: dict, user_defined_parameters_handler): 7 | if not is_dist_available_and_initialized(): 8 | return build_datasets_from_config(config, user_defined_parameters_handler) 9 | 10 | if is_main_process(): 11 | datasets = build_datasets_from_config(config, user_defined_parameters_handler) 12 | 13 | torch.distributed.barrier() 14 | 15 | if not is_main_process(): 16 | datasets = build_datasets_from_config(config, user_defined_parameters_handler) 17 | 18 | return datasets 19 | -------------------------------------------------------------------------------- /main/__pycache__/paths.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/main/__pycache__/paths.cpython-37.pyc -------------------------------------------------------------------------------- /main/__pycache__/paths.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/main/__pycache__/paths.cpython-39.pyc -------------------------------------------------------------------------------- /main/paths.py: -------------------------------------------------------------------------------- 1 | r""" 2 | Get root path & root config path & 3 | """ 4 | import os.path as osp 5 | 6 | import sys # isort:skip 7 | 8 | module_name = "main" 9 | p = __file__ 10 | while osp.basename(p) != module_name: 11 | p = osp.dirname(p) 12 | 13 | # video_analyst root 14 | ROOT_PATH = osp.dirname(p) 15 | ROOT_CFG = osp.join(ROOT_PATH, 'config.yaml') 16 | sys.path.insert(0, ROOT_PATH) # isort:skip 17 | -------------------------------------------------------------------------------- /models/backbone/__pycache__/builder.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/backbone/__pycache__/builder.cpython-38.pyc -------------------------------------------------------------------------------- /models/backbone/__pycache__/builder.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/backbone/__pycache__/builder.cpython-39.pyc -------------------------------------------------------------------------------- /models/backbone/__pycache__/swin_transformer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/backbone/__pycache__/swin_transformer.cpython-37.pyc -------------------------------------------------------------------------------- /models/backbone/__pycache__/swin_transformer.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/backbone/__pycache__/swin_transformer.cpython-38.pyc -------------------------------------------------------------------------------- /models/backbone/__pycache__/swin_transformer.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/backbone/__pycache__/swin_transformer.cpython-39.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/modules/__pycache__/cross_attention.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/modules/__pycache__/cross_attention.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/modules/__pycache__/cross_attention_block.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/modules/__pycache__/cross_attention_block.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/modules/__pycache__/mlp.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/modules/__pycache__/mlp.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/modules/__pycache__/self_attention.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/modules/__pycache__/self_attention.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/modules/__pycache__/self_attention_block.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/modules/__pycache__/self_attention_block.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/modules/decoder/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/modules/decoder/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/modules/decoder/__pycache__/concatenated_fusion.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/modules/decoder/__pycache__/concatenated_fusion.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/modules/encoder/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/modules/encoder/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/modules/encoder/concatenated_fusion/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/modules/encoder/concatenated_fusion/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/modules/encoder/concatenated_fusion/__pycache__/concatenated_fusion.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/modules/encoder/concatenated_fusion/__pycache__/concatenated_fusion.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/modules/mlp.py: -------------------------------------------------------------------------------- 1 | import torch.nn as nn 2 | 3 | 4 | class Mlp(nn.Module): 5 | """ Multilayer perceptron.""" 6 | 7 | def __init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.): 8 | super().__init__() 9 | out_features = out_features or in_features 10 | hidden_features = hidden_features or in_features 11 | self.fc1 = nn.Linear(in_features, hidden_features) 12 | self.act = act_layer() 13 | self.fc2 = nn.Linear(hidden_features, out_features) 14 | self.drop = nn.Dropout(drop) 15 | 16 | def forward(self, x): 17 | ''' 18 | Args: 19 | x (torch.Tensor): (B, L, C), input tensor 20 | Returns: 21 | torch.Tensor: (B, L, C), output tensor 22 | ''' 23 | x = self.fc1(x) 24 | x = self.act(x) 25 | x = self.drop(x) 26 | x = self.fc2(x) 27 | x = self.drop(x) 28 | return x 29 | -------------------------------------------------------------------------------- /models/methods/TATrack/positional_encoding/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/positional_encoding/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/positional_encoding/__pycache__/learned.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/positional_encoding/__pycache__/learned.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/positional_encoding/builder.py: -------------------------------------------------------------------------------- 1 | def build_position_embedding(config, z_shape, x_shape, dim): 2 | if not config['position_embedding']: 3 | return None, None 4 | 5 | if config['position_type'] == 'sine': 6 | from .sine import SinePositionEmbedding 7 | 8 | with_branch_index = config['with_branch_index'] 9 | 10 | return SinePositionEmbedding(dim, (z_shape[1], z_shape[0]), 0 if with_branch_index else None), \ 11 | SinePositionEmbedding(dim, (x_shape[1], x_shape[0]), 1 if with_branch_index else None) 12 | elif config['position_type'] == 'learned': 13 | from .learned import Learned2DPositionalEncoder 14 | 15 | return Learned2DPositionalEncoder(dim, z_shape[0], z_shape[1]), \ 16 | Learned2DPositionalEncoder(dim, x_shape[0], x_shape[1]) 17 | else: 18 | raise ValueError('Unknown positional embedding type: {}'.format(config['position_type'])) 19 | -------------------------------------------------------------------------------- /models/methods/TATrack/positional_encoding/learned.py: -------------------------------------------------------------------------------- 1 | import torch 2 | import torch.nn as nn 3 | from timm.models.layers import trunc_normal_ 4 | 5 | 6 | class Learned2DPositionalEncoder(nn.Module): 7 | def __init__(self, dim, w, h): 8 | super(Learned2DPositionalEncoder, self).__init__() 9 | self.w_pos = nn.Parameter(torch.empty(w, dim)) 10 | self.h_pos = nn.Parameter(torch.empty(h, dim)) 11 | trunc_normal_(self.w_pos, std=0.02) 12 | trunc_normal_(self.h_pos, std=0.02) 13 | 14 | def forward(self): 15 | w = self.w_pos.shape[0] 16 | h = self.h_pos.shape[0] 17 | return (self.w_pos[None, :, :] + self.h_pos[:, None, :]).view(h * w, -1) 18 | -------------------------------------------------------------------------------- /models/methods/TATrack/positional_encoding/untied/__pycache__/absolute.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/positional_encoding/untied/__pycache__/absolute.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/TATrack/positional_encoding/untied/__pycache__/relative.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/TATrack/positional_encoding/untied/__pycache__/relative.cpython-37.pyc -------------------------------------------------------------------------------- /models/methods/__pycache__/builder.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/__pycache__/builder.cpython-38.pyc -------------------------------------------------------------------------------- /models/methods/__pycache__/builder.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/methods/__pycache__/builder.cpython-39.pyc -------------------------------------------------------------------------------- /models/utils/__pycache__/drop_path.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/utils/__pycache__/drop_path.cpython-37.pyc -------------------------------------------------------------------------------- /models/utils/__pycache__/drop_path.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/utils/__pycache__/drop_path.cpython-38.pyc -------------------------------------------------------------------------------- /models/utils/__pycache__/drop_path.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/utils/__pycache__/drop_path.cpython-39.pyc -------------------------------------------------------------------------------- /models/utils/scheduler/__pycache__/linear_scheduler.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/utils/scheduler/__pycache__/linear_scheduler.cpython-38.pyc -------------------------------------------------------------------------------- /models/utils/scheduler/__pycache__/linear_scheduler.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/models/utils/scheduler/__pycache__/linear_scheduler.cpython-39.pyc -------------------------------------------------------------------------------- /models/utils/scheduler/constant_warmup_scheduler.py: -------------------------------------------------------------------------------- 1 | class ConstantWarmupScheduler: 2 | def __init__(self, warmup_steps, warmup_value, ultimate_value, per_iteration): 3 | self.warmup_steps = warmup_steps 4 | self.warmup_value = warmup_value 5 | self.ultimate_value = ultimate_value 6 | self.per_iteration = per_iteration 7 | self.position = 0 8 | 9 | def state_dict(self): 10 | return self.position 11 | 12 | def load_state_dict(self, state): 13 | self.position = state 14 | 15 | def on_iteration_end(self, is_training): 16 | if is_training: 17 | if self.per_iteration: 18 | self.position += 1 19 | 20 | def on_epoch_begin(self, epoch): 21 | if not self.per_iteration: 22 | self.position = epoch 23 | 24 | def current(self): 25 | if self.position < self.warmup_steps: 26 | return self.warmup_value 27 | else: 28 | return self.ultimate_value 29 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | autoflake 2 | colorama 3 | Cython 4 | future 5 | ipython 6 | isort 7 | loguru 8 | matplotlib 9 | numba 10 | numpy 11 | opencv-python 12 | pandas 13 | pillow 14 | pycocotools 15 | pylint 16 | scikit-image 17 | scipy 18 | shapely 19 | tensorboard 20 | tqdm 21 | wget 22 | yacs 23 | yapf 24 | pre-commit 25 | fvcore 26 | timm 27 | pyyaml 28 | configparser 29 | pyzmq -------------------------------------------------------------------------------- /videoanalyst/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | __version__ = "1.0.0" -------------------------------------------------------------------------------- /videoanalyst/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/config/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /videoanalyst/config/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/config/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/config/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/config/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/config/__pycache__/config.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/config/__pycache__/config.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/config/__pycache__/config.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/config/__pycache__/config.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/config/utils.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import os 3 | 4 | from yacs.config import CfgNode 5 | 6 | from videoanalyst.utils import ensure_dir 7 | 8 | 9 | def setup(cfg: CfgNode): 10 | """Setup for working directory 11 | 12 | Parameters 13 | ---------- 14 | cfg : CfgNode 15 | task specific config 16 | """ 17 | ensure_dir(cfg["exp_save"]) 18 | cfg.auto = CfgNode() 19 | 20 | cfg.auto.exp_dir = os.path.join(cfg.exp_save, cfg.exp_name) 21 | ensure_dir(cfg.auto.exp_dir) 22 | 23 | cfg.auto.log_dir = os.path.join(cfg.auto.exp_dir, "logs") 24 | ensure_dir(cfg.auto.log_dir) 25 | 26 | cfg.auto.log_dir = os.path.join(cfg.auto.exp_dir, "snapshots") 27 | ensure_dir(cfg.auto.log_dir) 28 | 29 | cfg.auto.model_dir = os.path.join(cfg.auto.exp_dir, "datasets") 30 | ensure_dir(cfg.auto.model_dir) 31 | 32 | cfg.auto.model_dir = os.path.join(cfg.auto.exp_dir, "models") 33 | ensure_dir(cfg.auto.model_dir) 34 | -------------------------------------------------------------------------------- /videoanalyst/data/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | -------------------------------------------------------------------------------- /videoanalyst/data/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/__pycache__/adaptor_dataset.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/__pycache__/adaptor_dataset.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/__pycache__/adaptor_dataset.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/__pycache__/adaptor_dataset.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/__pycache__/builder.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/__pycache__/builder.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/datapipeline/__init__.py: -------------------------------------------------------------------------------- 1 | from .datapipeline_impl import * # noqa 2 | -------------------------------------------------------------------------------- /videoanalyst/data/datapipeline/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/datapipeline/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/datapipeline/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/datapipeline/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/datapipeline/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/datapipeline/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/datapipeline/__pycache__/builder.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/datapipeline/__pycache__/builder.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/datapipeline/__pycache__/datapipeline_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/datapipeline/__pycache__/datapipeline_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/datapipeline/__pycache__/datapipeline_base.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/datapipeline/__pycache__/datapipeline_base.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/datapipeline/datapipeline_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/data/datapipeline/datapipeline_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/datapipeline/datapipeline_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/datapipeline/datapipeline_impl/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/datapipeline/datapipeline_impl/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/datapipeline/datapipeline_impl/__pycache__/regular_datapipeline.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/datapipeline/datapipeline_impl/__pycache__/regular_datapipeline.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/datapipeline/datapipeline_impl/__pycache__/regular_datapipeline.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/datapipeline/datapipeline_impl/__pycache__/regular_datapipeline.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/__init__.py: -------------------------------------------------------------------------------- 1 | from .dataset_impl import * # noqa 2 | -------------------------------------------------------------------------------- /videoanalyst/data/dataset/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/__pycache__/builder.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/__pycache__/builder.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/__pycache__/dataset_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/__pycache__/dataset_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/__pycache__/dataset_base.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/__pycache__/dataset_base.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/coco.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/coco.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/coco.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/coco.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/davis.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/davis.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/davis.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/davis.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/got10k.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/got10k.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/got10k.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/got10k.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/ilsvrc_det.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/ilsvrc_det.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/ilsvrc_det.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/ilsvrc_det.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/ilsvrc_vid.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/ilsvrc_vid.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/ilsvrc_vid.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/ilsvrc_vid.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/lasot.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/lasot.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/lasot.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/lasot.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/trackingnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/trackingnet.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/trackingnet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/trackingnet.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/ytb_vos.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/ytb_vos.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/__pycache__/ytb_vos.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/dataset/dataset_impl/__pycache__/ytb_vos.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/dataset/dataset_impl/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /videoanalyst/data/filter/__init__.py: -------------------------------------------------------------------------------- 1 | from .filter_impl import * # noqa 2 | -------------------------------------------------------------------------------- /videoanalyst/data/filter/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/filter/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/filter/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/filter/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/filter/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/filter/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/filter/__pycache__/builder.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/filter/__pycache__/builder.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/filter/__pycache__/filter_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/filter/__pycache__/filter_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/filter/__pycache__/filter_base.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/filter/__pycache__/filter_base.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/filter/filter_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/data/filter/filter_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/filter/filter_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/filter/filter_impl/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/filter/filter_impl/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/filter/filter_impl/__pycache__/track_pair_filter.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/filter/filter_impl/__pycache__/track_pair_filter.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/filter/filter_impl/__pycache__/track_pair_filter.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/filter/filter_impl/__pycache__/track_pair_filter.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/sampler/__init__.py: -------------------------------------------------------------------------------- 1 | from .sampler_impl import * # noqa 2 | -------------------------------------------------------------------------------- /videoanalyst/data/sampler/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/sampler/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/sampler/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/sampler/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/sampler/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/sampler/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/sampler/__pycache__/builder.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/sampler/__pycache__/builder.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/sampler/__pycache__/sampler_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/sampler/__pycache__/sampler_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/sampler/__pycache__/sampler_base.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/sampler/__pycache__/sampler_base.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/sampler/sampler_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/data/sampler/sampler_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/sampler/sampler_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/sampler/sampler_impl/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/sampler/sampler_impl/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/sampler/sampler_impl/__pycache__/track_pair_sampler.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/sampler/sampler_impl/__pycache__/track_pair_sampler.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/sampler/sampler_impl/__pycache__/track_pair_sampler.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/sampler/sampler_impl/__pycache__/track_pair_sampler.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/__init__.py: -------------------------------------------------------------------------------- 1 | from .target_impl import * # noqa 2 | -------------------------------------------------------------------------------- /videoanalyst/data/target/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/__pycache__/builder.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/__pycache__/builder.cpython-38.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/__pycache__/builder.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/__pycache__/builder.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/__pycache__/target_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/__pycache__/target_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/__pycache__/target_base.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/__pycache__/target_base.cpython-38.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/__pycache__/target_base.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/__pycache__/target_base.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/target_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/target_impl/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/target_impl/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/__pycache__/densebox_target.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/target_impl/__pycache__/densebox_target.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/__pycache__/densebox_target.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/target_impl/__pycache__/densebox_target.cpython-38.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/__pycache__/densebox_target.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/target_impl/__pycache__/densebox_target.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | from .make_densebox_target import make_bbox_indices 3 | 4 | __all__ = [make_bbox_indices] 5 | -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/utils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/target_impl/utils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/utils/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/target_impl/utils/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/utils/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/target_impl/utils/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/utils/__pycache__/make_densebox_target.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/target_impl/utils/__pycache__/make_densebox_target.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/utils/__pycache__/make_densebox_target.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/target_impl/utils/__pycache__/make_densebox_target.cpython-38.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/utils/__pycache__/make_densebox_target.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/target/target_impl/utils/__pycache__/make_densebox_target.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/utils/debug_compare_densebox_target.py: -------------------------------------------------------------------------------- 1 | # import numpy as np 2 | # # from IPython import embed;embed() 3 | # from make_densebox_target import \ 4 | # make_densebox_target as make_densebox_target_old 5 | # from make_densebox_target_dev import \ 6 | # make_densebox_target as make_densebox_target_new 7 | 8 | # gt_boxes = np.asarray([[150, 250, 130, 60, 1]]) 9 | # config_dict = dict( 10 | # x_size=303, 11 | # score_size=17, 12 | # total_stride=8, 13 | # score_offset=(303 - 1 - (17 - 1) * 8) // 2, 14 | # ) 15 | 16 | # target_old = make_densebox_target_old(gt_boxes, config_dict) 17 | # target_new = make_densebox_target_new(gt_boxes, config_dict) 18 | 19 | # for v_old, v_new in zip(target_old, target_new): 20 | # v_new = v_new.numpy() 21 | # # uncomment the next line to inspect tensors in detail 22 | # # from IPython import embed;embed() 23 | # np.testing.assert_allclose(v_new, v_old, atol=1e-6, verbose=True) 24 | # print("Values closed.") 25 | -------------------------------------------------------------------------------- /videoanalyst/data/target/target_impl/utils/debug_compare_tensor.py: -------------------------------------------------------------------------------- 1 | # import numpy as np 2 | 3 | # DUMP_DIR = "dump" 4 | # tensor_prefix = "center" 5 | # tensor_suffix_old = "main" 6 | # tensor_suffix_new = "dev" 7 | 8 | # tensor_old = np.load("{}/{}_{}.npz".format(DUMP_DIR, tensor_prefix, 9 | # tensor_suffix_old), 10 | # allow_pickle=True) 11 | # tensor_new = np.load("{}/{}_{}.npz".format(DUMP_DIR, tensor_prefix, 12 | # tensor_suffix_new), 13 | # allow_pickle=True) 14 | 15 | # # uncomment the next line to inspect tensors in detail 16 | # # from IPython import embed;embed() 17 | # np.testing.assert_allclose( 18 | # tensor_new, 19 | # tensor_old, 20 | # atol=1e-6, 21 | # err_msg="Value not cloased for tensor: {}".format(tensor_prefix), 22 | # verbose=True) 23 | # print("Values cloased for tensor: {}".format(tensor_prefix)) 24 | -------------------------------------------------------------------------------- /videoanalyst/data/transformer/__init__.py: -------------------------------------------------------------------------------- 1 | from .transformer_impl import * # noqa 2 | -------------------------------------------------------------------------------- /videoanalyst/data/transformer/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/transformer/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/transformer/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/transformer/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/transformer/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/transformer/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/transformer/__pycache__/builder.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/transformer/__pycache__/builder.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/transformer/__pycache__/transformer_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/transformer/__pycache__/transformer_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/transformer/__pycache__/transformer_base.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/transformer/__pycache__/transformer_base.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/transformer/transformer_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/data/transformer/transformer_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/transformer/transformer_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/transformer/transformer_impl/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/transformer/transformer_impl/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/transformer/transformer_impl/__pycache__/common_transformer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/transformer/transformer_impl/__pycache__/common_transformer.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/transformer/transformer_impl/__pycache__/common_transformer.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/transformer/transformer_impl/__pycache__/common_transformer.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/transformer/transformer_impl/__pycache__/random_crop_transformer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/transformer/transformer_impl/__pycache__/random_crop_transformer.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/transformer/transformer_impl/__pycache__/random_crop_transformer.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/transformer/transformer_impl/__pycache__/random_crop_transformer.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /videoanalyst/data/utils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/utils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/utils/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/utils/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/utils/__pycache__/filter_box.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/utils/__pycache__/filter_box.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/data/utils/__pycache__/filter_box.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/data/utils/__pycache__/filter_box.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/data/utils/misc.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from typing import Dict 3 | 4 | 5 | def index_data(data: Dict, idx: int): 6 | r""" 7 | Arguments 8 | data: Dict 9 | data to be indexed 10 | idx: int 11 | index used for indexing in data's first dimension 12 | """ 13 | ret = dict() 14 | for k in data: 15 | ret[k] = data[k][idx] 16 | 17 | return ret 18 | -------------------------------------------------------------------------------- /videoanalyst/engine/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | -------------------------------------------------------------------------------- /videoanalyst/engine/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/builder.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | from yacs.config import CfgNode 3 | 4 | from .tester import builder as tester_builder 5 | from .trainer import builder as trainer_builder 6 | 7 | TASK_ENGINE_BUILDERS = dict( 8 | tester=tester_builder, 9 | trainer=trainer_builder, 10 | ) 11 | 12 | 13 | def build(task: str, cfg: CfgNode, engine_type: str, *args, **kwargs): 14 | """ 15 | Builder function for trainer/tester 16 | engine_type: trainer or tester 17 | """ 18 | if engine_type in TASK_ENGINE_BUILDERS: 19 | engine = TASK_ENGINE_BUILDERS[engine_type].build( 20 | task, cfg, *args, **kwargs) 21 | return engine 22 | else: 23 | raise ValueError("Invalid engine_type: %s" % engine_type) 24 | -------------------------------------------------------------------------------- /videoanalyst/engine/monitor/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | from .monitor_impl import * # noqa 3 | -------------------------------------------------------------------------------- /videoanalyst/engine/monitor/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/monitor/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/monitor/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/monitor/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/monitor/__pycache__/monitor_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/monitor/__pycache__/monitor_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/monitor/monitor_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | __all__ = [ 7 | basename(f)[:-3] for f in modules if isfile(f) 8 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 9 | ] 10 | -------------------------------------------------------------------------------- /videoanalyst/engine/monitor/monitor_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/monitor/monitor_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/monitor/monitor_impl/__pycache__/monitor_template.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/monitor/monitor_impl/__pycache__/monitor_template.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/monitor/monitor_impl/__pycache__/tensorboard_logger.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/monitor/monitor_impl/__pycache__/tensorboard_logger.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/monitor/monitor_impl/__pycache__/text_info.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/monitor/monitor_impl/__pycache__/text_info.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/monitor/monitor_impl/monitor_template.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | from typing import Dict 3 | 4 | from ..monitor_base import TRACK_MONITORS, VOS_MONITORS, MonitorBase 5 | 6 | 7 | @TRACK_MONITORS.register 8 | @VOS_MONITORS.register 9 | class Monitor(MonitorBase): 10 | r""" 11 | 12 | Hyper-parameters 13 | ---------------- 14 | """ 15 | 16 | default_hyper_params = dict() 17 | 18 | def __init__(self, ): 19 | r""" 20 | Arguments 21 | --------- 22 | """ 23 | super(Monitor, self).__init__() 24 | 25 | def init(self, engine_state: Dict): 26 | super(Monitor, self).init(engine_state) 27 | 28 | def update(self, engine_data: Dict): 29 | pass 30 | -------------------------------------------------------------------------------- /videoanalyst/engine/tester/__init__.py: -------------------------------------------------------------------------------- 1 | from .tester_impl import * # noqa 2 | -------------------------------------------------------------------------------- /videoanalyst/engine/tester/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/__pycache__/tester_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/__pycache__/tester_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | __all__ = [ 7 | basename(f)[:-3] for f in modules if isfile(f) 8 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 9 | ] 10 | -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/__pycache__/davis.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/__pycache__/davis.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/__pycache__/got10k.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/__pycache__/got10k.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/__pycache__/lasot.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/__pycache__/lasot.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/__pycache__/lasot.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/__pycache__/lasot.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/__pycache__/nfs.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/__pycache__/nfs.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/__pycache__/otb.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/__pycache__/otb.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/__pycache__/trackingnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/__pycache__/trackingnet.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/__pycache__/uav123.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/__pycache__/uav123.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/__pycache__/vot.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/__pycache__/vot.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/__pycache__/votlt.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/__pycache__/votlt.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/utils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/utils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/tester/tester_impl/utils/__pycache__/got_benchmark_helper.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/tester/tester_impl/utils/__pycache__/got_benchmark_helper.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/trainer/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | from .trainer_impl import * # noqa 3 | -------------------------------------------------------------------------------- /videoanalyst/engine/trainer/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/trainer/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/trainer/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/trainer/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/trainer/__pycache__/trainer_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/trainer/__pycache__/trainer_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/trainer/trainer_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | __all__ = [ 7 | basename(f)[:-3] for f in modules if isfile(f) 8 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 9 | ] 10 | -------------------------------------------------------------------------------- /videoanalyst/engine/trainer/trainer_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/trainer/trainer_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/trainer/trainer_impl/__pycache__/distributed_regular_trainer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/trainer/trainer_impl/__pycache__/distributed_regular_trainer.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/trainer/trainer_impl/__pycache__/distributed_sat_trainer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/trainer/trainer_impl/__pycache__/distributed_sat_trainer.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/engine/trainer/trainer_impl/__pycache__/regular_trainer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/engine/trainer/trainer_impl/__pycache__/regular_trainer.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/__init__.py: -------------------------------------------------------------------------------- 1 | # from .vot_benchmark.log_helper import init_log, add_file_handler 2 | # from .vot_benchmark.bbox_helper import get_axis_aligned_bbox, cxy_wh_2_rect 3 | # from .vot_benchmark.benchmark_helper import load_dataset, get_img 4 | # from .vot_benchmark.pysot.utils.region import vot_overlap, vot_float2str 5 | # from .vot_benchmark.pysot.datasets import VOTDataset 6 | # from .vot_benchmark.pysot.evaluation import AccuracyRobustnessBenchmark, EAOBenchmark 7 | -------------------------------------------------------------------------------- /videoanalyst/evaluation/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/davis_benchmark/__init__.py: -------------------------------------------------------------------------------- 1 | from .benckmark_helpler import (MultiBatchIouMeter, label2color, labelcolormap, 2 | load_dataset) 3 | from .davis2017.utils import overlay_semantic_mask 4 | from .evaluation_method import davis2017_eval 5 | 6 | __all__ = [ 7 | load_dataset, label2color, labelcolormap, MultiBatchIouMeter, 8 | davis2017_eval, overlay_semantic_mask 9 | ] 10 | -------------------------------------------------------------------------------- /videoanalyst/evaluation/davis_benchmark/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/davis_benchmark/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/davis_benchmark/__pycache__/benckmark_helpler.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/davis_benchmark/__pycache__/benckmark_helpler.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/davis_benchmark/__pycache__/evaluation_method.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/davis_benchmark/__pycache__/evaluation_method.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/davis_benchmark/davis2017/__pycache__/davis.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/davis_benchmark/davis2017/__pycache__/davis.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/davis_benchmark/davis2017/__pycache__/davis_evaluation.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/davis_benchmark/davis2017/__pycache__/davis_evaluation.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/davis_benchmark/davis2017/__pycache__/metrics.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/davis_benchmark/davis2017/__pycache__/metrics.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/davis_benchmark/davis2017/__pycache__/results.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/davis_benchmark/davis2017/__pycache__/results.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/davis_benchmark/davis2017/__pycache__/utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/davis_benchmark/davis2017/__pycache__/utils.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/__init__.py -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | from .dtb70 import DTB70 4 | from .got10k import GOT10k 5 | from .lasot import LaSOT 6 | from .nfs import NfS 7 | from .otb import OTB 8 | from .tcolor128 import TColor128 9 | from .trackingnet import TrackingNet 10 | from .uav123 import UAV123 11 | from .vid import ImageNetVID 12 | from .vot import VOT 13 | 14 | __all__ = [ 15 | GOT10k, OTB, VOT, DTB70, TColor128, UAV123, NfS, LaSOT, TrackingNet, 16 | ImageNetVID 17 | ] 18 | -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/dtb70.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/dtb70.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/dtb70.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/dtb70.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/got10k.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/got10k.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/got10k.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/got10k.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/lasot.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/lasot.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/lasot.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/lasot.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/nfs.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/nfs.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/nfs.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/nfs.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/otb.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/otb.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/otb.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/otb.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/tcolor128.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/tcolor128.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/tcolor128.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/tcolor128.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/trackingnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/trackingnet.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/trackingnet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/trackingnet.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/uav123.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/uav123.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/uav123.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/uav123.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/vid.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/vid.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/vid.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/vid.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/vot.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/vot.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/datasets/__pycache__/vot.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/datasets/__pycache__/vot.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | from .dtb70 import ExperimentDTB70 4 | from .got10k import ExperimentGOT10k 5 | from .lasot import ExperimentLaSOT 6 | from .nfs import ExperimentNfS 7 | from .otb import ExperimentOTB 8 | from .tcolor128 import ExperimentTColor128 9 | from .trackingnet import ExperimentTrackingNet 10 | from .uav123 import ExperimentUAV123 11 | from .vot import ExperimentVOT 12 | 13 | __all__ = [ 14 | ExperimentGOT10k, ExperimentOTB, ExperimentVOT, ExperimentDTB70, 15 | ExperimentUAV123, ExperimentNfS, ExperimentTColor128, ExperimentLaSOT, 16 | ExperimentTrackingNet 17 | ] 18 | -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/experiments/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/experiments/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__pycache__/dtb70.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/experiments/__pycache__/dtb70.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__pycache__/dtb70.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/experiments/__pycache__/dtb70.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__pycache__/got10k.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/experiments/__pycache__/got10k.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__pycache__/lasot.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/experiments/__pycache__/lasot.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__pycache__/nfs.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/experiments/__pycache__/nfs.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__pycache__/otb.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/experiments/__pycache__/otb.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__pycache__/otb.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/experiments/__pycache__/otb.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__pycache__/tcolor128.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/experiments/__pycache__/tcolor128.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__pycache__/trackingnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/experiments/__pycache__/trackingnet.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__pycache__/uav123.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/experiments/__pycache__/uav123.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/experiments/__pycache__/vot.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/experiments/__pycache__/vot.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/trackers/identity_tracker.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | from . import Tracker 4 | 5 | 6 | class IdentityTracker(Tracker): 7 | def __init__(self): 8 | super(IdentityTracker, self).__init__(name='IdentityTracker', 9 | is_deterministic=True) 10 | 11 | def init(self, image, box): 12 | self.box = box 13 | 14 | def update(self, image): 15 | return self.box 16 | -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/utils/__init__.py -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/utils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/utils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/utils/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/utils/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/utils/__pycache__/ioutils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/utils/__pycache__/ioutils.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/utils/__pycache__/ioutils.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/utils/__pycache__/ioutils.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/utils/__pycache__/metrics.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/utils/__pycache__/metrics.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/got_benchmark/utils/__pycache__/viz.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/got_benchmark/utils/__pycache__/viz.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/__pycache__/bbox_helper.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/__pycache__/bbox_helper.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/__pycache__/bbox_helper.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/__pycache__/bbox_helper.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/__pycache__/benchmark_helper.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/__pycache__/benchmark_helper.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/__pycache__/benchmark_helper.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/__pycache__/benchmark_helper.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/make.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cd pysot/utils/ 4 | python3 setup.py clean 5 | python3 setup.py build_ext --inplace 6 | cd ../../ 7 | -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/pysot/__init__.py -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/pysot/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/pysot/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/dataset.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/dataset.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/dataset.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/dataset.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/video.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/video.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/video.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/video.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/vot.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/vot.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/vot.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/evaluation/vot_benchmark/pysot/datasets/__pycache__/vot.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/evaluation/__init__.py: -------------------------------------------------------------------------------- 1 | # -------------------------------------------------------- 2 | # Python Single Object Tracking Evaluation 3 | # Licensed under The MIT License [see LICENSE for details] 4 | # Written by Fangyi Zhang 5 | # @author fangyi.zhang@vipl.ict.ac.cn 6 | # @project https://github.com/StrangerZhang/pysot-toolkit.git 7 | # Revised for SiamMask by foolwood 8 | # -------------------------------------------------------- 9 | from .ar_benchmark import AccuracyRobustnessBenchmark 10 | from .eao_benchmark import EAOBenchmark 11 | from .f1_benchmark import F1Benchmark 12 | from .ope_benchmark import OPEBenchmark 13 | 14 | __all__ = [AccuracyRobustnessBenchmark, EAOBenchmark, F1Benchmark, OPEBenchmark] 15 | -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # -------------------------------------------------------- 2 | # Python Single Object Tracking Evaluation 3 | # Licensed under The MIT License [see LICENSE for details] 4 | # Written by Fangyi Zhang 5 | # @author fangyi.zhang@vipl.ict.ac.cn 6 | # @project https://github.com/StrangerZhang/pysot-toolkit.git 7 | # Revised for SiamMask by foolwood 8 | # -------------------------------------------------------- 9 | from . import region # noqa 10 | from .statistics import * # noqa 11 | -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/pysot/utils/setup.py: -------------------------------------------------------------------------------- 1 | # -------------------------------------------------------- 2 | # Python Single Object Tracking Evaluation 3 | # Licensed under The MIT License [see LICENSE for details] 4 | # Written by Fangyi Zhang 5 | # @author fangyi.zhang@vipl.ict.ac.cn 6 | # @project https://github.com/StrangerZhang/pysot-toolkit.git 7 | # Revised for SiamMask by foolwood 8 | # -------------------------------------------------------- 9 | from distutils.core import setup 10 | from distutils.extension import Extension 11 | 12 | from Cython.Build import cythonize 13 | 14 | setup(ext_modules=cythonize( 15 | [Extension("region", ["region.pyx", "src/region.c"])]), ) 16 | -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/vot_list/vot2018/list.txt: -------------------------------------------------------------------------------- 1 | ants1 2 | ants3 3 | bag 4 | ball1 5 | ball2 6 | basketball 7 | birds1 8 | blanket 9 | bmx 10 | bolt1 11 | bolt2 12 | book 13 | butterfly 14 | car1 15 | conduction1 16 | crabs1 17 | crossing 18 | dinosaur 19 | drone_across 20 | drone_flip 21 | drone1 22 | fernando 23 | fish1 24 | fish2 25 | fish3 26 | flamingo1 27 | frisbee 28 | girl 29 | glove 30 | godfather 31 | graduate 32 | gymnastics1 33 | gymnastics2 34 | gymnastics3 35 | hand 36 | handball1 37 | handball2 38 | helicopter 39 | iceskater1 40 | iceskater2 41 | leaves 42 | matrix 43 | motocross1 44 | motocross2 45 | nature 46 | pedestrian1 47 | rabbit 48 | racing 49 | road 50 | shaking 51 | sheep 52 | singer2 53 | singer3 54 | soccer1 55 | soccer2 56 | soldier 57 | tiger 58 | traffic 59 | wiper 60 | zebrafish1 61 | -------------------------------------------------------------------------------- /videoanalyst/evaluation/vot_benchmark/vot_list/vot2019/list.txt: -------------------------------------------------------------------------------- 1 | agility 2 | ants1 3 | ball2 4 | ball3 5 | basketball 6 | birds1 7 | bolt1 8 | book 9 | butterfly 10 | car1 11 | conduction1 12 | crabs1 13 | dinosaur 14 | dribble 15 | drone1 16 | drone_across 17 | drone_flip 18 | fernando 19 | fish1 20 | fish2 21 | flamingo1 22 | frisbee 23 | girl 24 | glove 25 | godfather 26 | graduate 27 | gymnastics1 28 | gymnastics2 29 | gymnastics3 30 | hand 31 | hand2 32 | handball1 33 | handball2 34 | helicopter 35 | iceskater1 36 | iceskater2 37 | lamb 38 | leaves 39 | marathon 40 | matrix 41 | monkey 42 | motocross1 43 | nature 44 | pedestrian1 45 | polo 46 | rabbit 47 | rabbit2 48 | road 49 | rowing 50 | shaking 51 | singer2 52 | singer3 53 | soccer1 54 | soccer2 55 | soldier 56 | surfing 57 | tiger 58 | wheel 59 | wiper 60 | zebrafish1 61 | -------------------------------------------------------------------------------- /videoanalyst/model/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | -------------------------------------------------------------------------------- /videoanalyst/model/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/model/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/__pycache__/module_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/__pycache__/module_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/__pycache__/module_base.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/__pycache__/module_base.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/__init__.py: -------------------------------------------------------------------------------- 1 | from .backbone_impl import * # noqa 2 | -------------------------------------------------------------------------------- /videoanalyst/model/backbone/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/__pycache__/backbone_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/__pycache__/backbone_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_base.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | from videoanalyst.utils import Registry 3 | 4 | TRACK_BACKBONES = Registry('TRACK_BACKBONES') 5 | VOS_BACKBONES = Registry('VOS_BACKBONES') 6 | 7 | TASK_BACKBONES = dict( 8 | track=TRACK_BACKBONES, 9 | vos=VOS_BACKBONES, 10 | ) 11 | -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/alexnet_bn.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/alexnet_bn.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/base384.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/base384.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/googlenet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/googlenet.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/googlenet_m.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/googlenet_m.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/googlenet_q.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/googlenet_q.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/resnet.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/resnet.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/shufflenet_v2.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/shufflenet_v2.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/swin-tiny_m.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/swin-tiny_m.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/swin-tiny_q.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/swin-tiny_q.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/tiny.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/tiny.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/tiny_m.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/tiny_m.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/backbone/backbone_impl/__pycache__/tinyconv.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/backbone/backbone_impl/__pycache__/tinyconv.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/common_opr/__pycache__/common_block.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/common_opr/__pycache__/common_block.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/common_opr/__pycache__/common_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/common_opr/__pycache__/common_loss.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/__init__.py: -------------------------------------------------------------------------------- 1 | from .loss_impl import * # noqa 2 | -------------------------------------------------------------------------------- /videoanalyst/model/loss/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/loss/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/loss/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/__pycache__/loss_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/loss/__pycache__/loss_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_base.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | from videoanalyst.utils import Registry 3 | 4 | TRACK_LOSSES = Registry('TRACK_LOSSES') 5 | VOS_LOSSES = Registry('VOS_LOSSES') 6 | 7 | TASK_LOSSES = dict( 8 | track=TRACK_LOSSES, 9 | vos=VOS_LOSSES, 10 | ) 11 | -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/loss/loss_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/__pycache__/focal_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/loss/loss_impl/__pycache__/focal_loss.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/__pycache__/giou_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/loss/loss_impl/__pycache__/giou_loss.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/__pycache__/iou_loss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/loss/loss_impl/__pycache__/iou_loss.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/__pycache__/multi_bceloss.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/loss/loss_impl/__pycache__/multi_bceloss.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/__pycache__/sigmoid_ce_centerness.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/loss/loss_impl/__pycache__/sigmoid_ce_centerness.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/__pycache__/sigmoid_ce_retina.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/loss/loss_impl/__pycache__/sigmoid_ce_retina.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/__pycache__/utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/loss/loss_impl/__pycache__/utils.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/__pycache__/varifocal.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/loss/loss_impl/__pycache__/varifocal.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/iou/__pycache__/iou2d_calculator.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/loss/loss_impl/iou/__pycache__/iou2d_calculator.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/iou/giou.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) OpenMMLab. All rights reserved. 2 | # https://github.com/open-mmlab/mmdetection/blob/master/mmdet/models/losses/iou_loss.py 3 | from core.operator.iou.iou2d_calculator import bbox_overlaps 4 | 5 | 6 | def giou(pred, target, eps=1e-7): 7 | gious = bbox_overlaps(pred, target, mode='giou', is_aligned=True, eps=eps) 8 | return gious 9 | -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/iou/iou.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) OpenMMLab. All rights reserved. 2 | # https://github.com/open-mmlab/mmdetection/blob/master/mmdet/models/losses/iou_loss.py 3 | from core.operator.iou.iou2d_calculator import bbox_overlaps 4 | 5 | 6 | def iou(pred, target, eps=1e-6): 7 | ious = bbox_overlaps(pred, target, is_aligned=True).clamp(min=eps) 8 | return ious 9 | -------------------------------------------------------------------------------- /videoanalyst/model/loss/loss_impl/utils.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | import numpy as np 3 | 4 | import torch 5 | 6 | from ...module_base import ModuleBase 7 | 8 | eps = np.finfo(np.float32).tiny 9 | 10 | 11 | class SafeLog(ModuleBase): 12 | r""" 13 | Safly perform log operation 14 | """ 15 | default_hyper_params = dict() 16 | 17 | def __init__(self): 18 | super(SafeLog, self).__init__() 19 | self.register_buffer("t_eps", torch.tensor(eps, requires_grad=False)) 20 | 21 | def forward(self, t): 22 | return torch.log(torch.max(self.t_eps, t)) 23 | -------------------------------------------------------------------------------- /videoanalyst/model/neck/__init__.py: -------------------------------------------------------------------------------- 1 | from .neck_impl import * -------------------------------------------------------------------------------- /videoanalyst/model/neck/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/neck/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/neck/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/neck/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/neck/__pycache__/neck_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/neck/__pycache__/neck_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/neck/neck_base.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | from videoanalyst.utils import Registry 3 | 4 | TRACK_NECKS = Registry('TRACK_NECKS') 5 | TASK_NECKS = dict( 6 | track=TRACK_NECKS, 7 | ) 8 | -------------------------------------------------------------------------------- /videoanalyst/model/neck/neck_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/model/neck/neck_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/neck/neck_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/neck/neck_impl/__pycache__/transformer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/neck/neck_impl/__pycache__/transformer.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/positional_encoding/builder.py: -------------------------------------------------------------------------------- 1 | def build_position_embedding(position_embedding_config, z_shape, x_shape, dim): 2 | if not position_embedding_config['enabled']: 3 | return None, None 4 | 5 | if position_embedding_config['type'] == 'sine': 6 | from .sine import SinePositionEmbedding 7 | 8 | with_branch_index = position_embedding_config['with_branch_index'] 9 | 10 | return SinePositionEmbedding(dim, (z_shape[1], z_shape[0]), 0 if with_branch_index else None), \ 11 | SinePositionEmbedding(dim, (x_shape[1], x_shape[0]), 1 if with_branch_index else None) 12 | elif position_embedding_config['type'] == 'learned': 13 | from .learned import Learned2DPositionalEncoder 14 | 15 | return Learned2DPositionalEncoder(dim, z_shape[0], z_shape[1]), \ 16 | Learned2DPositionalEncoder(dim, x_shape[0], x_shape[1]) 17 | else: 18 | raise ValueError('Unknown positional embedding type: {}'.format(position_embedding_config['type'])) 19 | -------------------------------------------------------------------------------- /videoanalyst/model/positional_encoding/learned.py: -------------------------------------------------------------------------------- 1 | import torch 2 | import torch.nn as nn 3 | from timm.models.layers import trunc_normal_ 4 | 5 | 6 | class Learned2DPositionalEncoder(nn.Module): 7 | def __init__(self, dim, w, h): 8 | super(Learned2DPositionalEncoder, self).__init__() 9 | self.w_pos = nn.Parameter(torch.empty(w, dim)) 10 | self.h_pos = nn.Parameter(torch.empty(h, dim)) 11 | trunc_normal_(self.w_pos, std=0.02) 12 | trunc_normal_(self.h_pos, std=0.02) 13 | 14 | def forward(self): 15 | w = self.w_pos.shape[0] 16 | h = self.h_pos.shape[0] 17 | return (self.w_pos[None, :, :] + self.h_pos[:, None, :]).view(h * w, -1) 18 | -------------------------------------------------------------------------------- /videoanalyst/model/sync_batchnorm/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # File : __init__.py 3 | # Author : Jiayuan Mao 4 | # Email : maojiayuan@gmail.com 5 | # Date : 27/01/2018 6 | # 7 | # This file is part of Synchronized-BatchNorm-PyTorch. 8 | # https://github.com/vacancy/Synchronized-BatchNorm-PyTorch 9 | # Distributed under MIT License. 10 | 11 | from .batchnorm import SynchronizedBatchNorm1d, SynchronizedBatchNorm2d, SynchronizedBatchNorm3d 12 | from .batchnorm import patch_sync_batchnorm, convert_model 13 | from .replicate import DataParallelWithCallback, patch_replication_callback 14 | -------------------------------------------------------------------------------- /videoanalyst/model/sync_batchnorm/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/sync_batchnorm/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/sync_batchnorm/__pycache__/batchnorm.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/sync_batchnorm/__pycache__/batchnorm.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/sync_batchnorm/__pycache__/comm.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/sync_batchnorm/__pycache__/comm.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/sync_batchnorm/__pycache__/replicate.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/sync_batchnorm/__pycache__/replicate.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/sync_batchnorm/unittest.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # File : unittest.py 3 | # Author : Jiayuan Mao 4 | # Email : maojiayuan@gmail.com 5 | # Date : 27/01/2018 6 | # 7 | # This file is part of Synchronized-BatchNorm-PyTorch. 8 | # https://github.com/vacancy/Synchronized-BatchNorm-PyTorch 9 | # Distributed under MIT License. 10 | 11 | import unittest 12 | import torch 13 | 14 | 15 | class TorchTestCase(unittest.TestCase): 16 | def assertTensorClose(self, x, y): 17 | adiff = float((x - y).abs().max()) 18 | if (y == 0).all(): 19 | rdiff = 'NaN' 20 | else: 21 | rdiff = float((adiff / y).abs().max()) 22 | 23 | message = ( 24 | 'Tensor close check failed\n' 25 | 'adiff={}\n' 26 | 'rdiff={}\n' 27 | ).format(adiff, rdiff) 28 | self.assertTrue(torch.allclose(x, y), message) 29 | 30 | -------------------------------------------------------------------------------- /videoanalyst/model/task_head/__init__.py: -------------------------------------------------------------------------------- 1 | from .taskhead_impl import * # noqa 2 | -------------------------------------------------------------------------------- /videoanalyst/model/task_head/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/task_head/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/task_head/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/task_head/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/task_head/__pycache__/taskhead_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/task_head/__pycache__/taskhead_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/task_head/taskhead_base.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | from videoanalyst.utils import Registry 3 | 4 | TRACK_HEADS = Registry('TRACK_HEADS') 5 | VOS_HEADS = Registry('VOS_HEADS') 6 | TASK_HEADS = dict( 7 | track=TRACK_HEADS, 8 | vos=VOS_HEADS, 9 | ) 10 | -------------------------------------------------------------------------------- /videoanalyst/model/task_head/taskhead_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/model/task_head/taskhead_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/task_head/taskhead_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/task_head/taskhead_impl/__pycache__/head.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/task_head/taskhead_impl/__pycache__/head.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/task_model/__init__.py: -------------------------------------------------------------------------------- 1 | from .taskmodel_impl import * # noqa 2 | -------------------------------------------------------------------------------- /videoanalyst/model/task_model/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/task_model/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/task_model/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/task_model/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/task_model/__pycache__/taskmodel_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/task_model/__pycache__/taskmodel_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/task_model/taskmodel_base.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | from videoanalyst.utils import Registry 3 | 4 | TRACK_TASKMODELS = Registry('TRACK_TASKMODELS') 5 | VOS_TASKMODELS = Registry('VOS_TASKMODELS') 6 | 7 | TASK_TASKMODELS = dict( 8 | track=TRACK_TASKMODELS, 9 | vos=VOS_TASKMODELS, 10 | ) 11 | -------------------------------------------------------------------------------- /videoanalyst/model/task_model/taskmodel_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/model/task_model/taskmodel_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/task_model/taskmodel_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/task_model/taskmodel_impl/__pycache__/tatrack_model.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/task_model/taskmodel_impl/__pycache__/tatrack_model.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/utils/__pycache__/load_state.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/utils/__pycache__/load_state.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/model/utils/__pycache__/load_state.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/model/utils/__pycache__/load_state.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/__init__.py -------------------------------------------------------------------------------- /videoanalyst/optim/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/grad_modifier/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from .grad_modifier_impl import * # noqa 3 | -------------------------------------------------------------------------------- /videoanalyst/optim/grad_modifier/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/grad_modifier/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/grad_modifier/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/grad_modifier/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/grad_modifier/__pycache__/grad_modifier_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/grad_modifier/__pycache__/grad_modifier_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/grad_modifier/grad_modifier_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/optim/grad_modifier/grad_modifier_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/grad_modifier/grad_modifier_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/grad_modifier/grad_modifier_impl/__pycache__/dynamic_freezer.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/grad_modifier/grad_modifier_impl/__pycache__/dynamic_freezer.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/grad_modifier/grad_modifier_impl/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/grad_modifier/grad_modifier_impl/utils/__init__.py -------------------------------------------------------------------------------- /videoanalyst/optim/grad_modifier/grad_modifier_impl/utils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/grad_modifier/grad_modifier_impl/utils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/grad_modifier/grad_modifier_impl/utils/__pycache__/freeze.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/grad_modifier/grad_modifier_impl/utils/__pycache__/freeze.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/optimizer/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | from .optimizer_impl import * # noqa 3 | -------------------------------------------------------------------------------- /videoanalyst/optim/optimizer/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/optimizer/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/optimizer/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/optimizer/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/optimizer/__pycache__/optimizer_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/optimizer/__pycache__/optimizer_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/optimizer/optimizer_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/optim/optimizer/optimizer_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/optimizer/optimizer_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/optimizer/optimizer_impl/__pycache__/adam.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/optimizer/optimizer_impl/__pycache__/adam.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/optimizer/optimizer_impl/__pycache__/adamw.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/optimizer/optimizer_impl/__pycache__/adamw.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/optimizer/optimizer_impl/__pycache__/sgd.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/optimizer/optimizer_impl/__pycache__/sgd.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/optimizer/optimizer_impl/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/optimizer/optimizer_impl/utils/__init__.py -------------------------------------------------------------------------------- /videoanalyst/optim/optimizer/optimizer_impl/utils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/optimizer/optimizer_impl/utils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/optimizer/optimizer_impl/utils/__pycache__/lr_multiply.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/optimizer/optimizer_impl/utils/__pycache__/lr_multiply.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/optim/optimizer/optimizer_impl/utils/__pycache__/lr_policy.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/optim/optimizer/optimizer_impl/utils/__pycache__/lr_policy.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | from .tracker_impl import * # noqa 3 | -------------------------------------------------------------------------------- /videoanalyst/pipeline/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/__pycache__/builder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/__pycache__/builder.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/__pycache__/pipeline_base.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/__pycache__/pipeline_base.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/__pycache__/pipeline_base.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/__pycache__/pipeline_base.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/tracker_impl/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import glob 3 | from os.path import basename, dirname, isfile 4 | 5 | modules = glob.glob(dirname(__file__) + "/*.py") 6 | modules = [m for m in modules if not m.endswith(('_bak.py')) 7 | ] # filter file with name ending with '_bak' (debugging) 8 | __all__ = [ 9 | basename(f)[:-3] for f in modules if isfile(f) 10 | and not f.endswith("__init__.py") and not f.endswith("utils.py") 11 | ] 12 | -------------------------------------------------------------------------------- /videoanalyst/pipeline/tracker_impl/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/tracker_impl/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/tracker_impl/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/tracker_impl/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/tracker_impl/__pycache__/tatrack_tracker.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/tracker_impl/__pycache__/tatrack_tracker.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/tracker_impl/__pycache__/tatrack_tracker.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/tracker_impl/__pycache__/tatrack_tracker.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | 3 | from videoanalyst.evaluation.vot_benchmark.bbox_helper import cxy_wh_2_rect 4 | 5 | from .bbox import (clip_bbox, cxywh2xywh, cxywh2xyxy, xywh2cxywh, xywh2xyxy, 6 | xyxy2cxywh, xyxy2xywh) 7 | from .crop import get_axis_aligned_bbox 8 | from .misc import imarray_to_tensor, tensor_to_numpy 9 | 10 | __all__ = [ 11 | clip_bbox, cxy_wh_2_rect, cxywh2xywh, cxywh2xyxy, xywh2cxywh, xywh2cxywh, 12 | xyxy2cxywh, xyxy2xywh, xywh2xyxy, get_axis_aligned_bbox, imarray_to_tensor, tensor_to_numpy 13 | ] 14 | -------------------------------------------------------------------------------- /videoanalyst/pipeline/utils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/utils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/utils/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/utils/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/utils/__pycache__/bbox.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/utils/__pycache__/bbox.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/utils/__pycache__/bbox.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/utils/__pycache__/bbox.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/utils/__pycache__/crop.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/utils/__pycache__/crop.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/utils/__pycache__/crop.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/utils/__pycache__/crop.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/utils/__pycache__/misc.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/utils/__pycache__/misc.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/utils/__pycache__/misc.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/utils/__pycache__/misc.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/pipeline/utils/online_classifier/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/pipeline/utils/online_classifier/__init__.py -------------------------------------------------------------------------------- /videoanalyst/pipeline/utils/online_classifier/utils/__init__.py: -------------------------------------------------------------------------------- 1 | from .tensordict import TensorDict 2 | from .tensorlist import TensorList 3 | 4 | __all__ = [TensorDict, TensorList] 5 | -------------------------------------------------------------------------------- /videoanalyst/pipeline/utils/online_classifier/utils/attention.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | 3 | 4 | def normalize(score): 5 | score = (score - np.min(score)) / (np.max(score) - np.min(score)) 6 | return score 7 | 8 | 9 | def normfun(x, mu, sigma): 10 | pdf = np.exp(-((x - mu)**2) / (2 * sigma**2)) 11 | return pdf 12 | 13 | 14 | def generate_xy_attention(center, size): 15 | 16 | a = np.linspace(-size // 2 + 1, size // 2, size) 17 | x = -normfun(a, center[1], 10).reshape((size, 1)) + 2 18 | y = -normfun(a, center[0], 10).reshape((1, size)) + 2 19 | z = normalize(1. / np.dot(np.abs(x), np.abs(y))) 20 | return z 21 | 22 | 23 | if __name__ == '__main__': 24 | generate_xy_attention([0, 0], 31) 25 | -------------------------------------------------------------------------------- /videoanalyst/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -* 2 | from .image import load_image 3 | from .misc import Registry, Timer, load_cfg, md5sum, merge_cfg_into_hps 4 | from .path import complete_path_wt_root_in_cfg, ensure_dir 5 | from .torch_module import (average_gradients, convert_numpy_to_tensor, 6 | convert_tensor_to_numpy, move_data_to_device, 7 | unwrap_model) 8 | from .visualization import VideoWriter 9 | 10 | __all__ = [ 11 | load_image, Registry, Timer, load_cfg, md5sum, merge_cfg_into_hps, 12 | complete_path_wt_root_in_cfg, ensure_dir, average_gradients, 13 | convert_numpy_to_tensor, convert_tensor_to_numpy, move_data_to_device, 14 | unwrap_model, VideoWriter 15 | ] 16 | -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/dist_utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/dist_utils.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/dist_utils.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/dist_utils.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/image.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/image.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/image.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/image.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/misc.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/misc.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/misc.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/misc.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/path.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/path.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/path.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/path.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/torch_module.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/torch_module.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/torch_module.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/torch_module.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/visualization.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/visualization.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/visualization.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/visualization.cpython-39.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/visualize_score_map.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/visualize_score_map.cpython-37.pyc -------------------------------------------------------------------------------- /videoanalyst/utils/__pycache__/visualize_score_map.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hekaijie123/TATrack/4fee3c2f61025b35341b461c24f2a1a479f02c2d/videoanalyst/utils/__pycache__/visualize_score_map.cpython-39.pyc --------------------------------------------------------------------------------