代码链接:https://github.com/ggyyzm/pytorch_segmentation

 

使用PSPNet作为主干分类网络

1.将VOC2012数据集下载并解压到data/VOCtrainval_11-May-2012中

 

2.出现以下错误

pyTorch 基于以resnet50为backbone的PSPNet 训练VOC2012数据集

 

3.经过调试发现是某一步中运行时间太长。将项目放到服务器上跑没有此问题。

4.出现ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1,512,1,1])

根据https://www.cnblogs.com/zmbreathing/p/pyTorch_BN_error.html解决问题,成功跑通。跑完结果如下

pyTorch 基于以resnet50为backbone的PSPNet 训练VOC2012数据集

 acc达到93%,mIOU达到83%

 

相关文章:

  • 2022-03-03
  • 2022-01-16
  • 2021-10-20
  • 2021-07-25
  • 2022-01-06
  • 2021-05-31
  • 2021-10-10
  • 2022-12-23
猜你喜欢
  • 2022-01-03
  • 2022-12-23
  • 2021-06-21
  • 2021-09-24
  • 2022-01-28
  • 2022-01-19
  • 2021-12-19
相关资源
相似解决方案