问题描述
我在使用:(pytorch) E:\PythonProject\SkinRecognition-2>python to_kmodel.py --target k230 --model "DermMobileNetV3_best-0.923.onnx" --dataset "test" --input_width 320 --input_height 320 --ptq_option 0
warn: Nncase.Hosting.PluginLoader[0]
NNCASE_PLUGIN_PATH is not set.
NNCASE_PLUGIN_PATH set to: D:\Anaconda\envs\pytorch\lib\site-packages\nncase
Simplifying ONNX model...
WARNING: The argument input_shapes is deprecated. Please use overwrite_input_shapes and/or test_input_shapes
instead. An error will be raised in the future.
Simplified model saved to: tmp\simplified.onnx
Creating compiler...
Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key 'k230' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Nncase.Targets.TargetProvider.GetTarget(String name)
at Nncase.CompilerServicesProvider.GetTarget(String name)
at Nncase.Compiler.Interop.CApi.TargetCreate(Byte* targetNamePtr, UIntPtr targetNameLength)
转换不成功,提示nncasenncase 2.10.0不支持k230这个target,请问如何解决