-
Notifications
You must be signed in to change notification settings - Fork 547
Optim-wip: Add model linearization, and expanded weights spatial positions #574
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
Merged
NarineK
merged 49 commits into
meta-pytorch:optim-wip
from
ProGamerGov:optim-wip-circuits
Jan 26, 2021
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
6892f3c
Add model linearization, and expanded weights spatial positions
ProGamerGov 336c62f
Spelling fixes and add top channels to tutorial
ProGamerGov dba1e48
Optionally remove nonlinear ReLU & full expanded weights test
ProGamerGov 83bc5b8
Use torch.norm for PyTorch 1.3.0 only
ProGamerGov 94fe929
Improve weight vis tutorial descriptions
ProGamerGov 690fc79
Move ignore_layer & max2avg_pool2d to utils/models
ProGamerGov caf0cc7
Improve weight vis tutorial
ProGamerGov 620f1ee
Improve intro & expanded weight description
ProGamerGov 7515fd2
Improvements
ProGamerGov 2e86d98
Merge branch 'optim-wip' into optim-wip-circuits
ProGamerGov 752186a
Replace round with math.ceil in CenterCrop
ProGamerGov 4116ecd
Add optional center crop offset parameter for uneven sides
ProGamerGov f1f73b0
Improve center crop parameter description
ProGamerGov ebaacbd
Update weight vis tutorial for new center crop
ProGamerGov 891fd97
Remove suppression of PyTorch UserWarnings
ProGamerGov 18a9d8c
Changes based on feedback
ProGamerGov 49bee39
Update model factory tests
ProGamerGov 70bd89c
Merge branch 'optim-wip' of https://github.com/pytorch/captum into op…
899ee6f
Update weight vis tutorial with colorspace fix
ProGamerGov bf5b991
Improve weight vis tutorial
ProGamerGov 9a59014
Minor fixes & improvements to tutorial notebook
ProGamerGov 790066b
Link spatial positions back to weight heatmap
ProGamerGov 441b751
Test version check improvements
ProGamerGov 7212dd8
Changes based on feedback
ProGamerGov 7071396
Fix tests and InceptionV1 model
ProGamerGov c141bd7
Remove non-working check
ProGamerGov 4237205
Changes based on feedback
ProGamerGov 58a8c3b
Remove redundant skip_layer function
ProGamerGov 4d3c686
Re-add skip_layer function
ProGamerGov 2570eed
Improve replace layers
ProGamerGov f447533
Remove param transfer from skip_layers
ProGamerGov d472a91
Changes based on feedback part 1
ProGamerGov 88a88ed
Remove placeholder Any type hints & fix instance creation
ProGamerGov 908bec0
Add type hints for layers, model, and layer instances
ProGamerGov 075ac59
max2avg_pool2d -> replace_max_with_avgconst_pool2d
ProGamerGov 73175c0
Improve _check_layer_in_model test
ProGamerGov 537fe79
Remove unused type hint import
ProGamerGov 0a8b6e2
Revert layer check test and add type hints
ProGamerGov 866faac
Add number of expected layers to tests
ProGamerGov ba07685
Change _check_layer_in_model based on feedback
ProGamerGov 130513b
Changes to tutorial based on feedback
ProGamerGov fae868b
Address notebook feedback - part 2
ProGamerGov b9cbf02
Better wording for new sentence
ProGamerGov 4d85d13
get_expanded_weights -> extract_expanded_weights
ProGamerGov 83921ed
Improve weight vis notebook introduction
ProGamerGov f45b208
Change NMF link location
ProGamerGov bc7fa97
Add return to _check_layer_in_model test
ProGamerGov 162e47a
Remove return
ProGamerGov 2fc46d0
GPU Test Fix
ProGamerGov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.