-
Notifications
You must be signed in to change notification settings - Fork 3
Erm Hyper Init #843
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
Merged
Erm Hyper Init #843
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e4d87d9
added hyper init and hyper update function and a new benchmark for fb…
MatteoWohlrapp 5c44550
Fixed import of backpack
MatteoWohlrapp 416389f
Fixed benchmark import not successfull in erm
MatteoWohlrapp d59d37a
fixed indentation
MatteoWohlrapp a4fa31d
Added backpack check for fishr
MatteoWohlrapp a38c777
Debugging backpack in erm
MatteoWohlrapp 870bc57
Adding more logging to erm
MatteoWohlrapp f7795a9
added list_str_multiplier
MatteoWohlrapp 6c5ca27
Added directories to gitignore, adjusted fobt_fishr_erm benchmark
38fb5f2
Solved indexing issue in fbopt mu controller and added flag info to t…
caf32b7
removed prints
a098a68
Fixed indentation for convert4backpack
518d919
fixed codacity
e947f67
fixed codacity
e6a6f3e
Merge branch 'mhof_dev_merge' into erm_hyper_init
5288432
Merge branch 'mhof_dev_merge' into erm_hyper_init
MatteoWohlrapp 4f1347a
fixed codacity
6a81b4c
Merge branch 'erm_hyper_init' of https://github.com/marrlab/DomainLab…
f2fa952
fixed codacity
279f510
Added test for erm functions
f8f4f0e
Disabling line too long for argument
c7caeb5
Merge branch 'mhof_dev_merge' into erm_hyper_init
MatteoWohlrapp d1ccf46
Update task_pacs_aug.py, update path of PACS
smilesun 6acdfdd
Update pacs_fbopt_fishr_erm.yaml
smilesun d60a789
Update pacs_fbopt_fishr_erm.yaml
smilesun 976c25a
Update task_pacs_aug.py, fix codacy
smilesun 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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| mode: grid | ||
|
|
||
| output_dir: zoutput/benchmarks/benchmark_fbopt_fishr_erm_pacs | ||
|
|
||
| sampling_seed: 0 | ||
| startseed: 0 | ||
| endseed: 0 | ||
|
|
||
| test_domains: | ||
| - sketch | ||
|
|
||
| domainlab_args: | ||
| tpath: examples/tasks/task_pacs_aug.py | ||
| dmem: False | ||
| lr: 5e-5 | ||
| epos: 10 | ||
| epos_min: 2 | ||
| es: 5 | ||
| bs: 32 | ||
| san_check: False | ||
| nname: alexnet | ||
| nname_dom: alexnet | ||
| zx_dim: 0 | ||
| zy_dim: 64 | ||
| zd_dim: 64 | ||
|
|
||
|
|
||
|
|
||
|
|
||
| Shared params: | ||
| ini_setpoint_ratio: | ||
| min: 0.5 | ||
| max: 0.99 | ||
| num: 2 | ||
| step: 0.05 | ||
| distribution: uniform | ||
|
|
||
| k_i_gain: | ||
| min: 0.0001 | ||
| max: 0.01 | ||
| num: 2 | ||
| step: 0.0001 | ||
| distribution: uniform | ||
|
|
||
| gamma_reg: | ||
| min: 0.01 | ||
| max: 1e4 | ||
| num: 3 | ||
| distribution: loguniform | ||
|
|
||
|
|
||
| # Test fbopt with different hyperparameter configurations | ||
|
|
||
| fbopt_fishr_erm: | ||
| model: erm | ||
| trainer: fbopt_fishr | ||
| shared: | ||
| - ini_setpoint_ratio | ||
| - k_i_gain | ||
| - gamma_reg | ||
|
|
||
| fishr_erm: | ||
| model: erm | ||
| trainer: fishr | ||
| shared: | ||
| - gamma_reg |
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
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.