Skip to content

window系统转化tflite为mnn时报错 #4137

@YZJ0716

Description

@YZJ0716

MNN版本如下
Image

转化tflite时报错:
PS D:\_02_AI\DDColor_model> MNNConvert -f TFLITE --modelFile DDColor_w8a8.tflite --MNNModel DDColor.mnn --bizCode biz --debug The device supports: i8sdot:0, fp16:0, i8mm: 0, sve2: 0, sme2: 0 The device supports: i8sdot:0, fp16:0, i8mm: 0, sve2: 0, sme2: 0 Start to Convert Other Model Format To MNN Model..., target version: 3.2 [16:20:47] :417: TFlite model version ERROR! [16:20:47] :336: Check failed: creator ==> NOT_SUPPORTED_OP: [ ] [ERROR] Convert error, please check your file format. Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "D:\Program Files\Python312\Scripts\mnnconvert.exe\__main__.py", line 7, in <module> File "D:\Program Files\Python312\Lib\site-packages\MNN\tools\mnnconvert.py", line 51, in main dst_model_size = os.path.getsize(arg_dict["MNNModel"]) / 1024.0 / 1024.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen genericpath>", line 62, in getsize FileNotFoundError: [WinError 2] 系统找不到指定的文件。: 'DDColor.mnn'


模型地址:https://huggingface.co/qualcomm/DDColor/tree/main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions