Skip to content

Conversation

@chenyuntc
Copy link
Contributor

@chenyuntc chenyuntc commented Dec 24, 2017

_initialize_weights in vgg is time-consuming(about 9s in my laptop) and is usually not necessary. It's better to make it an optional argument.

Copy link
Contributor

@alykhantejani alykhantejani left a comment

Choose a reason for hiding this comment

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

9s seems very slow, but agreed this is an easy optimization to make

@alykhantejani alykhantejani merged commit 005bc47 into pytorch:master Jan 2, 2018
@alykhantejani
Copy link
Contributor

Thanks @chenyuntc

@soumith
Copy link
Contributor

soumith commented Jan 2, 2018

btw this is going to be sped up via pytorch/pytorch#4312 as well

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