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

静态图转动态图时出错 #7

Open
zwboss opened this issue May 31, 2021 · 3 comments
Open

静态图转动态图时出错 #7

zwboss opened this issue May 31, 2021 · 3 comments

Comments

@zwboss
Copy link

zwboss commented May 31, 2021

静态图转动态图时出现如下报错,是为啥呢
Traceback (most recent call last): File "change.py", line 4, in <module> static2dynamic(params_dir="params/", save_path="params") File "/home/disk2/hanzhao/anaconda3/lib/python3.7/site-packages/paddletools/checkpoints.py", line 65, in static2dynamic data, data_type, lod_info = _read_static_params(param_path) File "/home/disk2/hanzhao/anaconda3/lib/python3.7/site-packages/paddletools/checkpoints.py", line 33, in _read_static_params buf = struct.unpack("c" * buf_size, f.read(buf_size)) struct.error: unpack requires a buffer of 1634089506 bytes

@LKKlein
Copy link
Owner

LKKlein commented May 31, 2021

请问你的paddle版本是多少呢?我这个还没有支持paddlepaddle2.0+版本

@zwboss
Copy link
Author

zwboss commented Jun 1, 2021

请问你的paddle版本是多少呢?我这个还没有支持paddlepaddle2.0+版本

是1.6版本的

@cucumberpieces
Copy link

我也遇到了这个问题,paddle版本是1.8.

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

3 participants