Skip to content

Error While Converting TFLite Model to Runnable State #1683

@aizcutei

Description

@aizcutei

I encounter a similar issue as #1411. I just basicly load a model like:

fn main() -> Result<(), TractError> {
    let model = tract_tflite::tflite()
        .model_for_path("./static/models/heartbeats.tflite")?
        .into_optimized()?
        .into_runnable()?;
    Ok(())
}

and my error code is:

    0: Translating proto-op from Tflite into tract op: Operator {
           opcode_index: 0,
           inputs: Some(
               [
                   0,
                   55,
               ],
           ),
           outputs: Some(
               [
                   60,
               ],
           ),
           builtin_options_type: SplitVOptions,
           builtin_options: SplitVOptions {
               num_splits: 1,
           },
           custom_options: None,
           custom_options_format: FLEXBUFFERS,
           mutating_variable_inputs: None,
           intermediates: None,
       }
    1: Unsupported: OperatorCode {
           deprecated_builtin_code: 102,
           custom_code: None,
           version: 1,
           builtin_code: SPLIT_V,
       }, inputs: [
           14,128,16,F32,
           1,I16🟰 1,I16 1,
       ]

I guess it's an operator problem?

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