先上对比图:

原本训练效果:

[mmdetection 混合精度]用fastrcnn实测混合精度fp16效果

[mmdetection 混合精度]用fastrcnn实测混合精度fp16效果

经过fp16混合精度训练效果:

[mmdetection 混合精度]用fastrcnn实测混合精度fp16效果

[mmdetection 混合精度]用fastrcnn实测混合精度fp16效果

 

结果:

1.GPU Menmory  4201MB/5853MB=0.71775

   GPU-Util            0.66/0.74=0.89189

2.训练总时间:     1day 15:34/2day 4:00=2374/3120=0.76089

3.time                   0.164/0.218=0.75229

4.memory             2719/3790=0.71741

 

总体来说,用fp16后,资源占有降低25-30%,效果很好

 

相关文章:

  • 2021-10-31
  • 2022-12-23
  • 2021-07-07
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-15
  • 2021-09-20
  • 2021-12-23
  • 2022-02-07
  • 2021-08-08
  • 2021-04-26
相关资源
相似解决方案