kkkk
@qowiqowi7532
Reviews Written
-
Average Rating
-
Posts
Q&A
efficientDet customdata ๋ชจ๋ธ ์ฑ๋ฅ ์ธก์
๊ฐ์ฌํฉ๋๋ค! ์ง๋ํด์ฃผ์ ๋๋ถ์ ๊ฒฐ๊ณผ ๋ผ ์ ์์์ต๋๋ค. ์ด์ ์๋์ ๊ฐ์ด ํ๊ฐํ๋ก ์์ฑํ๋ ค๊ณ ํฉ๋๋ค. (์ฌ์ง) D๋ฒ์ ๋ณ ์๋ฆฌ์ mAP ๋ฑ ์ ๋ฆฌํ๋ ค๊ณ ํฉ๋๋ค. 1) ์ธก์ ๋ AP๋ก ์ ๋ฆฌํ๋ ค๊ณ ํฉ๋๋ค. AP๊ฐ ์์ซ์ ์๋ฆฌ๋ก ๋์ต๋๋ค. D0 0.8070435 D1 0.8156416 D2 0.8210681 80์ ๋๊ฐ ๋์ค๋๋ฐ ์ ๋ชจ๋ธ์ด 32~51์ ๋์ ์๋ ๋ชจ๋ธ๋ณด๋ค ๋๋ฌด๋๋ ๋์ต๋๋ค. ์ ๋ชจ๋ธ์ด 2๊ฐ ํด๋์ค์ 4000์ฅ์ ์ด๋ฏธ์ง, PASCAL์ด 20์ฌ๊ฐ ํด๋์ค์ 5000์ฅ์ ์ด๋ฏธ์ง๋ฅผ ๊ฐ์ง๊ณ ์์ต๋๋ค. ํด๋์ค๋น ๋ฐ์ดํฐ๋์ด ๋ง๋ค๊ณ ํด์ ์ด ์ ๋์ ์ฑ๋ฅ์ด ๋์ฌ ์ ์๋๋ผ๋ ์๊ฐ์ด ๋ญ๋๋ค. ๋์์ D๋ฒ์ ๋ณ ๊ฒฉ์ฐจ๊ฐ ๊ทธ๋ ๊ฒ ํฌ์ง๋ ์์ต๋๋ค. efficientDet ๋ชจ๋ธ์ ํน์ง์ธ ๊ฒฝ๋ํ์๋ ๋๋ฌํ์ง ๋ชปํ ๊ฒ ๊ฐ์ต๋๋ค. ์ ๋ ๊ฒ ์ ๋ฆฌ๋ฅผ ํ๋ ๊ฒ์ด ๋ง๊ฒ ์ต๋๊น? 2) ๋ชจ๋ธ FLOPS ์ธก์ ์ ์ด๋ป๊ฒ ํ ๊น์? ๋ง์ฐฌ๊ฐ์ง๋ก ํ๊ฐํ ์ ์๋ function์ด ์์๊น์? 3) inference time๋ ์ธก์ ํ๊ณ ์ถ์ต๋๋ค. ์ด๋ฏธ์ง์ inference ํ๋ฉด 0.04~0.06์ด๊ฐ ๋์ค๊ณค ํ๋๋ฐ ์ด๊ฒ inference time์ด๋ผ๊ณ ํด์ผํ ๊น์? ํน์ ๋ง์ฐฌ๊ฐ์ง๋ก ํ๊ฐํ ์ ์๋ function์ด ์์๊น์? 4) ์ ๋ฌํ ํ๊ฐํ๋ฅผ ์์ฑํ ๋ ์ฐ์ฐ์ ์ฌ์ฉ๋ CPU, GPU์๊ฐ์ ํ๋์จ์ด๋ ์ธ๊ธ์ ํด์ผํ ๊น์?
- 0
- 4
- 538
Q&A
efficientDet customdata ๋ชจ๋ธ ์ฑ๋ฅ ์ธก์
์๋ ํ์ธ์ ๋ง์ ์ฃผ์ ๋๋ก train์์ setup_model์ ํตํด์ loss ๋ฑ์ ์๊ฐํํ ์ ์์์ต๋๋ค. ์ถ๊ฐ๋ก mAP๋ฅผ ๊ตฌํ๊ณ ์ ํฉ๋๋ค. tf2/eval์ model_fn function์ ํตํด์ ์๋์ ๊ฐ์ ๊ฒฐ๊ณผ๋ฅผ ๊ตฌํ์ต๋๋ค. 204/1250 [===>..........................] - ETA: 2:04creating index... index created! Loading and preparing results... Converting ndarray to lists... (82000, 7) 0/82000 DONE (t=0.67s) creating index... index created! Running per image evaluation... Evaluate annotation type *bbox* DONE (t=5.86s). Accumulating evaluation results... DONE (t=1.00s). Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.807 Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.912 Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.889 Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.257 Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.655 Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.891 Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 1 ] = 0.659 Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 10 ] = 0.910 Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.919 Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.705 Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.874 Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.955 efficientdet-d0 {'AP': 0.80704355, 'AP50': 0.91207325, 'AP75': 0.88887256, 'APs': 0.25724372, 'APm': 0.65451163, 'APl': 0.8910165, 'ARmax1': 0.6585982, 'ARmax10': 0.910449, 'ARmax100': 0.91937375, 'ARs': 0.7051282, 'ARm': 0.8744898, 'ARl': 0.9553778} ๋จผ์ , ์ด๊ฒ์ผ๋ก mAP๋ฅผ ๊ตฌํ๋ ๋ฐฉ๋ฒ์ด ๋ง๋์ง ์๋๋ผ๋ฉด ๋ณ๋์ function์ด ์์์ง ๋ง๋ค๋ฉด ์์น ์ค 'APm'์ด ๋ง๋์ง ๊ถ๊ธํฉ๋๋ค. ๊ฐ์ฌํฉ๋๋ค.
- 0
- 4
- 538
Q&A
efficientDet ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์
์๋ ํ์ธ์ ๋จผ์ , ํ๋ก์ ํธ ์ค์ด๋ผ์ ๋งค์ผ ์คํํ๋๋ฐ ์ค๋ ๋ฐ์ํ ๋ฌธ์ ์ด๊ณ , 2๊ฐ์ง ์ด์ ๊ฐ์๋ก์์ ํ์ธํ์์๋ ๋ฐ๊ฒฌ๋ ์๋ฌ๋ผ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์ฒด๊ฐ ๋ฌธ์ ์ธ ๊ฒ ๊ฐ์ต๋๋ค ๋ง์ํ์ ๋๋ก colab์์ ๋ ธํธ๋ถ์ runํ๊ณ ์ฒ์cell๋ถํฐ ์คํํ๋๊น ์ฌ์ค์น๋ ํ์ต๋๋ค. ๊ทธ๋ฆฌ๊ณ ํ ์คํธํ์ผ์์ ์ฎ๊ฒจ ๋ณด์์ต๋๋ค. ์ ์ฎ๊ฒจ์ง์ค ์์๋๋ฐ ํ์ธ์ ๋ชปํ์ต๋๋ค. ์ฃ์กํฉ๋๋ค. --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) in () 3 4 import utils ----> 5 from tf2 import tfmot 6 from tf2 import train_lib 7 from tf2 import util_keras /content/automl/efficientdet/tf2/tfmot.py in () 16 import functools 17 ---> 18 import tensorflow_model_optimization as tfmot 19 from tensorflow_model_optimization.python.core.quantization.keras import quantize_wrapper 20 from tensorflow_model_optimization.python.core.quantization.keras.default_8bit import default_8bit_quantize_configs ModuleNotFoundError: No module named 'tensorflow_model_optimization' --------------------------------------------------------------------------- NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt. To view examples of installing some common dependencies, click the "Open Examples" button below. --------------------------------------------------------------------------- ๊ฐ์ฌํฉ๋๋ค.
- 0
- 2
- 623
Q&A
from keras import anchors ์๋ฌ
github/automl์์ ๋๋ ํ ๋ฆฌ ์ฐพ์๋ณด๋๊น kerasํด๋๊ฐ tf2๋ก ๋ณ๊ฒฝ๋์๋ค์. ์๋ง ์ด๊ฑธ ๋ง๋ ํ์์๋ ๋ฌธ์ ๋ฅผ ์ธ์ํ๊ณ ํด๋๋ช ์ ๋ฐ๊พผ๊ฒ ์๋๊ฐ ์ถ์๋ฐ์ ์๋ github ๋งํฌ ๋ถ๋ฌ์ค๊ธฐ ์ ์งํ๊ณ , keras๋ฅผ tf2๋ก ๋ณ๊ฒฝํ๋๊น ๋๋ค์
- 0
- 4
- 381




