-
Notifications
You must be signed in to change notification settings - Fork 39
【开源实习】香橙派GitHub仓中的在线推理案例11 pix2 pix基于py native模式改写成以mint接口实现 #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
【开源实习】香橙派GitHub仓中的在线推理案例11 pix2 pix基于py native模式改写成以mint接口实现 #102
The head ref may contain hidden characters: "\u3010\u5F00\u6E90\u5B9E\u4E60\u3011\u9999\u6A59\u6D3Egithub\u4ED3\u4E2D\u7684\u5728\u7EBF\u63A8\u7406\u6848\u4F8B11-Pix2Pix\u57FA\u4E8EPyNative\u6A21\u5F0F\u6539\u5199\u6210\u4EE5mint\u63A5\u53E3\u5B9E\u73B0"
Conversation
|
mindspore_gan.ipynb 案例只用改写mint接口,其他代码实现部分(权重加载+模型推理)尽量保持不变,现有模型推理结果较原本代码推理结果比较效果差很多,需要定位原因 |
|
mindspore_gan.ipynb 案例中“运行环境设置”部分不必要的设置还是没有删除,尤其要求是动态图模式下执行该案例,只需要保留混合精度的设置ascend.op_precision.precision_mode("allow_mix_precision")。 |
|
mindspore_gan.ipynb案例中再排查一遍是都所有可以改成mint的接口都已经修改,包括但不限于nn.ReLU()等接口 |
|
mindspore_pix2pix.ipynb案例中UNetSkipConnectionBlock类中部分方法没有修改成mint接口,包括但不限于nn.BatchNorm2d,nn.Conv2d等,需要再排查一遍以确保全部可以替换的均替换成mint接口实现。 |
|
目录orange-pi-mindspore,orange-pi-mindspore/Online, orange-pi-mindspore/Online/inference下的readme中均需修改案例版本信息 |
|
大的要求就是必须在动态图PYNATIVE模式下修改mint接口,报错不支持mint接口的保持原接口即可 |
|
验收通过,可以合入 |



No description provided.