Created by: wanghaoshuang
The load_parameters API of Paddle1.7 will enforce the shape of weights in scope equals to that loaded from the checkpoint.
So, it is necessary to prune the scope before loading the checkpoint.
fix #330 (closed)
Created by: wanghaoshuang
The load_parameters API of Paddle1.7 will enforce the shape of weights in scope equals to that loaded from the checkpoint.
So, it is necessary to prune the scope before loading the checkpoint.
fix #330 (closed)