We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
静态图转动态图时出现如下报错,是为啥呢 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
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
The text was updated successfully, but these errors were encountered:
请问你的paddle版本是多少呢?我这个还没有支持paddlepaddle2.0+版本
Sorry, something went wrong.
是1.6版本的
我也遇到了这个问题,paddle版本是1.8.
No branches or pull requests
静态图转动态图时出现如下报错,是为啥呢
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
The text was updated successfully, but these errors were encountered: