jjungm4155
@jjungm4155
Reviews Written
1
Average Rating
5.0
Posts
Q&A
Segmentation
์๋ ํ์ธ์, ๊ฐ์ฌ๋.์ ๋ฒ train_detector(model, datasets, cfg, distributed=False, validate=False)์ผ๋ก ์ผ๋จ ์ฝ๋๋ฅผ ๊ณ ์ณ์ ๋๋ ค๋ณด๋ผ๊ณ ์ฃผ์ ๋ต๋ณ์ ํ์ต์ ์ ๋์์ต๋๋ค. ๊ฐ์ฌ๋๋ฆฝ๋๋ค!์ด๋ฒ์๋ mm_mask_rcnn_train_balloon ๊ฐ์ ์ฝ๋๋ฅผ custom ๋ฐ์ดํฐ์ ์์ ํด๋์ค๋ฅผ ํ๋์์ ๋๊ฐ๋ก ์ถ๊ฐํ์ฌ ๋๋ฆฌ๊ณ ์๋ ์ค์ ๋๋ค. # epochs๋ config์ runner ํ๋ผ๋ฏธํฐ๋ก ์ง์ ๋จ. ๊ธฐ๋ณธ 12ํ train_detector(model, datasets, cfg, distributed=False, validate=False)์ด๋ฒ์๋ ์ฌ๊ธฐ์ 'NoneType' object has no attribute 'get' ์ค๋ฅ๊ฐ ๋ ์ ํด๊ฒฐ์ ๋ชปํ๊ณ ์๋๋ฐ ํน์ ๋์์ ์ฃผ์ค ์ ์์ผ์ค๊น์?(์ฌ์ง)
- 0
- 3
- 844
Q&A
Segmentation
์ถ๊ฐ์ ์ผ๋ก mm_mask_rcnn_train_balloon ๋ฅผ ๊ตฌ๊ธ ์ฝ๋ฉ์์ ํ์ต์ ์ํฌ ๋ (์ฌ์ง)์ด ๋ถ๋ถ์์ "์ธ์ ์ด ๋ค์ด๋์์ต๋๋ค." ๋ผ๋ ๊ฒฝ๊ณ ์ฐฝ์ด ๋จ๋ฉด์ ํ์ต์ด ์ค๋จ๋์ด์function ClickConnect()๋ ์ฝ์์ฐฝ์ ๋ถ์ฌ๋ฃ์ด๋ณด๊ณ ์ฝ๋ฉ pro ๋ฒ์ ๋ ์ฌ๋ณด์๋๋ฐ ๋๊ฐ์ ๋ฌธ์ ๊ฐ ๊ณ์ ๋ฐ์ํด์ ํ์ต์ด ์๋ฃ๋์ง ์์ต๋๋ค. ๋ฌด์์ด ๋ฌธ์ ์ธ์ง ์ฌ์ญค๋ด๋ ๋ ๊น์?์๋๋ ์ธ์ ์ด ๋ค์ด๋์์ต๋๋ค ๊ฒฝ๊ณ ์ฐฝ์ด ๋จ๋ฉด์ ๋ํ๋ ๊ฒฐ๊ณผ์ฐฝ์ ๋๋ค..!2023-03-28 02:17:28,439 - mmdet - INFO - Automatic scaling of learning rate (LR) has been disabled. 2023-03-28 02:17:28,450 - mmdet - INFO - load checkpoint from local path: /content/mmdetection/checkpoints/mask_rcnn_r101_fpn_1x_coco_20200204-1efe0ed5.pth loading annotations into memory... Done (t=0.00s) creating index... index created! 2023-03-28 02:17:28,700 - mmdet - WARNING - The model and loaded state dict do not match exactly size mismatch for roi_head.bbox_head.fc_cls.weight: copying a param with shape torch.Size([81, 1024]) from checkpoint, the shape in current model is torch.Size([2, 1024]). size mismatch for roi_head.bbox_head.fc_cls.bias: copying a param with shape torch.Size([81]) from checkpoint, the shape in current model is torch.Size([2]). size mismatch for roi_head.bbox_head.fc_reg.weight: copying a param with shape torch.Size([320, 1024]) from checkpoint, the shape in current model is torch.Size([4, 1024]). size mismatch for roi_head.bbox_head.fc_reg.bias: copying a param with shape torch.Size([320]) from checkpoint, the shape in current model is torch.Size([4]). size mismatch for roi_head.mask_head.conv_logits.weight: copying a param with shape torch.Size([80, 256, 1, 1]) from checkpoint, the shape in current model is torch.Size([1, 256, 1, 1]). size mismatch for roi_head.mask_head.conv_logits.bias: copying a param with shape torch.Size([80]) from checkpoint, the shape in current model is torch.Size([1]). 2023-03-28 02:17:28,709 - mmdet - INFO - Start running, host: root@21ec773421f3, work_dir: /content/tutorial_exps 2023-03-28 02:17:28,710 - mmdet - INFO - Hooks will be executed in the following order: before_run: (VERY_HIGH ) StepLrUpdaterHook (NORMAL ) CheckpointHook (LOW ) EvalHook (VERY_LOW ) TextLoggerHook -------------------- before_train_epoch: (VERY_HIGH ) StepLrUpdaterHook (NORMAL ) NumClassCheckHook (LOW ) IterTimerHook (LOW ) EvalHook (VERY_LOW ) TextLoggerHook -------------------- before_train_iter: (VERY_HIGH ) StepLrUpdaterHook (LOW ) IterTimerHook (LOW ) EvalHook -------------------- after_train_iter: (ABOVE_NORMAL) OptimizerHook (NORMAL ) CheckpointHook (LOW ) IterTimerHook (LOW ) EvalHook (VERY_LOW ) TextLoggerHook -------------------- after_train_epoch: (NORMAL ) CheckpointHook (LOW ) EvalHook (VERY_LOW ) TextLoggerHook -------------------- before_val_epoch: (NORMAL ) NumClassCheckHook (LOW ) IterTimerHook (VERY_LOW ) TextLoggerHook -------------------- before_val_iter: (LOW ) IterTimerHook -------------------- after_val_iter: (LOW ) IterTimerHook -------------------- after_val_epoch: (VERY_LOW ) TextLoggerHook -------------------- after_run: (VERY_LOW ) TextLoggerHook -------------------- 2023-03-28 02:17:28,713 - mmdet - INFO - workflow: [('train', 1)], max: 36 epochs 2023-03-28 02:17:28,717 - mmdet - INFO - Checkpoints will be saved to /content/tutorial_exps by HardDiskBackend. 2023-03-28 02:18:51,959 - mmdet - INFO - Saving checkpoint at 12 epochs [>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 5/5, 1.3 task/s, elapsed: 4s, ETA: 0s2023-03-28 02:18:58,414 - mmdet - INFO - Evaluating bbox... 2023-03-28 02:18:58,446 - mmdet - INFO - Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.112 Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=1000 ] = 0.205 Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=1000 ] = 0.065 Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.200 Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.018 Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = -1.000 Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.272 Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=300 ] = 0.272 Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=1000 ] = 0.272 Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.400 Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.071 Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = -1.000 2023-03-28 02:18:58,447 - mmdet - INFO - Evaluating segm... /usr/local/lib/python3.9/dist-packages/mmdet-2.28.2-py3.9.egg/mmdet/datasets/coco.py:470: UserWarning: The key "bbox" is deleted for more accurate mask AP of small/medium/large instances since v2.12.0. This does not change the overall mAP calculation. warnings.warn( 2023-03-28 02:18:58,480 - mmdet - INFO - Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.077 Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=1000 ] = 0.209 Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=1000 ] = 0.008 Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.136 Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.015 Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = -1.000 Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.250 Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=300 ] = 0.250 Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=1000 ] = 0.250 Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.382 Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.043 Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = -1.000 2023-03-28 02:18:58,481 - mmdet - INFO - Epoch(val) [12][5] bbox_mAP: 0.1117, bbox_mAP_50: 0.2054, bbox_mAP_75: 0.0645, bbox_mAP_s: 0.2002, bbox_mAP_m: 0.0178, bbox_mAP_l: -1.0000, bbox_mAP_copypaste: 0.1117 0.2054 0.0645 0.2002 0.0178 -1.0000, segm_mAP: 0.0770, segm_mAP_50: 0.2095, segm_mAP_75: 0.0079, segm_mAP_s: 0.1363, segm_mAP_m: 0.0149, segm_mAP_l: -1.0000, segm_mAP_copypaste: 0.0770 0.2095 0.0079 0.1363 0.0149 -1.0000 Loading and preparing results... DONE (t=0.00s) creating index... index created! Running per image evaluation... Evaluate annotation type *bbox* DONE (t=0.02s). Accumulating evaluation results... DONE (t=0.01s). Loading and preparing results... DONE (t=0.00s) creating index... index created! Running per image evaluation... Evaluate annotation type *segm* DONE (t=0.02s). Accumulating evaluation results... DONE (t=0.01s).
- 0
- 3
- 844




