์ ์ฒด ๊ธ251 [MMPose] A 20-MINUTE TOUR TO MMPOSE MMPose 1.0์ ์๋ก์ด ํ๋ ์์ํฌ๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ๊ตฌ์ถ๋์๋ค. ๋ฅ๋ฌ๋์ ๋ํ ๊ธฐ๋ณธ ์ง์์ ๊ฐ์ง ๊ฐ๋ฐ์๋ฅผ ์ํด ์ด ํํ ๋ฆฌ์ผ์ MMPose 1.0 ํ๋ ์์ํฌ ๋์์ธ์ ๋ํ ๊ฐ์๋ฅผ ์ ๊ณตํ๋ค. ์ด์ ๋ฒ์ ์ MMPose๋ฅผ ์ฌ์ฉํ ๊ฒฝํ์ด ์๊ฑฐ๋, MMPose 1.0์ ์ฒ์ ์์ํ๋ ์ด๋ณด์๋ผ๋ฉด ์ด ํํ ๋ฆฌ์ผ์ ํตํด MMPose 1.0์ ๊ธฐ๋ฐ์ผ๋ก ํ๋ก์ ํธ๋ฅผ ๊ตฌ์ถํ๋ ๋ฐฉ๋ฒ์ ๋ฐฐ์ธ ์ ์๋ค. ์ฐธ๊ณ ์ฌํญ์ด ํํ ๋ฆฌ์ผ์ MMPose 1.0์ ์ฌ์ฉํ ๋ ๊ฐ๋ฐ์๊ฐ ๊ณ ๋ คํด์ผ ํ ์ฌํญ๋ค์ ๋ค๋ฃฌ๋ค:์ ์ฒด ์ฝ๋ ์ํคํ ์ฒ๊ตฌ์ฑ ํ์ผ๋ก ๋ชจ๋ ๊ด๋ฆฌํ๋ ๋ฐฉ๋ฒ์ฌ์ฉ์ ์ ์ ๋ฐ์ดํฐ์ ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ์๋ก์ด ๋ชจ๋(๋ฐฑ๋ณธ, ํค๋, ์์ค ํจ์ ๋ฑ) ์ถ๊ฐํ๋ ๋ฐฉ๋ฒ ํํ ๋ฆฌ์ผ์ ๊ตฌ์ฑ์ด ํํ ๋ฆฌ์ผ์ ๋ด์ฉ์ ๋ค์๊ณผ ๊ฐ์ด ๊ตฌ์ฑ๋๋ค:MMPose ํ๋ ์์ํฌ์ ๋ํ 20๋ถ ๊ฐ์ด๋๊ตฌ์กฐ.. 2024. 6. 22. [MMPose] Overview ์ด ์ฅ์์๋ MMPose์ ์ ์ฒด ํ๋ ์์ํฌ๋ฅผ ์๊ฐํ๊ณ ์์ธํ ํํ ๋ฆฌ์ผ๋ก ์ฐ๊ฒฐ๋๋ ๋งํฌ๋ฅผ ์ ๊ณตํ๋ค. What is MMPoseMMPose๋ Pytorch ๊ธฐ๋ฐ์ ํฌ์ฆ ์ถ์ ์คํ์์ค ํดํท์ผ๋ก, OpenMMLab ํ๋ก์ ํธ์ ์ผ์์ด๋ค. ์ด ํดํท์ 2D ๋ค์ธ ํฌ์ฆ ์ถ์ , 2D ์ ํฌ์ฆ ์ถ์ , 2D ์ผ๊ตด ๋๋๋งํฌ ๊ฐ์ง, 133 ํคํฌ์ธํธ ์ ์ ํฌ์ฆ ์ถ์ , ํจ์ ๋๋๋งํฌ ๊ฐ์ง ๋ฐ ๋๋ฌผ ํฌ์ฆ ์ถ์ ๊ณผ ๊ด๋ จ๋ ๋ค์ํ ์๊ณ ๋ฆฌ์ฆ๊ณผ ๋ชจ๋์ ํฌํจํ๊ณ ์๋ค. ์๋๋ MMPose์ ์ ์ฒด ํ๋ ์์ํฌ์ด๋ค. MMPose๋ 8๊ฐ์ ์ฃผ์ ๊ตฌ์ฑ ์์๋ก ๊ตฌ์ฑ๋์ด ์๋ค: apis: ๋ชจ๋ธ ์ถ๋ก ์ ์ํ ๊ณ ์์ค API๋ฅผ ์ ๊ณตํ๋ค.structures: bbox, keypoint ๋ฐ PoseDataSample๊ณผ ๊ฐ์ ๋ฐ์ดํฐ ๊ตฌ์กฐ๋ฅผ ์ ๊ณตํ๋ค.datasets.. 2024. 6. 22. MMDetection ์์ํ๊ธฐ Overviewโถ MMDetection is an object detection toolbox that contains a rich set of object detection, instance segmentation, and panoptic segmentation methods as well as related components and modules. โถ MMDetection consists of 7 main parts, apis, structures, datasets, models, engine, evaluation and visualization.apis provides high-level APIs for model inference.structures provides data structures.. 2024. 6. 21. MMEngine ์์ํ๊ธฐ Introductionโป MMEngine๋ PyTorch๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ๋ฅ ๋ฌ๋ ๋ชจ๋ธ์ ํ๋ จํ๊ธฐ ์ ๊ธฐ๋ณธ ๋ผ์ด๋ธ๋ฌ๋ฆฌ(foundational library)์ด๋ค. ArchitectureMMEngine์ OpenMMLab ์๊ณ ๋ฆฌ์ฆ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ํ ์ฐจ์ธ๋ ํ์ต ์ํคํ ์ฒ๋ฅผ ๊ตฌํํ๋ฉฐ, OpenMMLab ๋ด 30๊ฐ ์ด์์ ์๊ณ ๋ฆฌ์ฆ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ๋ํด ํตํฉ๋ ์คํ ๊ธฐ๋ฐ์ ์ ๊ณตํ๋ค. Moduleโถ ํต์ฌ ๋ชจ๋Runner: ํ์ต, ํ ์คํธ ๋ฐ ์ถ๋ก ์์ ์ ์คํํ๊ณ ์ด ๊ณผ์ ์์ ํ์ํ ๋ค์ํ ๊ตฌ์ฑ์์๋ฅผ ๊ด๋ฆฌํ๋ค.Dataset: ํ์ต, ํ ์คํธ ๋ฐ ์ถ๋ก ์์ ์์ ๋ฐ์ดํฐ๋ฅผ ๊ตฌ์ฑํ๊ณ ๋ชจ๋ธ์ ๋ฐ์ดํฐ๋ฅผ ๊ณต๊ธํ๋ค.Model: ํ์ต ๊ณผ์ ์์ ๋ฐ์ดํฐ๋ฅผ ๋ฐ์ ์์ค์ ์ถ๋ ฅํ๊ณ , ํ ์คํธ ๋ฐ ์ถ๋ก ์์ ์์ ๋ฐ์ดํฐ๋ฅผ ๋ฐ์ ์์ธก์ ์ํํ๋ค.Optimi.. 2024. 6. 21. MMCV ์ดํดํ๊ธฐ: High-quality Implementation of Common CUDA Ops โป MMCV๋ ๋ค์๊ณผ ๊ฐ์ ๊ธฐ๋ฅ์ ํ๋ค:Data Processmmcv.imagemmcv.videoVisualizationmmcv.visualizationData Transformationmmcv.transformsVarious CNN Architecturesmmcv.cnnHigh-quality Implementation of Common CUDA Opsmmcv.ops mmcv.ops: We implement common ops used in detection, segmentation, etc. https://mmcv.readthedocs.io/en/latest/api/ops.htmlhttps://mmcv.readthedocs.io/en/latest/understand_mmcv/ops.html 2024. 6. 21. MMCV ์ดํดํ๊ธฐ: Various CNN Architectures โป MMCV๋ ๋ค์๊ณผ ๊ฐ์ ๊ธฐ๋ฅ์ ํ๋ค:Data Processmmcv.imagemmcv.videoVisualizationmmcv.visualizationData Transformationmmcv.transformsVarious CNN Architecturesmmcv.cnnHigh-quality Implementation of Common CUDA Opsmmcv.ops mmcv.cnnMMCV๋ OpenMMLab ํ๋ก์ ํธ์ ํ ๋ถ๋ถ์ผ๋ก, ์ปดํจํฐ ๋น์ ์์ ์ ์ํ ์ข ํฉ์ ์ธ ํดํท์ด๋ค.MMCV๋ CNN(Convolutional Neural Networks)์ ๊ตฌ์ฑํ๊ณ ํ๋ จ์ํค๊ธฐ ์ํ ๋ค์ํ ๋๊ตฌ์ ๊ธฐ๋ฅ์ ์ ๊ณตํ๋ค. Layer building: MMCV์์๋ ๋ค์ํ ๋ ์ด์ด๋ฅผ ์ฝ๊ฒ ์์ฑํ ์ ์๋ ๋น๋ฉ ๋ธ๋ก์ ์ ๊ณตํ.. 2024. 6. 21. MMCV ์ดํดํ๊ธฐ: Data Transformation โป MMCV๋ ๋ค์๊ณผ ๊ฐ์ ๊ธฐ๋ฅ์ ํ๋ค:Data Processmmcv.imagemmcv.videoVisualizationmmcv.visualizationData Transformationmmcv.transformsVarious CNN Architecturesmmcv.cnnHigh-quality Implementation of Common CUDA Opsmmcv.ops mmcv.transforms๋ฐ์ดํฐ ๋ณํ(data transformation)์ ๋จธ์ ๋ฌ๋๊ณผ ๋ฅ๋ฌ๋ ๋ชจ๋ธ์ ํ๋ จ์ํค๊ธฐ ์ํด ๋ฐ์ดํฐ๋ฅผ ์ค๋นํ๋ ๊ณผ์ ์์ ๋งค์ฐ ์ค์ํ ๋จ๊ณ์ด๋ค. ์ด ๊ณผ์ ์ ๋ฐ์ดํฐ๋ฅผ ๋ก๋ฉ, ์ ์ฒ๋ฆฌ, ์ฆ๊ฐ ๋ฐ ํฌ๋งทํ ํ๋ ๋ค์ํ ์์ ์ ํฌํจํ๋ค.๋ฐ์ดํฐ ๋ณํ(data transformation)์ ์ฃผ์ ๋ชฉํ๋ ๋ฐ์ดํฐ๋ฅผ ๋ชจ๋ธ์ด ์ฒ๋ฆฌํ ์ ์.. 2024. 6. 21. MMCV ์ดํดํ๊ธฐ: Visualization โป MMCV๋ ๋ค์๊ณผ ๊ฐ์ ๊ธฐ๋ฅ์ ํ๋ค:Data Processmmcv.imagemmcv.videoVisualizationmmcv.visualizationData Transformationmmcv.transformsVarious CNN Architecturesmmcv.cnnHigh-quality Implementation of Common CUDA Opsmmcv.ops mmcv.visualizationImageimshowShow an imageimshow_bboxesDraw bboxes on an image.imshow_det_bboxesDraw bboxes and class labels (with scores) on an image# show an image filemmcv.imshow('a.jpg')#.. 2024. 6. 21. MMCV ์ดํดํ๊ธฐ: Data Process โป MMCV๋ ๋ค์๊ณผ ๊ฐ์ ๊ธฐ๋ฅ์ ํ๋ค:Data Processmmcv.imagemmcv.videoVisualizationmmcv.visualizationData Transformationmmcv.transformsVarious CNN Architecturesmmcv.cnnHigh-quality Implementation of Common CUDA Opsmmcv.ops mmcv.imageI/O(Input/Output)โถ Read/WriteimreadRead an image.imwriteWrite image to file.import mmcvimg = mmcv.imread('test.jpg') # imread: ์ฝ๊ธฐmmcv.imwrite(img, 'out.jpg') # imwrite: ์ฐ๊ธฐ imfrom.. 2024. 6. 21. ์ด์ 1 2 3 4 ยทยทยท 28 ๋ค์