pytorch 多GPU训练过程中出现ap=0情况

原因可能是pytorch 自带的BN bug:安装nvidia apex 可以解决:

$ git clone https://github.com/NVIDIA/apex
$ cd apex
$ pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./




posted @ 2019-10-29 09:23  U_C  阅读(494)  评论(0编辑  收藏  举报