Skip to content

[Frontend] [Paddle] fix bug: KeyError, can't find some parameter key#12211

Merged
junrushao merged 1 commit intoapache:mainfrom
woobinw:main
Jul 31, 2022
Merged

[Frontend] [Paddle] fix bug: KeyError, can't find some parameter key#12211
junrushao merged 1 commit intoapache:mainfrom
woobinw:main

Conversation

@woobinw
Copy link
Contributor

@woobinw woobinw commented Jul 28, 2022

fix paddle model2tvm, can't find key:
int relay/frontend/paddlepaddle.py
self.params[name] = _nd.array(scope[name])
KeyError: 'generated_tensor_0'

@siju-samuel
cc @jiangjiajun @heliqi

@heliqi
Copy link
Contributor

heliqi commented Jul 29, 2022

One suggestion: The title could be changed to "[Frontend] [Paddle] fix bug ..".

LGTM!

Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@jiangjiajun jiangjiajun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jiangjiajun
Copy link
Contributor

@junrushao1994 Could you help to merge this pr?

@junrushao
Copy link
Member

Of course! Thanks for the contribution!

@junrushao junrushao merged commit 66a1b9f into apache:main Jul 31, 2022
@woobinw woobinw changed the title fix bug: KeyError, can't find some parameter key [Frontend] [Paddle] fix bug: KeyError, can't find some parameter key Aug 9, 2022
@woobinw
Copy link
Contributor Author

woobinw commented Aug 9, 2022

OK, thank your suggestion

xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
Co-authored-by: woobinw <Wubin.Wu@imgtec.com>
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

Successfully merging this pull request may close these issues.

4 participants