!21720 fix pynative mode train failed

Merge pull request !21720 from Shawny/code_docs_wideresnet
This commit is contained in:
i-robot 2021-08-12 07:09:29 +00:00 committed by Gitee
commit 92205dafbd
1 changed files with 6 additions and 0 deletions

View File

@ -276,3 +276,9 @@ dataset.py中设置了“create_dataset”函数内的种子同时还使用
# ModelZoo主页
请浏览官网[主页](https://gitee.com/mindspore/mindspore/tree/master/model_zoo)。
# FAQ
优先参考[ModelZoo FAQ](https://gitee.com/mindspore/mindspore/tree/master/model_zoo#FAQ)来查找一些常见的公共问题。
- **Q: 使用PYNATIVE_MODE发生内存溢出怎么办** **A**内存溢出通常是因为PYNATIVE_MODE需要更多的内存 将batch size设置为16降低内存消耗可进行网络训练。