conansherry / detectron2

detectron2 windows build
Apache License 2.0
224 stars 55 forks source link

ValueError: Unknown CUDA arch (8.6) or GPU not supported #25

Closed mobassir94 closed 3 years ago

mobassir94 commented 3 years ago

i was following this tutorial : https://dgmaxime.medium.com/how-to-easily-install-detectron2-on-windows-10-39186139101c

when i try : pip install -e . or "python setup.py build develop" when cloning your github repo i get the same error which is :


(myenv) C:\Users\Mobassir\ck\detectron2>python setup.py build develop
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\detectron2
copying detectron2\__init__.py -> build\lib.win-amd64-3.7\detectron2
creating build\lib.win-amd64-3.7\detectron2\checkpoint
copying detectron2\checkpoint\c2_model_loading.py -> build\lib.win-amd64-3.7\detectron2\checkpoint
copying detectron2\checkpoint\catalog.py -> build\lib.win-amd64-3.7\detectron2\checkpoint
copying detectron2\checkpoint\detection_checkpoint.py -> build\lib.win-amd64-3.7\detectron2\checkpoint
copying detectron2\checkpoint\__init__.py -> build\lib.win-amd64-3.7\detectron2\checkpoint
creating build\lib.win-amd64-3.7\detectron2\config
copying detectron2\config\compat.py -> build\lib.win-amd64-3.7\detectron2\config
copying detectron2\config\config.py -> build\lib.win-amd64-3.7\detectron2\config
copying detectron2\config\defaults.py -> build\lib.win-amd64-3.7\detectron2\config
copying detectron2\config\__init__.py -> build\lib.win-amd64-3.7\detectron2\config
creating build\lib.win-amd64-3.7\detectron2\data
copying detectron2\data\build.py -> build\lib.win-amd64-3.7\detectron2\data
copying detectron2\data\catalog.py -> build\lib.win-amd64-3.7\detectron2\data
copying detectron2\data\common.py -> build\lib.win-amd64-3.7\detectron2\data
copying detectron2\data\dataset_mapper.py -> build\lib.win-amd64-3.7\detectron2\data
copying detectron2\data\detection_utils.py -> build\lib.win-amd64-3.7\detectron2\data
copying detectron2\data\__init__.py -> build\lib.win-amd64-3.7\detectron2\data
creating build\lib.win-amd64-3.7\detectron2\engine
copying detectron2\engine\defaults.py -> build\lib.win-amd64-3.7\detectron2\engine
copying detectron2\engine\hooks.py -> build\lib.win-amd64-3.7\detectron2\engine
copying detectron2\engine\launch.py -> build\lib.win-amd64-3.7\detectron2\engine
copying detectron2\engine\train_loop.py -> build\lib.win-amd64-3.7\detectron2\engine
copying detectron2\engine\__init__.py -> build\lib.win-amd64-3.7\detectron2\engine
creating build\lib.win-amd64-3.7\detectron2\evaluation
copying detectron2\evaluation\cityscapes_evaluation.py -> build\lib.win-amd64-3.7\detectron2\evaluation
copying detectron2\evaluation\coco_evaluation.py -> build\lib.win-amd64-3.7\detectron2\evaluation
copying detectron2\evaluation\evaluator.py -> build\lib.win-amd64-3.7\detectron2\evaluation
copying detectron2\evaluation\lvis_evaluation.py -> build\lib.win-amd64-3.7\detectron2\evaluation
copying detectron2\evaluation\panoptic_evaluation.py -> build\lib.win-amd64-3.7\detectron2\evaluation
copying detectron2\evaluation\pascal_voc_evaluation.py -> build\lib.win-amd64-3.7\detectron2\evaluation
copying detectron2\evaluation\sem_seg_evaluation.py -> build\lib.win-amd64-3.7\detectron2\evaluation
copying detectron2\evaluation\testing.py -> build\lib.win-amd64-3.7\detectron2\evaluation
copying detectron2\evaluation\__init__.py -> build\lib.win-amd64-3.7\detectron2\evaluation
creating build\lib.win-amd64-3.7\detectron2\layers
copying detectron2\layers\batch_norm.py -> build\lib.win-amd64-3.7\detectron2\layers
copying detectron2\layers\deform_conv.py -> build\lib.win-amd64-3.7\detectron2\layers
copying detectron2\layers\mask_ops.py -> build\lib.win-amd64-3.7\detectron2\layers
copying detectron2\layers\nms.py -> build\lib.win-amd64-3.7\detectron2\layers
copying detectron2\layers\roi_align.py -> build\lib.win-amd64-3.7\detectron2\layers
copying detectron2\layers\roi_align_rotated.py -> build\lib.win-amd64-3.7\detectron2\layers
copying detectron2\layers\rotated_boxes.py -> build\lib.win-amd64-3.7\detectron2\layers
copying detectron2\layers\shape_spec.py -> build\lib.win-amd64-3.7\detectron2\layers
copying detectron2\layers\wrappers.py -> build\lib.win-amd64-3.7\detectron2\layers
copying detectron2\layers\__init__.py -> build\lib.win-amd64-3.7\detectron2\layers
creating build\lib.win-amd64-3.7\detectron2\modeling
copying detectron2\modeling\anchor_generator.py -> build\lib.win-amd64-3.7\detectron2\modeling
copying detectron2\modeling\box_regression.py -> build\lib.win-amd64-3.7\detectron2\modeling
copying detectron2\modeling\matcher.py -> build\lib.win-amd64-3.7\detectron2\modeling
copying detectron2\modeling\poolers.py -> build\lib.win-amd64-3.7\detectron2\modeling
copying detectron2\modeling\postprocessing.py -> build\lib.win-amd64-3.7\detectron2\modeling
copying detectron2\modeling\sampling.py -> build\lib.win-amd64-3.7\detectron2\modeling
copying detectron2\modeling\test_time_augmentation.py -> build\lib.win-amd64-3.7\detectron2\modeling
copying detectron2\modeling\__init__.py -> build\lib.win-amd64-3.7\detectron2\modeling
creating build\lib.win-amd64-3.7\detectron2\model_zoo
copying detectron2\model_zoo\model_zoo.py -> build\lib.win-amd64-3.7\detectron2\model_zoo
copying detectron2\model_zoo\__init__.py -> build\lib.win-amd64-3.7\detectron2\model_zoo
creating build\lib.win-amd64-3.7\detectron2\solver
copying detectron2\solver\build.py -> build\lib.win-amd64-3.7\detectron2\solver
copying detectron2\solver\lr_scheduler.py -> build\lib.win-amd64-3.7\detectron2\solver
copying detectron2\solver\__init__.py -> build\lib.win-amd64-3.7\detectron2\solver
creating build\lib.win-amd64-3.7\detectron2\structures
copying detectron2\structures\boxes.py -> build\lib.win-amd64-3.7\detectron2\structures
copying detectron2\structures\image_list.py -> build\lib.win-amd64-3.7\detectron2\structures
copying detectron2\structures\instances.py -> build\lib.win-amd64-3.7\detectron2\structures
copying detectron2\structures\keypoints.py -> build\lib.win-amd64-3.7\detectron2\structures
copying detectron2\structures\masks.py -> build\lib.win-amd64-3.7\detectron2\structures
copying detectron2\structures\rotated_boxes.py -> build\lib.win-amd64-3.7\detectron2\structures
copying detectron2\structures\__init__.py -> build\lib.win-amd64-3.7\detectron2\structures
creating build\lib.win-amd64-3.7\detectron2\utils
copying detectron2\utils\collect_env.py -> build\lib.win-amd64-3.7\detectron2\utils
copying detectron2\utils\colormap.py -> build\lib.win-amd64-3.7\detectron2\utils
copying detectron2\utils\comm.py -> build\lib.win-amd64-3.7\detectron2\utils
copying detectron2\utils\env.py -> build\lib.win-amd64-3.7\detectron2\utils
copying detectron2\utils\events.py -> build\lib.win-amd64-3.7\detectron2\utils
copying detectron2\utils\logger.py -> build\lib.win-amd64-3.7\detectron2\utils
copying detectron2\utils\registry.py -> build\lib.win-amd64-3.7\detectron2\utils
copying detectron2\utils\serialize.py -> build\lib.win-amd64-3.7\detectron2\utils
copying detectron2\utils\video_visualizer.py -> build\lib.win-amd64-3.7\detectron2\utils
copying detectron2\utils\visualizer.py -> build\lib.win-amd64-3.7\detectron2\utils
copying detectron2\utils\__init__.py -> build\lib.win-amd64-3.7\detectron2\utils
creating build\lib.win-amd64-3.7\detectron2\data\datasets
copying detectron2\data\datasets\builtin.py -> build\lib.win-amd64-3.7\detectron2\data\datasets
copying detectron2\data\datasets\builtin_meta.py -> build\lib.win-amd64-3.7\detectron2\data\datasets
copying detectron2\data\datasets\cityscapes.py -> build\lib.win-amd64-3.7\detectron2\data\datasets
copying detectron2\data\datasets\coco.py -> build\lib.win-amd64-3.7\detectron2\data\datasets
copying detectron2\data\datasets\lvis.py -> build\lib.win-amd64-3.7\detectron2\data\datasets
copying detectron2\data\datasets\lvis_v0_5_categories.py -> build\lib.win-amd64-3.7\detectron2\data\datasets
copying detectron2\data\datasets\pascal_voc.py -> build\lib.win-amd64-3.7\detectron2\data\datasets
copying detectron2\data\datasets\register_coco.py -> build\lib.win-amd64-3.7\detectron2\data\datasets
copying detectron2\data\datasets\__init__.py -> build\lib.win-amd64-3.7\detectron2\data\datasets
creating build\lib.win-amd64-3.7\detectron2\data\samplers
copying detectron2\data\samplers\distributed_sampler.py -> build\lib.win-amd64-3.7\detectron2\data\samplers
copying detectron2\data\samplers\grouped_batch_sampler.py -> build\lib.win-amd64-3.7\detectron2\data\samplers
copying detectron2\data\samplers\__init__.py -> build\lib.win-amd64-3.7\detectron2\data\samplers
creating build\lib.win-amd64-3.7\detectron2\data\transforms
copying detectron2\data\transforms\transform.py -> build\lib.win-amd64-3.7\detectron2\data\transforms
copying detectron2\data\transforms\transform_gen.py -> build\lib.win-amd64-3.7\detectron2\data\transforms
copying detectron2\data\transforms\__init__.py -> build\lib.win-amd64-3.7\detectron2\data\transforms
creating build\lib.win-amd64-3.7\detectron2\modeling\backbone
copying detectron2\modeling\backbone\backbone.py -> build\lib.win-amd64-3.7\detectron2\modeling\backbone
copying detectron2\modeling\backbone\build.py -> build\lib.win-amd64-3.7\detectron2\modeling\backbone
copying detectron2\modeling\backbone\fpn.py -> build\lib.win-amd64-3.7\detectron2\modeling\backbone
copying detectron2\modeling\backbone\resnet.py -> build\lib.win-amd64-3.7\detectron2\modeling\backbone
copying detectron2\modeling\backbone\__init__.py -> build\lib.win-amd64-3.7\detectron2\modeling\backbone
creating build\lib.win-amd64-3.7\detectron2\modeling\meta_arch
copying detectron2\modeling\meta_arch\build.py -> build\lib.win-amd64-3.7\detectron2\modeling\meta_arch
copying detectron2\modeling\meta_arch\panoptic_fpn.py -> build\lib.win-amd64-3.7\detectron2\modeling\meta_arch
copying detectron2\modeling\meta_arch\rcnn.py -> build\lib.win-amd64-3.7\detectron2\modeling\meta_arch
copying detectron2\modeling\meta_arch\retinanet.py -> build\lib.win-amd64-3.7\detectron2\modeling\meta_arch
copying detectron2\modeling\meta_arch\semantic_seg.py -> build\lib.win-amd64-3.7\detectron2\modeling\meta_arch
copying detectron2\modeling\meta_arch\__init__.py -> build\lib.win-amd64-3.7\detectron2\modeling\meta_arch
creating build\lib.win-amd64-3.7\detectron2\modeling\proposal_generator
copying detectron2\modeling\proposal_generator\build.py -> build\lib.win-amd64-3.7\detectron2\modeling\proposal_generator
copying detectron2\modeling\proposal_generator\proposal_utils.py -> build\lib.win-amd64-3.7\detectron2\modeling\proposal_generator
copying detectron2\modeling\proposal_generator\rpn.py -> build\lib.win-amd64-3.7\detectron2\modeling\proposal_generator
copying detectron2\modeling\proposal_generator\rpn_outputs.py -> build\lib.win-amd64-3.7\detectron2\modeling\proposal_generator
copying detectron2\modeling\proposal_generator\rrpn.py -> build\lib.win-amd64-3.7\detectron2\modeling\proposal_generator
copying detectron2\modeling\proposal_generator\rrpn_outputs.py -> build\lib.win-amd64-3.7\detectron2\modeling\proposal_generator
copying detectron2\modeling\proposal_generator\__init__.py -> build\lib.win-amd64-3.7\detectron2\modeling\proposal_generator
creating build\lib.win-amd64-3.7\detectron2\modeling\roi_heads
copying detectron2\modeling\roi_heads\box_head.py -> build\lib.win-amd64-3.7\detectron2\modeling\roi_heads
copying detectron2\modeling\roi_heads\cascade_rcnn.py -> build\lib.win-amd64-3.7\detectron2\modeling\roi_heads
copying detectron2\modeling\roi_heads\fast_rcnn.py -> build\lib.win-amd64-3.7\detectron2\modeling\roi_heads
copying detectron2\modeling\roi_heads\keypoint_head.py -> build\lib.win-amd64-3.7\detectron2\modeling\roi_heads
copying detectron2\modeling\roi_heads\mask_head.py -> build\lib.win-amd64-3.7\detectron2\modeling\roi_heads
copying detectron2\modeling\roi_heads\roi_heads.py -> build\lib.win-amd64-3.7\detectron2\modeling\roi_heads
copying detectron2\modeling\roi_heads\rotated_fast_rcnn.py -> build\lib.win-amd64-3.7\detectron2\modeling\roi_heads
copying detectron2\modeling\roi_heads\__init__.py -> build\lib.win-amd64-3.7\detectron2\modeling\roi_heads
creating build\lib.win-amd64-3.7\detectron2\model_zoo\configs
copying detectron2\model_zoo\configs\Base-RCNN-C4.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs
copying detectron2\model_zoo\configs\Base-RCNN-DilatedC5.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs
copying detectron2\model_zoo\configs\Base-RCNN-FPN.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs
copying detectron2\model_zoo\configs\Base-RetinaNet.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs
creating build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Cityscapes
copying detectron2\model_zoo\configs\Cityscapes\mask_rcnn_R_50_FPN.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Cityscapes
creating build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_101_C4_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_101_DC5_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_C4_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_C4_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_DC5_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_DC5_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_X_101_32x8d_FPN_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\fast_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\retinanet_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\retinanet_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\retinanet_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\rpn_R_50_C4_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
copying detectron2\model_zoo\configs\COCO-Detection\rpn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Detection
creating build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-InstanceSegmentation
copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_101_C4_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-InstanceSegmentation
copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_101_DC5_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-InstanceSegmentation
copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-InstanceSegmentation
copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_C4_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-InstanceSegmentation
copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_C4_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-InstanceSegmentation
copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_DC5_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-InstanceSegmentation
copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_DC5_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-InstanceSegmentation
copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-InstanceSegmentation
copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-InstanceSegmentation
copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_X_101_32x8d_FPN_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-InstanceSegmentation
creating build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Keypoints
copying detectron2\model_zoo\configs\COCO-Keypoints\Base-Keypoint-RCNN-FPN.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Keypoints
copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Keypoints
copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Keypoints
copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Keypoints
copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_X_101_32x8d_FPN_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-Keypoints
creating build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-PanopticSegmentation
copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\Base-Panoptic-FPN.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-PanopticSegmentation
copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\panoptic_fpn_R_101_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-PanopticSegmentation
copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\panoptic_fpn_R_50_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-PanopticSegmentation
copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\panoptic_fpn_R_50_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\COCO-PanopticSegmentation
creating build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Detectron1-Comparisons
copying detectron2\model_zoo\configs\Detectron1-Comparisons\faster_rcnn_R_50_FPN_noaug_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Detectron1-Comparisons
copying detectron2\model_zoo\configs\Detectron1-Comparisons\keypoint_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Detectron1-Comparisons
copying detectron2\model_zoo\configs\Detectron1-Comparisons\mask_rcnn_R_50_FPN_noaug_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Detectron1-Comparisons
creating build\lib.win-amd64-3.7\detectron2\model_zoo\configs\LVIS-InstanceSegmentation
copying detectron2\model_zoo\configs\LVIS-InstanceSegmentation\mask_rcnn_R_101_FPN_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\LVIS-InstanceSegmentation
copying detectron2\model_zoo\configs\LVIS-InstanceSegmentation\mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\LVIS-InstanceSegmentation
copying detectron2\model_zoo\configs\LVIS-InstanceSegmentation\mask_rcnn_X_101_32x8d_FPN_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\LVIS-InstanceSegmentation
creating build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Misc
copying detectron2\model_zoo\configs\Misc\cascade_mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Misc
copying detectron2\model_zoo\configs\Misc\cascade_mask_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Misc
copying detectron2\model_zoo\configs\Misc\cascade_mask_rcnn_X_152_32x8d_FPN_IN5k_gn_dconv.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Misc
copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_1x_cls_agnostic.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Misc
copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_1x_dconv_c3-c5.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Misc
copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_3x_dconv_c3-c5.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Misc
copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_3x_gn.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Misc
copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_3x_syncbn.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Misc
copying detectron2\model_zoo\configs\Misc\panoptic_fpn_R_101_dconv_cascade_gn_3x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Misc
copying detectron2\model_zoo\configs\Misc\scratch_mask_rcnn_R_50_FPN_3x_gn.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Misc
copying detectron2\model_zoo\configs\Misc\semantic_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\Misc
creating build\lib.win-amd64-3.7\detectron2\model_zoo\configs\PascalVOC-Detection
copying detectron2\model_zoo\configs\PascalVOC-Detection\faster_rcnn_R_50_C4.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\PascalVOC-Detection
copying detectron2\model_zoo\configs\PascalVOC-Detection\faster_rcnn_R_50_FPN.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\PascalVOC-Detection
creating build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\fast_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\fast_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_normalized_training_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_training_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_inference_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_instant_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_training_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_DC5_inference_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_training_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\panoptic_fpn_R_50_inference_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\panoptic_fpn_R_50_instant_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\panoptic_fpn_R_50_training_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\retinanet_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\retinanet_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\rpn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\rpn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\semantic_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\semantic_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
copying detectron2\model_zoo\configs\quick_schedules\semantic_R_50_FPN_training_acc_test.yaml -> build\lib.win-amd64-3.7\detectron2\model_zoo\configs\quick_schedules
running build_ext
C:\Users\Mobassir\anaconda3\envs\myenv\lib\site-packages\torch\utils\cpp_extension.py:270: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
  warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'detectron2._C' extension
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7\Release
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7\Release\Users
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7\Release\Users\Mobassir
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7\Release\Users\Mobassir\ck
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7\Release\Users\Mobassir\ck\detectron2
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7\Release\Users\Mobassir\ck\detectron2\detectron2
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7\Release\Users\Mobassir\ck\detectron2\detectron2\layers
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7\Release\Users\Mobassir\ck\detectron2\detectron2\layers\csrc
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7\Release\Users\Mobassir\ck\detectron2\detectron2\layers\csrc\box_iou_rotated
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7\Release\Users\Mobassir\ck\detectron2\detectron2\layers\csrc\nms_rotated
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7\Release\Users\Mobassir\ck\detectron2\detectron2\layers\csrc\ROIAlign
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7\Release\Users\Mobassir\ck\detectron2\detectron2\layers\csrc\ROIAlignRotated
creating C:\Users\Mobassir\ck\detectron2\build\temp.win-amd64-3.7\Release\Users\Mobassir\ck\detectron2\detectron2\layers\csrc\deformable
C:\Users\Mobassir\anaconda3\envs\myenv\lib\site-packages\torch\cuda\__init__.py:125: UserWarning:
GeForce RTX 3060 Ti with CUDA capability sm_86 is not compatible with the current PyTorch installation.
The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_61 sm_70 sm_75 compute_37.
If you want to use the GeForce RTX 3060 Ti GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/

  warnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name))
Traceback (most recent call last):
  File "setup.py", line 115, in <module>
    cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension},
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\site-packages\setuptools\__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\site-packages\setuptools\command\build_ext.py", line 79, in run
    _build_ext.run(self)
  File "C:\Users\Mobassir\AppData\Roaming\Python\Python37\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\distutils\command\build_ext.py", line 340, in run
    self.build_extensions()
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\site-packages\torch\utils\cpp_extension.py", line 649, in build_extensions
    build_ext.build_extensions(self)
  File "C:\Users\Mobassir\AppData\Roaming\Python\Python37\site-packages\Cython\Distutils\old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\distutils\command\build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\site-packages\setuptools\command\build_ext.py", line 196, in build_extension
    _build_ext.build_extension(self, ext)
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\distutils\command\build_ext.py", line 534, in build_extension
    depends=ext.depends)
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\site-packages\torch\utils\cpp_extension.py", line 613, in win_wrap_ninja_compile
    cuda_post_cflags = win_cuda_flags(cuda_post_cflags)
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\site-packages\torch\utils\cpp_extension.py", line 485, in win_cuda_flags
    cflags + _get_cuda_arch_flags(cflags))
  File "C:\Users\Mobassir\anaconda3\envs\myenv\lib\site-packages\torch\utils\cpp_extension.py", line 1414, in _get_cuda_arch_flags
    raise ValueError("Unknown CUDA arch ({}) or GPU not supported".format(arch))
ValueError: Unknown CUDA arch (8.6) or GPU not supported
mobassir94 commented 3 years ago

i can't find and replace this file :

file1: {your evn path}\Lib\site-packages\torch\include\torch\csrc\jit\argument_spec.h example: {C:\Miniconda3\envs\py36}\Lib\site-packages\torch\include\torch\csrc\jit\argument_spec.h(190) static constexpr size_t DEPTH_LIMIT = 128; change to --> static const size_t DEPTH_LIMIT = 128;

however i found file2 and modified that as you suggested

mobassir94 commented 3 years ago

when i try your repo with this command : conda install pytorch torchvision cudatoolkit=11.0 -c pytorch

i get this large error :

https://pastebin.com/jXhisEa2

mobassir94 commented 3 years ago

solution discussed here : https://github.com/markstrefford/running-detectron2-on-windows-wsl2-rtx30xx/issues/2