Open chg0901 opened 1 year ago
We recommend using English or English & Chinese for issues so that we could have broader discussion.
作业链接:https://github.com/xixihic/openmmlabhomework/tree/master/MMSegmentation 两个网络:PSPNet和Segformer, 都出现了训练感觉还可以,但是换张图想效果不是很好
https://github.com/chg0901/openmmlab2-hong/tree/main/Assignment4
1. Config
./mmsegmentation/pspnet-Watermelon87_Semantic_Seg_Mask_20230616.py
2. Evaluation
3. Training logs
./work_dirs/Watermelon87_Semantic_Seg_Mask/20230616_114954/20230616_114954.log
4. Test logs
Outputs is the same as the above train outputs since we test evey 400 epoch during training. .work_dirs/Watermelon87_Semantic_Seg_Mask/20230616_160732/20230616_160732.log
+------------+-------+-------+
| Class | IoU | Acc |
+------------+-------+-------+
| Red | 92.13 | 96.03 |
| Green | 87.87 | 91.65 |
| White | 77.85 | 91.88 |
| Seed-black | 84.83 | 93.94 |
| Seed-white | 68.25 | 73.52 |
| Unlabeled | 52.67 | 73.6 |
+------------+-------+-------+
2023/06/16 12:09:59 - mmengine - INFO - Iter(val) [11/11]
aAcc: 94.2700 mIoU: 77.2600 mAcc: 86.7700 data_time: 0.0016 time: 0.2658
2023/06/16 12:09:59 - mmengine - INFO - The previous best checkpoint /home/cine/Documents/GitHub/mmsegmentation/work_dirs/Watermelon87_Semantic_Seg_Mask/best_mAcc_iter_3600.pth is removed
2023/06/16 12:10:00 - mmengine - INFO - The best checkpoint with 86.7700 mAcc at 7600 iter is saved to best_mAcc_iter_7600.pth.
2023/06/16 12:10:00 - mmengine - INFO - The previous best checkpoint /home/cine/Documents/GitHub/mmsegmentation/work_dirs/Watermelon87_Semantic_Seg_Mask/best_mIoU_iter_2800.pth is removed
2023/06/16 12:10:01 - mmengine - INFO - The best checkpoint with 77.2600 mIoU at 7600 iter is saved to best_mIoU_iter_7600.pth.
5. Test and Visualization
Datafolder: ./mmsegmentation/data/
Image 1: https://github.com/chg0901/openmmlab2-hong/tree/main/Assignment4/mmsegmentation/data/watermelon_2.png Prediction1: https://github.com/chg0901/openmmlab2-hong/tree/main/Assignment4/mmsegmentation/data/watermelon_2_pred.png
Image 2: https://github.com/chg0901/openmmlab2-hong/tree/main/Assignment4/mmsegmentation/data/watermelon.png Prediction2: https://github.com/chg0901/openmmlab2-hong/tree/main/Assignment4/mmsegmentation/data/watermelon_pred.png
original https://github.com/chg0901/openmmlab2-hong/tree/main/Assignment4/mmsegmentation/data/watermelon2.gif Prediction https://github.com/chg0901/openmmlab2-hong/tree/main/Assignment4/mmsegmentation/data/watermelon_pred2_.gif
代码仓地址:https://github.com/JeffDing/mmlabcamp/tree/main/第二期/mmsegmentation/Homework4.ipynb
训练config:在mmsegmentation/logs文件夹下 训练日志log和输出文件夹work_dirs:work_dirs太大了就不上传了 测试图片视频原图即推理后的图片视频:mmsegmentation/results目录下为结果文件 评估指标,提示没有注册数据集,还在研究中
代码仓库地址:link
+------------+-------+-------+
| Class | IoU | Acc |
+------------+-------+-------+
| background | 91.0 | 92.18 |
| red | 93.7 | 97.95 |
| green | 60.05 | 92.1 |
| white | 81.88 | 90.53 |
| seed-black | 74.24 | 85.98 |
| seed-white | 57.59 | 71.57 |
+------------+-------+-------+
06/18 16:46:44 - mmengine - INFO - Iter(test) [11/11] aAcc: 93.5200 mIoU: 76.4100 mAcc: 88.3800 data_time: 0.2213 time: 7.7713
作业:MMSeg 语义分割
背景:西瓜瓤、西瓜皮、西瓜籽像素级语义分割
TO DO LIST:
西瓜瓤、西瓜籽数据集:
标注:同济子豪兄
数据集下载链接:
需提交的测试集评估指标:(不能低于 baseline 指标的 50% )
需要提交的其他文件