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

Is there exist performance issue when training or forward model pass to models like UNet,DeepLabV3plus,FCN,FPNet... #26

Open
jianfengzhai opened this issue Jul 1, 2022 · 0 comments

Comments

@jianfengzhai
Copy link

Is there exist performance issue when training or forward model pass?
take UNet for example,
···
def call(self, inputs, training=None, mask=None):
···
企业微信截图_16566568825370

when training or prediction, self.backbone(inputs) is calculated for 5 times, but the input and backbone not changed,so can this
code can be changed to
x0, x1, x2, x3, x4 = self.backbone(inputs, training=training)
self.upsample2d_x2_block function can use x0, x1, x2, x3, x4 , in this way, the backbone will calculate only 1 time.

thank U.

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

1 participant