├── .gitattributes ├── Chapter01 ├── Detectron2_Chapter01.ipynb └── README.md ├── Chapter02 ├── Detectron2-Chapter02-Instance Segmentation.ipynb ├── Detectron2-Chapter02-Keypoint Detection.ipynb ├── Detectron2-Chapter02-Object Detection.ipynb ├── Detectron2-Chapter02-Panoptic Segmentation.ipynb ├── Detectron2-Chapter02-PuttingAllTogether.ipynb ├── Detectron2-Chapter02-Semantic Segmentation.ipynb └── README.md ├── Chapter03 ├── Detectron2-Chapter03-Pascal VOC to COCO.ipynb ├── Detectron2_Chapter03_Download_Images.ipynb ├── Detectron2_Chapter03_YOLO_to_COCO.ipynb └── README.md ├── Chapter04 ├── Detectron2_Chapter04.ipynb └── README.md ├── Chapter05 ├── Detectron2_Chapter05_Custom_Trainer.ipynb ├── Detectron2_Chapter05_Data_Processing.ipynb ├── Detectron2_Chapter05_Default_Trainer.ipynb └── Detectron2_Chapter05_Hook.ipynb ├── Chapter06 ├── Detectron2_Chapter06_Stochastic_Gradient_Descent.ipynb ├── Detectron2_Chapter06_TensorBoard.ipynb ├── model_best.pth.zip ├── object_detector.zip ├── object_detector_custom.zip └── object_detector_hook.zip ├── Chapter07 ├── Detectron2_Chapter07_Anchors.ipynb ├── Detectron2_Chapter07_Pixel_Means_and_STD.ipynb ├── Detectron2_Chapter07_PuttingAllTogether.ipynb └── object_detector_chapters0607.zip ├── Chapter08 ├── Detectron2_Chapter08_Augmentations_AugInput.ipynb ├── Detectron2_Chapter08_Transforms.ipynb └── object_detector_hook.zip ├── Chapter09 ├── Detectron2_Chapter09_CustomAugmentations.ipynb ├── Detectron2_Chapter09_TestTimeAugmentations.ipynb └── Detectron2_Chapter09_UsingExistingAugmentations.ipynb ├── Chapter10 ├── Detectron2_Chapter10_DataProcessing.ipynb ├── Detectron2_Chapter10_MaskRCNN.ipynb └── Detectron2_Chapter10_Train.ipynb ├── Chapter11 ├── Detectron2_Chapter11_PointRend_Custom.ipynb └── Detectron2_Chapter11_PointRend_Existing.ipynb ├── Chapter12 ├── Detectron2_Chapter12_CPPEnvironment.ipynb ├── Detectron2_Chapter12_Export.ipynb ├── Detectron2_Chapter12_Scripting.ipynb ├── Detectron2_Chapter12_Tracing.ipynb ├── scripted_model.pt └── traced_model.pt ├── Chapter13 ├── Detectron2_Chapter13_CustomModelToONNX.ipynb ├── Detectron2_Chapter13_D2Go_Custom_Quantization.ipynb ├── Detectron2_Chapter13_D2Go_Existing.ipynb ├── Detectron2_Chapter13_DeployingToBrowser.ipynb ├── Detectron2_Chapter13_Intro2ONNX.ipynb └── onnx_model.onnx ├── LICENSE ├── README.md ├── datasets ├── 800x800image │ └── input.jpeg ├── 960x720image │ └── input.jpg ├── Chapter08.zip ├── README.md ├── braintumors.zip ├── braintumors_coco.zip ├── coco.zip ├── segbraintumors_coco.zip ├── voc.zip └── yolo.zip ├── test └── utils └── braintumorutils.py /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/.gitattributes -------------------------------------------------------------------------------- /Chapter01/Detectron2_Chapter01.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter01/Detectron2_Chapter01.ipynb -------------------------------------------------------------------------------- /Chapter01/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter02/Detectron2-Chapter02-Instance Segmentation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter02/Detectron2-Chapter02-Instance Segmentation.ipynb -------------------------------------------------------------------------------- /Chapter02/Detectron2-Chapter02-Keypoint Detection.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter02/Detectron2-Chapter02-Keypoint Detection.ipynb -------------------------------------------------------------------------------- /Chapter02/Detectron2-Chapter02-Object Detection.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter02/Detectron2-Chapter02-Object Detection.ipynb -------------------------------------------------------------------------------- /Chapter02/Detectron2-Chapter02-Panoptic Segmentation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter02/Detectron2-Chapter02-Panoptic Segmentation.ipynb -------------------------------------------------------------------------------- /Chapter02/Detectron2-Chapter02-PuttingAllTogether.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter02/Detectron2-Chapter02-PuttingAllTogether.ipynb -------------------------------------------------------------------------------- /Chapter02/Detectron2-Chapter02-Semantic Segmentation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter02/Detectron2-Chapter02-Semantic Segmentation.ipynb -------------------------------------------------------------------------------- /Chapter02/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter03/Detectron2-Chapter03-Pascal VOC to COCO.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter03/Detectron2-Chapter03-Pascal VOC to COCO.ipynb -------------------------------------------------------------------------------- /Chapter03/Detectron2_Chapter03_Download_Images.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter03/Detectron2_Chapter03_Download_Images.ipynb -------------------------------------------------------------------------------- /Chapter03/Detectron2_Chapter03_YOLO_to_COCO.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter03/Detectron2_Chapter03_YOLO_to_COCO.ipynb -------------------------------------------------------------------------------- /Chapter03/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter04/Detectron2_Chapter04.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter04/Detectron2_Chapter04.ipynb -------------------------------------------------------------------------------- /Chapter04/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter05/Detectron2_Chapter05_Custom_Trainer.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter05/Detectron2_Chapter05_Custom_Trainer.ipynb -------------------------------------------------------------------------------- /Chapter05/Detectron2_Chapter05_Data_Processing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter05/Detectron2_Chapter05_Data_Processing.ipynb -------------------------------------------------------------------------------- /Chapter05/Detectron2_Chapter05_Default_Trainer.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter05/Detectron2_Chapter05_Default_Trainer.ipynb -------------------------------------------------------------------------------- /Chapter05/Detectron2_Chapter05_Hook.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter05/Detectron2_Chapter05_Hook.ipynb -------------------------------------------------------------------------------- /Chapter06/Detectron2_Chapter06_Stochastic_Gradient_Descent.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter06/Detectron2_Chapter06_Stochastic_Gradient_Descent.ipynb -------------------------------------------------------------------------------- /Chapter06/Detectron2_Chapter06_TensorBoard.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter06/Detectron2_Chapter06_TensorBoard.ipynb -------------------------------------------------------------------------------- /Chapter06/model_best.pth.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter06/model_best.pth.zip -------------------------------------------------------------------------------- /Chapter06/object_detector.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter06/object_detector.zip -------------------------------------------------------------------------------- /Chapter06/object_detector_custom.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter06/object_detector_custom.zip -------------------------------------------------------------------------------- /Chapter06/object_detector_hook.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter06/object_detector_hook.zip -------------------------------------------------------------------------------- /Chapter07/Detectron2_Chapter07_Anchors.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter07/Detectron2_Chapter07_Anchors.ipynb -------------------------------------------------------------------------------- /Chapter07/Detectron2_Chapter07_Pixel_Means_and_STD.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter07/Detectron2_Chapter07_Pixel_Means_and_STD.ipynb -------------------------------------------------------------------------------- /Chapter07/Detectron2_Chapter07_PuttingAllTogether.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter07/Detectron2_Chapter07_PuttingAllTogether.ipynb -------------------------------------------------------------------------------- /Chapter07/object_detector_chapters0607.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter07/object_detector_chapters0607.zip -------------------------------------------------------------------------------- /Chapter08/Detectron2_Chapter08_Augmentations_AugInput.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter08/Detectron2_Chapter08_Augmentations_AugInput.ipynb -------------------------------------------------------------------------------- /Chapter08/Detectron2_Chapter08_Transforms.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter08/Detectron2_Chapter08_Transforms.ipynb -------------------------------------------------------------------------------- /Chapter08/object_detector_hook.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter08/object_detector_hook.zip -------------------------------------------------------------------------------- /Chapter09/Detectron2_Chapter09_CustomAugmentations.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter09/Detectron2_Chapter09_CustomAugmentations.ipynb -------------------------------------------------------------------------------- /Chapter09/Detectron2_Chapter09_TestTimeAugmentations.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter09/Detectron2_Chapter09_TestTimeAugmentations.ipynb -------------------------------------------------------------------------------- /Chapter09/Detectron2_Chapter09_UsingExistingAugmentations.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter09/Detectron2_Chapter09_UsingExistingAugmentations.ipynb -------------------------------------------------------------------------------- /Chapter10/Detectron2_Chapter10_DataProcessing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter10/Detectron2_Chapter10_DataProcessing.ipynb -------------------------------------------------------------------------------- /Chapter10/Detectron2_Chapter10_MaskRCNN.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter10/Detectron2_Chapter10_MaskRCNN.ipynb -------------------------------------------------------------------------------- /Chapter10/Detectron2_Chapter10_Train.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter10/Detectron2_Chapter10_Train.ipynb -------------------------------------------------------------------------------- /Chapter11/Detectron2_Chapter11_PointRend_Custom.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter11/Detectron2_Chapter11_PointRend_Custom.ipynb -------------------------------------------------------------------------------- /Chapter11/Detectron2_Chapter11_PointRend_Existing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter11/Detectron2_Chapter11_PointRend_Existing.ipynb -------------------------------------------------------------------------------- /Chapter12/Detectron2_Chapter12_CPPEnvironment.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter12/Detectron2_Chapter12_CPPEnvironment.ipynb -------------------------------------------------------------------------------- /Chapter12/Detectron2_Chapter12_Export.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter12/Detectron2_Chapter12_Export.ipynb -------------------------------------------------------------------------------- /Chapter12/Detectron2_Chapter12_Scripting.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter12/Detectron2_Chapter12_Scripting.ipynb -------------------------------------------------------------------------------- /Chapter12/Detectron2_Chapter12_Tracing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter12/Detectron2_Chapter12_Tracing.ipynb -------------------------------------------------------------------------------- /Chapter12/scripted_model.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter12/scripted_model.pt -------------------------------------------------------------------------------- /Chapter12/traced_model.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter12/traced_model.pt -------------------------------------------------------------------------------- /Chapter13/Detectron2_Chapter13_CustomModelToONNX.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter13/Detectron2_Chapter13_CustomModelToONNX.ipynb -------------------------------------------------------------------------------- /Chapter13/Detectron2_Chapter13_D2Go_Custom_Quantization.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter13/Detectron2_Chapter13_D2Go_Custom_Quantization.ipynb -------------------------------------------------------------------------------- /Chapter13/Detectron2_Chapter13_D2Go_Existing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter13/Detectron2_Chapter13_D2Go_Existing.ipynb -------------------------------------------------------------------------------- /Chapter13/Detectron2_Chapter13_DeployingToBrowser.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter13/Detectron2_Chapter13_DeployingToBrowser.ipynb -------------------------------------------------------------------------------- /Chapter13/Detectron2_Chapter13_Intro2ONNX.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter13/Detectron2_Chapter13_Intro2ONNX.ipynb -------------------------------------------------------------------------------- /Chapter13/onnx_model.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/Chapter13/onnx_model.onnx -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/README.md -------------------------------------------------------------------------------- /datasets/800x800image/input.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/datasets/800x800image/input.jpeg -------------------------------------------------------------------------------- /datasets/960x720image/input.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/datasets/960x720image/input.jpg -------------------------------------------------------------------------------- /datasets/Chapter08.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/datasets/Chapter08.zip -------------------------------------------------------------------------------- /datasets/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/datasets/README.md -------------------------------------------------------------------------------- /datasets/braintumors.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/datasets/braintumors.zip -------------------------------------------------------------------------------- /datasets/braintumors_coco.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/datasets/braintumors_coco.zip -------------------------------------------------------------------------------- /datasets/coco.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/datasets/coco.zip -------------------------------------------------------------------------------- /datasets/segbraintumors_coco.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/datasets/segbraintumors_coco.zip -------------------------------------------------------------------------------- /datasets/voc.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/datasets/voc.zip -------------------------------------------------------------------------------- /datasets/yolo.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/datasets/yolo.zip -------------------------------------------------------------------------------- /test: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /utils/braintumorutils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Hands-On-Computer-Vision-with-Detectron2/HEAD/utils/braintumorutils.py --------------------------------------------------------------------------------