Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fluid_to_onnx show error #113

Closed
phamkhactu opened this issue Feb 28, 2020 · 0 comments
Closed

fluid_to_onnx show error #113

phamkhactu opened this issue Feb 28, 2020 · 0 comments

Comments

@phamkhactu
Copy link

phamkhactu commented Feb 28, 2020

i don't know what happens and how to solve it

-----------  Configuration Arguments -----------
check_task: image_classification
debug: False
fluid_model: ../mask_detector/
fluid_model_name: __model__
fluid_params_name: __param__
image_path: 
name_prefix: 
onnx_model: ./model.onnx
return_variable: False
to_print_model: False
------------------------------------------------
load the model parameter done.
Traceback (most recent call last):
  File "fluid_to_onnx.py", line 234, in <module>
    main()
  File "fluid_to_onnx.py", line 230, in main
    convert(args)
  File "fluid_to_onnx.py", line 141, in convert
    block=block)
  File "/home/tu/anaconda3/envs/occlusion_face_paddle/lib/python3.7/site-packages/fluid_onnx/ops.py", line 192, in conv2d_op
    kernel_shape = block.vars[get_old_name(inputs['Filter'][0])].shape
KeyError: ''
Zeref996 pushed a commit to Zeref996/Paddle2ONNX that referenced this issue Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants