Skip to content

cannot import name 'optimizer' from 'onnx' #139

Open
@avani17101

Description

@avani17101

Describe the bug
While running

import pytorch2keras 
k_model = pytorch2keras (model_pt, input_var, [(3, 32, 32,)], verbose=True, names='short')  

I am getting the following error:
image

I am using ubuntu20.04, onnx-1.10.2 pytorch2keras-0.2.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions