Skip to content

Conversation

@hbwx24
Copy link
Contributor

@hbwx24 hbwx24 commented Jan 15, 2021

PR types

Bug fixes

PR changes

APIs

Describe

一、
test_paddle_save_load, test_static_save_load单测随机挂,如下图:
image
原因:mac os python3.5/6 pickle.dump 当存储对象大于4GB时有bug。

二、使用numpy.array_equal替代两个array做差的比较形式。

Copy link
Contributor

@chenwhql chenwhql left a comment

Choose a reason for hiding this comment

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

LGTM

@chenwhql chenwhql merged commit 18ecd43 into PaddlePaddle:develop Jan 18, 2021
hbwx24 added a commit to hbwx24/Paddle that referenced this pull request Jan 18, 2021
* Avoid  bug on 'MAC python3.5/6'.

* Choose the saving method according to the OS.

* smaller length of '_unpack_saved_dict' for MAC OS.

* add version information of Python.

* Edit comment.
hbwx24 added a commit to hbwx24/Paddle that referenced this pull request Jan 18, 2021
* Avoid  bug on 'MAC python3.5/6'.

* Choose the saving method according to the OS.

* smaller length of '_unpack_saved_dict' for MAC OS.

* add version information of Python.

* Edit comment.
lanxianghit pushed a commit that referenced this pull request Jan 19, 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

Successfully merging this pull request may close these issues.

3 participants