joslefaure / HIT

Official Implementation of our WACV2023 paper: “Holistic Interaction Transformer Network for Action Detection”
https://arxiv.org/abs/2210.12686
58 stars 10 forks source link

error when install hit #5

Closed ccx2022 closed 1 year ago

ccx2022 commented 1 year ago

Thanks a lot for your work. First, I ran image but the follow error occured: image So, I tried to install hit as you recommend: image but it went wrong,Could you tell me how to solve this problem?

`(hit) root@autodl-container-704e11bd52-4fa8bbcd:~/HIT-master# TORCH_CUDA_ARCH_LIST="8.0" python setup.py install running install /root/miniconda3/envs/hit/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, /root/miniconda3/envs/hit/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. EasyInstallDeprecationWarning, running bdist_egg running egg_info writing hit.egg-info/PKG-INFO writing dependency_links to hit.egg-info/dependency_links.txt writing requirements to hit.egg-info/requires.txt writing top-level names to hit.egg-info/top_level.txt reading manifest file 'hit.egg-info/SOURCES.txt' writing manifest file 'hit.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py running build_ext creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/detector copying build/lib.linux-x86_64-cpython-37/detector/apis.py -> build/bdist.linux-x86_64/egg/detector copying build/lib.linux-x86_64-cpython-37/detector/tracker_api.py -> build/bdist.linux-x86_64/egg/detector copying build/lib.linux-x86_64-cpython-37/detector/tracker_cfg.py -> build/bdist.linux-x86_64/egg/detector copying build/lib.linux-x86_64-cpython-37/detector/yolo_api.py -> build/bdist.linux-x86_64/egg/detector copying build/lib.linux-x86_64-cpython-37/detector/yolo_cfg.py -> build/bdist.linux-x86_64/egg/detector copying build/lib.linux-x86_64-cpython-37/detector/init.py -> build/bdist.linux-x86_64/egg/detector creating build/bdist.linux-x86_64/egg/detector/nms copying build/lib.linux-x86_64-cpython-37/detector/nms/nms_wrapper.py -> build/bdist.linux-x86_64/egg/detector/nms copying build/lib.linux-x86_64-cpython-37/detector/nms/init.py -> build/bdist.linux-x86_64/egg/detector/nms copying build/lib.linux-x86_64-cpython-37/detector/nms/soft_nms_cpu.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/detector/nms copying build/lib.linux-x86_64-cpython-37/detector/nms/nms_cpu.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/detector/nms copying build/lib.linux-x86_64-cpython-37/detector/nms/nms_cuda.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/detector/nms creating build/bdist.linux-x86_64/egg/detector/tracker copying build/lib.linux-x86_64-cpython-37/detector/tracker/models.py -> build/bdist.linux-x86_64/egg/detector/tracker copying build/lib.linux-x86_64-cpython-37/detector/tracker/preprocess.py -> build/bdist.linux-x86_64/egg/detector/tracker copying build/lib.linux-x86_64-cpython-37/detector/tracker/init.py -> build/bdist.linux-x86_64/egg/detector/tracker creating build/bdist.linux-x86_64/egg/detector/tracker/tracker copying build/lib.linux-x86_64-cpython-37/detector/tracker/tracker/basetrack.py -> build/bdist.linux-x86_64/egg/detector/tracker/tracker copying build/lib.linux-x86_64-cpython-37/detector/tracker/tracker/matching.py -> build/bdist.linux-x86_64/egg/detector/tracker/tracker copying build/lib.linux-x86_64-cpython-37/detector/tracker/tracker/multitracker.py -> build/bdist.linux-x86_64/egg/detector/tracker/tracker copying build/lib.linux-x86_64-cpython-37/detector/tracker/tracker/init.py -> build/bdist.linux-x86_64/egg/detector/tracker/tracker creating build/bdist.linux-x86_64/egg/detector/tracker/utils copying build/lib.linux-x86_64-cpython-37/detector/tracker/utils/datasets.py -> build/bdist.linux-x86_64/egg/detector/tracker/utils copying build/lib.linux-x86_64-cpython-37/detector/tracker/utils/evaluation.py -> build/bdist.linux-x86_64/egg/detector/tracker/utils copying build/lib.linux-x86_64-cpython-37/detector/tracker/utils/io.py -> build/bdist.linux-x86_64/egg/detector/tracker/utils copying build/lib.linux-x86_64-cpython-37/detector/tracker/utils/kalman_filter.py -> build/bdist.linux-x86_64/egg/detector/tracker/utils copying build/lib.linux-x86_64-cpython-37/detector/tracker/utils/log.py -> build/bdist.linux-x86_64/egg/detector/tracker/utils copying build/lib.linux-x86_64-cpython-37/detector/tracker/utils/nms.py -> build/bdist.linux-x86_64/egg/detector/tracker/utils copying build/lib.linux-x86_64-cpython-37/detector/tracker/utils/parse_config.py -> build/bdist.linux-x86_64/egg/detector/tracker/utils copying build/lib.linux-x86_64-cpython-37/detector/tracker/utils/timer.py -> build/bdist.linux-x86_64/egg/detector/tracker/utils copying build/lib.linux-x86_64-cpython-37/detector/tracker/utils/utils.py -> build/bdist.linux-x86_64/egg/detector/tracker/utils copying build/lib.linux-x86_64-cpython-37/detector/tracker/utils/visualization.py -> build/bdist.linux-x86_64/egg/detector/tracker/utils copying build/lib.linux-x86_64-cpython-37/detector/tracker/utils/init.py -> build/bdist.linux-x86_64/egg/detector/tracker/utils creating build/bdist.linux-x86_64/egg/detector/yolo copying build/lib.linux-x86_64-cpython-37/detector/yolo/bbox.py -> build/bdist.linux-x86_64/egg/detector/yolo copying build/lib.linux-x86_64-cpython-37/detector/yolo/cam_demo.py -> build/bdist.linux-x86_64/egg/detector/yolo copying build/lib.linux-x86_64-cpython-37/detector/yolo/darknet.py -> build/bdist.linux-x86_64/egg/detector/yolo copying build/lib.linux-x86_64-cpython-37/detector/yolo/detect.py -> build/bdist.linux-x86_64/egg/detector/yolo copying build/lib.linux-x86_64-cpython-37/detector/yolo/preprocess.py -> build/bdist.linux-x86_64/egg/detector/yolo copying build/lib.linux-x86_64-cpython-37/detector/yolo/util.py -> build/bdist.linux-x86_64/egg/detector/yolo copying build/lib.linux-x86_64-cpython-37/detector/yolo/video_demo.py -> build/bdist.linux-x86_64/egg/detector/yolo copying build/lib.linux-x86_64-cpython-37/detector/yolo/video_demo_half.py -> build/bdist.linux-x86_64/egg/detector/yolo copying build/lib.linux-x86_64-cpython-37/detector/yolo/init.py -> build/bdist.linux-x86_64/egg/detector/yolo creating build/bdist.linux-x86_64/egg/hit copying build/lib.linux-x86_64-cpython-37/hit/init.py -> build/bdist.linux-x86_64/egg/hit creating build/bdist.linux-x86_64/egg/hit/config copying build/lib.linux-x86_64-cpython-37/hit/config/defaults.py -> build/bdist.linux-x86_64/egg/hit/config copying build/lib.linux-x86_64-cpython-37/hit/config/paths_catalog.py -> build/bdist.linux-x86_64/egg/hit/config copying build/lib.linux-x86_64-cpython-37/hit/config/init.py -> build/bdist.linux-x86_64/egg/hit/config creating build/bdist.linux-x86_64/egg/hit/dataset copying build/lib.linux-x86_64-cpython-37/hit/dataset/build.py -> build/bdist.linux-x86_64/egg/hit/dataset copying build/lib.linux-x86_64-cpython-37/hit/dataset/collate_batch.py -> build/bdist.linux-x86_64/egg/hit/dataset copying build/lib.linux-x86_64-cpython-37/hit/dataset/init.py -> build/bdist.linux-x86_64/egg/hit/dataset creating build/bdist.linux-x86_64/egg/hit/dataset/datasets copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/concat_dataset.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/iou_calculator.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/jhmdb.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/init.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets creating build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/init.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation creating build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/jhmdb_eval.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/init.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb creating build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/label_map_util.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/metrics.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/np_box_list.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/np_box_list_ops.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/np_box_mask_list.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/np_box_mask_list_ops.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/np_box_ops.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/np_mask_ops.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/object_detection_evaluation.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/per_image_evaluation.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/standard_fields.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation copying build/lib.linux-x86_64-cpython-37/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/init.py -> build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation creating build/bdist.linux-x86_64/egg/hit/dataset/samplers copying build/lib.linux-x86_64-cpython-37/hit/dataset/samplers/distributed.py -> build/bdist.linux-x86_64/egg/hit/dataset/samplers copying build/lib.linux-x86_64-cpython-37/hit/dataset/samplers/grouped_batch_sampler.py -> build/bdist.linux-x86_64/egg/hit/dataset/samplers copying build/lib.linux-x86_64-cpython-37/hit/dataset/samplers/iteration_based_batch_sampler.py -> build/bdist.linux-x86_64/egg/hit/dataset/samplers copying build/lib.linux-x86_64-cpython-37/hit/dataset/samplers/init.py -> build/bdist.linux-x86_64/egg/hit/dataset/samplers creating build/bdist.linux-x86_64/egg/hit/dataset/transforms copying build/lib.linux-x86_64-cpython-37/hit/dataset/transforms/build.py -> build/bdist.linux-x86_64/egg/hit/dataset/transforms copying build/lib.linux-x86_64-cpython-37/hit/dataset/transforms/object_transforms.py -> build/bdist.linux-x86_64/egg/hit/dataset/transforms copying build/lib.linux-x86_64-cpython-37/hit/dataset/transforms/video_transforms.py -> build/bdist.linux-x86_64/egg/hit/dataset/transforms copying build/lib.linux-x86_64-cpython-37/hit/dataset/transforms/init.py -> build/bdist.linux-x86_64/egg/hit/dataset/transforms creating build/bdist.linux-x86_64/egg/hit/engine copying build/lib.linux-x86_64-cpython-37/hit/engine/inference.py -> build/bdist.linux-x86_64/egg/hit/engine copying build/lib.linux-x86_64-cpython-37/hit/engine/trainer.py -> build/bdist.linux-x86_64/egg/hit/engine copying build/lib.linux-x86_64-cpython-37/hit/engine/init.py -> build/bdist.linux-x86_64/egg/hit/engine creating build/bdist.linux-x86_64/egg/hit/layers copying build/lib.linux-x86_64-cpython-37/hit/layers/batch_norm.py -> build/bdist.linux-x86_64/egg/hit/layers copying build/lib.linux-x86_64-cpython-37/hit/layers/roi_align_3d.py -> build/bdist.linux-x86_64/egg/hit/layers copying build/lib.linux-x86_64-cpython-37/hit/layers/roi_pool_3d.py -> build/bdist.linux-x86_64/egg/hit/layers copying build/lib.linux-x86_64-cpython-37/hit/layers/sigmoid_focal_loss.py -> build/bdist.linux-x86_64/egg/hit/layers copying build/lib.linux-x86_64-cpython-37/hit/layers/softmax_focal_loss.py -> build/bdist.linux-x86_64/egg/hit/layers copying build/lib.linux-x86_64-cpython-37/hit/layers/init.py -> build/bdist.linux-x86_64/egg/hit/layers creating build/bdist.linux-x86_64/egg/hit/modeling copying build/lib.linux-x86_64-cpython-37/hit/modeling/common_blocks.py -> build/bdist.linux-x86_64/egg/hit/modeling copying build/lib.linux-x86_64-cpython-37/hit/modeling/nonlocal_block.py -> build/bdist.linux-x86_64/egg/hit/modeling copying build/lib.linux-x86_64-cpython-37/hit/modeling/poolers.py -> build/bdist.linux-x86_64/egg/hit/modeling copying build/lib.linux-x86_64-cpython-37/hit/modeling/registry.py -> build/bdist.linux-x86_64/egg/hit/modeling copying build/lib.linux-x86_64-cpython-37/hit/modeling/utils.py -> build/bdist.linux-x86_64/egg/hit/modeling copying build/lib.linux-x86_64-cpython-37/hit/modeling/init.py -> build/bdist.linux-x86_64/egg/hit/modeling creating build/bdist.linux-x86_64/egg/hit/modeling/backbone copying build/lib.linux-x86_64-cpython-37/hit/modeling/backbone/backbone.py -> build/bdist.linux-x86_64/egg/hit/modeling/backbone copying build/lib.linux-x86_64-cpython-37/hit/modeling/backbone/i3d.py -> build/bdist.linux-x86_64/egg/hit/modeling/backbone copying build/lib.linux-x86_64-cpython-37/hit/modeling/backbone/slowfast.py -> build/bdist.linux-x86_64/egg/hit/modeling/backbone copying build/lib.linux-x86_64-cpython-37/hit/modeling/backbone/init.py -> build/bdist.linux-x86_64/egg/hit/modeling/backbone creating build/bdist.linux-x86_64/egg/hit/modeling/detector copying build/lib.linux-x86_64-cpython-37/hit/modeling/detector/action_detector.py -> build/bdist.linux-x86_64/egg/hit/modeling/detector copying build/lib.linux-x86_64-cpython-37/hit/modeling/detector/init.py -> build/bdist.linux-x86_64/egg/hit/modeling/detector creating build/bdist.linux-x86_64/egg/hit/modeling/roi_heads copying build/lib.linux-x86_64-cpython-37/hit/modeling/roi_heads/roi_heads_3d.py -> build/bdist.linux-x86_64/egg/hit/modeling/roi_heads copying build/lib.linux-x86_64-cpython-37/hit/modeling/roi_heads/init.py -> build/bdist.linux-x86_64/egg/hit/modeling/roi_heads creating build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head copying build/lib.linux-x86_64-cpython-37/hit/modeling/roi_heads/action_head/action_head.py -> build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head copying build/lib.linux-x86_64-cpython-37/hit/modeling/roi_heads/action_head/hit_structure.py -> build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head copying build/lib.linux-x86_64-cpython-37/hit/modeling/roi_heads/action_head/inference.py -> build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head copying build/lib.linux-x86_64-cpython-37/hit/modeling/roi_heads/action_head/loss.py -> build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head copying build/lib.linux-x86_64-cpython-37/hit/modeling/roi_heads/action_head/metric.py -> build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head copying build/lib.linux-x86_64-cpython-37/hit/modeling/roi_heads/action_head/pose_transformer.py -> build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head copying build/lib.linux-x86_64-cpython-37/hit/modeling/roi_heads/action_head/roi_action_feature_extractor.py -> build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head copying build/lib.linux-x86_64-cpython-37/hit/modeling/roi_heads/action_head/roi_action_predictors.py -> build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head copying build/lib.linux-x86_64-cpython-37/hit/modeling/roi_heads/action_head/init.py -> build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head creating build/bdist.linux-x86_64/egg/hit/solver copying build/lib.linux-x86_64-cpython-37/hit/solver/build.py -> build/bdist.linux-x86_64/egg/hit/solver copying build/lib.linux-x86_64-cpython-37/hit/solver/lr_scheduler.py -> build/bdist.linux-x86_64/egg/hit/solver copying build/lib.linux-x86_64-cpython-37/hit/solver/init.py -> build/bdist.linux-x86_64/egg/hit/solver creating build/bdist.linux-x86_64/egg/hit/structures copying build/lib.linux-x86_64-cpython-37/hit/structures/bounding_box.py -> build/bdist.linux-x86_64/egg/hit/structures copying build/lib.linux-x86_64-cpython-37/hit/structures/memory_pool.py -> build/bdist.linux-x86_64/egg/hit/structures copying build/lib.linux-x86_64-cpython-37/hit/structures/init.py -> build/bdist.linux-x86_64/egg/hit/structures creating build/bdist.linux-x86_64/egg/hit/utils copying build/lib.linux-x86_64-cpython-37/hit/utils/c2_model_loading.py -> build/bdist.linux-x86_64/egg/hit/utils copying build/lib.linux-x86_64-cpython-37/hit/utils/checkpoint.py -> build/bdist.linux-x86_64/egg/hit/utils copying build/lib.linux-x86_64-cpython-37/hit/utils/comm.py -> build/bdist.linux-x86_64/egg/hit/utils copying build/lib.linux-x86_64-cpython-37/hit/utils/IA_helper.py -> build/bdist.linux-x86_64/egg/hit/utils copying build/lib.linux-x86_64-cpython-37/hit/utils/logger.py -> build/bdist.linux-x86_64/egg/hit/utils copying build/lib.linux-x86_64-cpython-37/hit/utils/metric_logger.py -> build/bdist.linux-x86_64/egg/hit/utils copying build/lib.linux-x86_64-cpython-37/hit/utils/model_serialization.py -> build/bdist.linux-x86_64/egg/hit/utils copying build/lib.linux-x86_64-cpython-37/hit/utils/random_seed.py -> build/bdist.linux-x86_64/egg/hit/utils copying build/lib.linux-x86_64-cpython-37/hit/utils/registry.py -> build/bdist.linux-x86_64/egg/hit/utils copying build/lib.linux-x86_64-cpython-37/hit/utils/video_decode.py -> build/bdist.linux-x86_64/egg/hit/utils copying build/lib.linux-x86_64-cpython-37/hit/utils/init.py -> build/bdist.linux-x86_64/egg/hit/utils copying build/lib.linux-x86_64-cpython-37/hit/_custom_cuda_ext.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/hit byte-compiling build/bdist.linux-x86_64/egg/detector/apis.py to apis.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker_api.py to tracker_api.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker_cfg.py to tracker_cfg.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/yolo_api.py to yolo_api.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/yolo_cfg.py to yolo_cfg.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/nms/nms_wrapper.py to nms_wrapper.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/nms/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/models.py to models.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/preprocess.py to preprocess.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/tracker/basetrack.py to basetrack.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/tracker/matching.py to matching.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/tracker/multitracker.py to multitracker.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/tracker/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/utils/datasets.py to datasets.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/utils/evaluation.py to evaluation.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/utils/io.py to io.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/utils/kalman_filter.py to kalman_filter.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/utils/log.py to log.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/utils/nms.py to nms.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/utils/parse_config.py to parse_config.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/utils/timer.py to timer.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/utils/utils.py to utils.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/utils/visualization.py to visualization.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/tracker/utils/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/yolo/bbox.py to bbox.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/yolo/cam_demo.py to cam_demo.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/yolo/darknet.py to darknet.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/yolo/detect.py to detect.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/yolo/preprocess.py to preprocess.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/yolo/util.py to util.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/yolo/video_demo.py to video_demo.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/yolo/video_demo_half.py to video_demo_half.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/yolo/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/config/defaults.py to defaults.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/config/paths_catalog.py to paths_catalog.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/config/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/build.py to build.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/collate_batch.py to collate_batch.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/concat_dataset.py to concat_dataset.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/iou_calculator.py to iou_calculator.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/jhmdb.py to jhmdb.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/jhmdb_eval.py to jhmdb_eval.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/label_map_util.py to label_map_util.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/metrics.py to metrics.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/np_box_list.py to np_box_list.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/np_box_list_ops.py to np_box_list_ops.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/np_box_mask_list.py to np_box_mask_list.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/np_box_mask_list_ops.py to np_box_mask_list_ops.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/np_box_ops.py to np_box_ops.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/np_mask_ops.py to np_mask_ops.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/object_detection_evaluation.py to object_detection_evaluation.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/per_image_evaluation.py to per_image_evaluation.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/standard_fields.py to standard_fields.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/datasets/evaluation/jhmdb/pascal_evaluation/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/samplers/distributed.py to distributed.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/samplers/grouped_batch_sampler.py to grouped_batch_sampler.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/samplers/iteration_based_batch_sampler.py to iteration_based_batch_sampler.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/samplers/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/transforms/build.py to build.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/transforms/object_transforms.py to object_transforms.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/transforms/video_transforms.py to video_transforms.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/dataset/transforms/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/engine/inference.py to inference.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/engine/trainer.py to trainer.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/engine/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/layers/batch_norm.py to batch_norm.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/layers/roi_align_3d.py to roi_align_3d.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/layers/roi_pool_3d.py to roi_pool_3d.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/layers/sigmoid_focal_loss.py to sigmoid_focal_loss.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/layers/softmax_focal_loss.py to softmax_focal_loss.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/layers/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/common_blocks.py to common_blocks.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/nonlocal_block.py to nonlocal_block.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/poolers.py to poolers.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/registry.py to registry.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/utils.py to utils.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/backbone/backbone.py to backbone.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/backbone/i3d.py to i3d.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/backbone/slowfast.py to slowfast.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/backbone/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/detector/action_detector.py to action_detector.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/detector/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/roi_heads_3d.py to roi_heads_3d.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head/action_head.py to action_head.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head/hit_structure.py to hit_structure.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head/inference.py to inference.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head/loss.py to loss.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head/metric.py to metric.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head/pose_transformer.py to pose_transformer.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head/roi_action_feature_extractor.py to roi_action_feature_extractor.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head/roi_action_predictors.py to roi_action_predictors.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/modeling/roi_heads/action_head/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/solver/build.py to build.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/solver/lr_scheduler.py to lr_scheduler.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/solver/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/structures/bounding_box.py to bounding_box.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/structures/memory_pool.py to memory_pool.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/structures/init.py to init.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/utils/c2_model_loading.py to c2_model_loading.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/utils/checkpoint.py to checkpoint.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/utils/comm.py to comm.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/utils/IA_helper.py to IA_helper.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/utils/logger.py to logger.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/utils/metric_logger.py to metric_logger.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/utils/model_serialization.py to model_serialization.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/utils/random_seed.py to random_seed.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/utils/registry.py to registry.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/utils/video_decode.py to video_decode.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/hit/utils/init.py to init.cpython-37.pyc creating stub loader for hit/_custom_cuda_ext.cpython-37m-x86_64-linux-gnu.so creating stub loader for detector/nms/soft_nms_cpu.cpython-37m-x86_64-linux-gnu.so creating stub loader for detector/nms/nms_cpu.cpython-37m-x86_64-linux-gnu.so creating stub loader for detector/nms/nms_cuda.cpython-37m-x86_64-linux-gnu.so byte-compiling build/bdist.linux-x86_64/egg/hit/_custom_cuda_ext.py to _custom_cuda_ext.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/nms/soft_nms_cpu.py to soft_nms_cpu.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/nms/nms_cpu.py to nms_cpu.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/detector/nms/nms_cuda.py to nms_cuda.cpython-37.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying hit.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying hit.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying hit.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying hit.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying hit.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt zip_safe flag not set; analyzing archive contents... detector.pycache.tracker_api.cpython-37: module references file detector.pycache.yolo_api.cpython-37: module references file detector.nms.pycache.nms_cpu.cpython-37: module references file detector.nms.pycache.nms_cuda.cpython-37: module references file detector.nms.pycache.soft_nms_cpu.cpython-37: module references file hit.pycache._custom_cuda_ext.cpython-37: module references file creating 'dist/hit-0.0.0-py3.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing hit-0.0.0-py3.7-linux-x86_64.egg removing '/root/miniconda3/envs/hit/lib/python3.7/site-packages/hit-0.0.0-py3.7-linux-x86_64.egg' (and everything under it) creating /root/miniconda3/envs/hit/lib/python3.7/site-packages/hit-0.0.0-py3.7-linux-x86_64.egg Extracting hit-0.0.0-py3.7-linux-x86_64.egg to /root/miniconda3/envs/hit/lib/python3.7/site-packages hit 0.0.0 is already the active version in easy-install.pth

Installed /root/miniconda3/envs/hit/lib/python3.7/site-packages/hit-0.0.0-py3.7-linux-x86_64.egg Processing dependencies for hit==0.0.0 Searching for cython-bbox Reading https://pypi.org/simple/cython-bbox/ /root/miniconda3/envs/hit/lib/python3.7/site-packages/pkg_resources/init.py:126: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release PkgResourcesDeprecationWarning, Downloading https://files.pythonhosted.org/packages/fa/b9/fc7d60e8c3b29cc0ff24a3bb3c4b7457e10b7610fbb2893741b623487b34/cython_bbox-0.1.3.tar.gz#sha256=82e2d887534ecc10d3507489a05b11259f3baacd29eee37e6d8c97e1ffb16554 Best match: cython-bbox 0.1.3 Processing cython_bbox-0.1.3.tar.gz Writing /tmp/easy_install-wop34sbd/cython_bbox-0.1.3/setup.cfg Running cython_bbox-0.1.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-wop34sbd/cython_bbox-0.1.3/egg-dist-tmp-mnn08vck Compiling src/cython_bbox.pyx because it depends on /root/miniconda3/envs/hit/lib/python3.7/site-packages/numpy/init.pxd. [1/1] Cythonizing src/cython_bbox.pyx /root/miniconda3/envs/hit/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/easy_install-wop34sbd/cython_bbox-0.1.3/src/cython_bbox.pyx tree = Parsing.p_module(s, pxd, full_module_name) /root/miniconda3/envs/hit/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, src/cython_bbox.c: In function ‘pyx_pf_11cython_bbox_bbox_overlaps’: src/cython_bbox.c:2512:22: error: incompatible types when assigning to type ‘double’ from type ‘PyObject {aka struct _object }’ pyx_t_26 = Pyx_PyObject_CallOneArg(((PyObject *)(&PyFloat_Type)), pyx_t_1); if (unlikely(!pyx_t_26)) PYX_ERR(0, 49, __pyx_L1_error) ^ error: Setup script exited with error: command '/usr/bin/gcc' failed with exit code 1`

joslefaure commented 1 year ago

Please check if you have gcc and g++ installed, and tell me how it works. I have version 7 on my machine

ccx2022 commented 1 year ago

image This is my g++ version .

ccx2022 commented 1 year ago

Could you tell me your cuda version and pytorch version ?

joslefaure commented 1 year ago

cuda 10.2, and torch 1.7.1 It looks like you have successfully installed hit previously, is that right?

ccx2022 commented 1 year ago

I haven't successfully installed it before. It made an error during installation. I will change the software to your version tomorrow and try again. Thank you for your reply and patience.

ccx2022 commented 1 year ago

I have successfully installed hit today. But I meet this error when run the project. image image

joslefaure commented 1 year ago

This seems like a mismatch between the Cuda version in your path ( nvcc -V) and the one you used to build HIT

piyushandilya commented 1 year ago

image This is my g++ version .

I had the same issue. When I checked the error, the code was looking for gcc-7 which is not there. Although my gcc version is 7 but the binary is gcc (instead of gcc-7). So I just created a soft link from gcc to gcc-7 in the same location. It worked. I hope it helps you as well.

joslefaure commented 1 year ago

Thank you @piyushandilya. I will close this issue for now