NoonBody SemanticSegmentation
Task: Semantic Segmentation of Body
- labels are come from DensePose.
- Using these body labels, inference body parts.
Training Records
mIoU | img_size | Model | bs | epoch | opt | sch | lr | aug | Β | Β |
---|---|---|---|---|---|---|---|---|---|---|
0.4348 | 384,512 | mobilenet_v2 + Unet | 8 | 15 | AdamW | CosineAnnealingWarmRestarts | 1e-2 | Resize, CenterCrop | Β | Β |
0.4968 | 768, 1024 | timm-mobilenetv3_large_100 + Unet | 4 | 15 | AdamW | CosineAnnealingWarmRestarts | 1e-2 | Resize, CenterCrop | Β | Β |
0.5347 | 384,512 | timm-tf_efficientnet_lite4 + Unet | 8 | 15 | AdamW | CosineAnnealingWarmRestarts | 1e-2 | Resize, CenterCrop | Β | Β |
0.6226 | 384,512 | timm-efficientnet-b3 + Unet | 8 | 25 | RAdam | ReduceLROnPlateau(patience=3, factor=0.5) | 1e-3 | Resize, CenterCrop, CLAHE, RandomBrightnessContrast | Β | Β |
0.6285 | 384,512 | timm-efficientnet-b3 + Unet | 8 | 25 | RAdam | ReduceLROnPlateau(patience=3, factor=0.5) (10e)+ CosineAnnealingWarmRestarts(15e) | 1e-3 | Resize, CenterCrop, CLAHE, RandomBrightnessContrast | Β | Β |
0.6408 | 384,512 | efficientnet-b3 + Unet | 8 | 40 | RAdam | ReduceLROnPlateau(patience=3, factor=0.5) | 1e-3 | Resize, CenterCrop, CLAHE, RandomBrightnessContrast | Β | Β |
0.6461 | 384,512 | resnet34+ DeepLabV3 | 16 | 50 | RAdam | ReduceLROnPlateau(patience=3, factor=0.5) | 1e-2 | Resize, CenterCrop, CLAHE, RandomBrightnessContrast | Β | Β |
0.6653 | 384,512 | vgg16_bn + Unet | 8 | 40 | RAdam | ReduceLROnPlateau(patience=3, factor=0.5) | 1e-3 | Resize, CenterCrop, CLAHE, RandomBrightnessContrast | Β | Β |
Trouble Shooting
- body segmentation labelλ€μ΄ intμκΈ° λλ¬Έμ
cv2.resize
μμerror: (-215:Assertion failed) func != 0 in function 'resize'
λΌλ μλ¬κ° λ°μνλ€.- interpolation λ°©μμ λ°κΏμ£Όλ©΄ int μΈ arrayλ resizeκ° κ°λ₯νλ€.
- resize interpolation λ°©μμ μ°¨μ΄κΈ° λλ¬Έμ λ°μνλ μλ¬λ€.
Review
- Training Dataset was noisy.
- Mislabeled
- Validation Dataset also noisy.
- Mislabeled also.
Appendix
Reference
https://github.com/facebookresearch/detectron2/blob/main/projects/DensePose/doc/GETTING_STARTED.md
https://kharshit.github.io/blog/2019/08/09/quick-intro-to-semantic-segmentation
https://theaisummer.com/unet-architectures/
http://imlab.postech.ac.kr/dkim/class/csed514_2020s/fcn%20to%20deeplabv3.pdf
https://github.com/qubvel/segmentation_models.pytorch/blob/master/docs/encoders.rst
Leave a comment