1. 背景:
今天开始参与 CSDN 的活动,使用 mindspore 学习神经网络,先学习的是第二小节;
2. 训练的内容:
第二小节内容:
使用 mindspore ,构建 DenseNet,识别手写字符;
3. 使用心得:
优点:
- mindspore 使用比较方便; Python 接口封装数据处理,网络构建,训练与测试,都比较方便;
- 包含常见的网络结构,构建 DenseNet 的 DenseBlock 可以直接构建;
缺点:
- 使用的环境,属于单卡训练;当多个 ipynb 一起跑模型时,会出现:
Malloc DeviceMemory Failed; *** Other process may occupy **;
解决方法:
Jupter --> Kernel --> Shutdone all Kernels
我理解是杀死所有使用的 Kernel, 从而避免多进程占用的情况;
活动参与链接:
https://xihe.mindspore.cn/events/mindspore-training-camp
附件: