Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

the resnet.py is inconstant with the standard model. modify the basic… #325

Merged
merged 3 commits into from
Jun 1, 2017

Conversation

NHZlX
Copy link
Contributor

@NHZlX NHZlX commented May 31, 2017

resolve #325

paddle.activation.Linear())
else:
return ipt


def basicblock(ipt, ch_out, stride):
ch_in = ch_out * 2
Copy link
Contributor

Choose a reason for hiding this comment

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

The original writing before v2 API is as follows,

ch_in = ipt.num_filters

The num_filters can be got after merging PR.

@qingqing01
Copy link
Contributor

@NHZlX Thanks for your fix!

@NHZlX NHZlX merged commit 842c865 into PaddlePaddle:develop Jun 1, 2017
@NHZlX NHZlX deleted the resnet_modify branch June 1, 2017 02:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants