-
Notifications
You must be signed in to change notification settings - Fork 43
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
Remove normalize_inputs and replace with parameter transform #431
Conversation
This pull request was exported from Phabricator. Differential Revision: D65069497 |
35b54b3
to
156ccf0
Compare
…kresearch#431) Summary: Pull Request resolved: facebookresearch#431 `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
This pull request was exported from Phabricator. Differential Revision: D65069497 |
…kresearch#431) Summary: Pull Request resolved: facebookresearch#431 `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
156ccf0
to
61e1535
Compare
This pull request was exported from Phabricator. Differential Revision: D65069497 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D65069497 |
…kresearch#431) Summary: Pull Request resolved: facebookresearch#431 `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
61e1535
to
cd971a0
Compare
…kresearch#431) Summary: Pull Request resolved: facebookresearch#431 `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
cd971a0
to
1a07ce2
Compare
This pull request was exported from Phabricator. Differential Revision: D65069497 |
…kresearch#431) Summary: Pull Request resolved: facebookresearch#431 `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
1a07ce2
to
1c8a184
Compare
This pull request was exported from Phabricator. Differential Revision: D65069497 |
1c8a184
to
6049284
Compare
…kresearch#431) Summary: Pull Request resolved: facebookresearch#431 `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
This pull request was exported from Phabricator. Differential Revision: D65069497 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D65069497 |
…kresearch#431) Summary: Pull Request resolved: facebookresearch#431 `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
6049284
to
8d70e8f
Compare
…kresearch#431) Summary: Pull Request resolved: facebookresearch#431 `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
8d70e8f
to
fa81389
Compare
This pull request was exported from Phabricator. Differential Revision: D65069497 |
…kresearch#431) Summary: Pull Request resolved: facebookresearch#431 `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
fa81389
to
1ef7636
Compare
This pull request was exported from Phabricator. Differential Revision: D65069497 |
This pull request was exported from Phabricator. Differential Revision: D65069497 |
2616577
to
7c3a91b
Compare
…kresearch#431) Summary: Pull Request resolved: facebookresearch#431 `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
This pull request was exported from Phabricator. Differential Revision: D65069497 |
7c3a91b
to
e9a50e3
Compare
…kresearch#431) Summary: Pull Request resolved: facebookresearch#431 `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
e9a50e3
to
29f50d9
Compare
…kresearch#431) Summary: `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
This pull request was exported from Phabricator. Differential Revision: D65069497 |
…kresearch#431) Summary: `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
29f50d9
to
08c8dda
Compare
This pull request was exported from Phabricator. Differential Revision: D65069497 |
…kresearch#431) Summary: `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
08c8dda
to
941499b
Compare
This pull request was exported from Phabricator. Differential Revision: D65069497 |
…kresearch#431) Summary: `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
941499b
to
fd90bfd
Compare
This pull request was exported from Phabricator. Differential Revision: D65069497 |
…kresearch#431) Summary: `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
…earch#443) Summary: All parameters will have some options that will always be the same. We add a private function that unifies this. Differential Revision: D65695127
…#416) Summary: Instead of creating duplicate transforms whenever we need one, we create a single transform from the config and initialize the wrapped model and wrapped generators with that one transform. This passes the same transform object around and allows the transformations to learn parameters and still be synced up across wrapped objects. Differential Revision: D65155103
…kresearch#431) Summary: `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
fd90bfd
to
26b1b89
Compare
This pull request was exported from Phabricator. Differential Revision: D65069497 |
…kresearch#431) Summary: `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Differential Revision: D65069497
This pull request has been merged in b3a282a. |
Summary: Pull Request resolved: #431 `normalize_inputs` (the one that min-max scales paraemters) is confusingly named (there's another `normalize_inputs` that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening. This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index. Reviewed By: crasanders Differential Revision: D65069497 fbshipit-source-id: 88c27114c8fcf8126afe6c17b85f8beef8ee14c8
Summary:
normalize_inputs
(the one that min-max scales paraemters) is confusingly named (there's anothernormalize_inputs
that concatenates data and ensures they're all the right types) and is a hard-coded transformation that is applied to all parameters. This means that there's no way to turn the behavior off selectively nor is it obvious that it is happening.This diff removes the normalize_inputs method and replaces it with an parameter transform that will also allow selective application of the transform via an index.
Differential Revision: D65069497