Skip to content

self.shape = [int(i) for i in tensor.ShapeAsNumpy()] TypeError: 'int' object is not iterable when doing convertion #89

@Peize-Liu

Description

@Peize-Liu

I convert the HITNET model from tflite to onnx model. The model can be download from this link google drive
I install tflite2onnx with pip install in prebuild version. and run with cmd: tflite2onnx ./model_float16_quant.tflite ./model_float16_quant.onnx
The error is following:
image
I am wondering if this is the issue with tflite model itselt or there is something wrong with the tool

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions