pytorch关闭bn层 发表于 2018-09-Sat | 阅读次数: 12345# PYTORCH=/path/to/pytorch# for pytorch v0.4.0sed -i "1194s/torch\.backends\.cudnn\.enabled/False/g" ${PYTORCH}/torch/nn/functional.py# for pytorch v0.4.1sed -i "1254s/torch\.backends\.cudnn\.enabled/False/g" ${PYTORCH}/torch/nn/functional.py请作者喝一杯咖啡☕️打赏微信支付