You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform(Include target platform as well if cross-compiling):
Ubuntu20.04
Github版本:
Github Version:
2.3.0
编译方式:
Compiling Method
cmake编译
请在这里粘贴cmake参数或使用的cmake脚本路径以及完整输出
Paste cmake arguments or path of the build script used here as well as the full log of the cmake proess here or pastebin
平台(如果交叉编译请再附上交叉编译目标平台):
Platform(Include target platform as well if cross-compiling):
Ubuntu20.04
Github版本:
Github Version:
2.3.0
编译方式:
Compiling Method
cmake编译
cmake .. DCMAKE_BUILD_TYPE=Debug
问题
首先将pytorch预训练模型转为.onnx,然后用MNNConvert转为.mnn。python代码如下:
然后MNNConvert命令如下:
../MNN-test/build/MNNConvert -f ONNX --modelFile mobilenetv2_imagenet.onnx --MNNModel mobilenetv2_imagenet_for_training.mnn --bizCode AliNNTest --forTraining 使用该模型放在官方训练demo MobilenetV2PostTrain这个类中训练后报错,表示在onforward第75个算子出错。即
MNN_ASSERT(nullptr != tempInputs[i]);`这个算子是StridedSlice
The text was updated successfully, but these errors were encountered: