-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
add option for multiple inputs when writing weight summary #543
add option for multiple inputs when writing weight summary #543
Conversation
Maybe this is also the correct PR to work on issue #518 ? For me it wasn't printing the summary either. |
The issue there seems specific logging levels, so if you set your logging level to INFO you should see the summary. BTW, looks like this branch needs a merge/rebase from master (rebase preferred if possible) |
@VSJMilewski @Ir1d can we rebase and merge this PR? |
@VSJMilewski rebase master, pls... |
Sorry @Borda, I've been very busy. |
@VSJMilewski it seems that you just merged master with many other commits, please do rebase... |
3d6d3d1
to
607dbda
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about getting next device index, otherwise it LGTM
@@ -50,20 +50,31 @@ def get_variable_sizes(self): | |||
input_ = self.model.example_input_array | |||
|
|||
if self.model.on_gpu: | |||
input_ = input_.cuda(0) | |||
device = next(self.model.parameters()).get_device() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not very sure about this getting device...
Probably also check if there is a next one?
Before submitting
What does this PR do?
Fixes #537
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃
yes