-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify main.py / experiment.py and tests (#80)
* [Ugly] simplify main.py / experiment.py Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Fix tiny bug in test_load_configs Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Remove duplicated test code Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Add tests to run experiment configs Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Remove unused function Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Rename test Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Simplify test for remote launcher Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Fix the marks on the remote launcher tests Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Add leftover changes Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Tweak failing test Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Simplify (and split up) the `evaluation` function Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Add xfail on test for cluster sweep example test - Getting a `TypeError: cannot pickle 'weakref.ReferenceType' object`. This is a bit weird. I don't know what's suddenly causing this. Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Add comment in `main_test.py` Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Fix issue in `experiment_dictconfig` fixture Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Remove unused code in `config_test.py` Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Add a test command to cover the `no_op` algorithm Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Remove unused variables in config_test.py Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Fix error with cluster_sweep_example + resources Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Fix bug with no_op algo and test command Signed-off-by: Fabrice Normandin <normandf@mila.quebec> * Make the xfail not strict (?) Signed-off-by: Fabrice Normandin <normandf@mila.quebec> --------- Signed-off-by: Fabrice Normandin <normandf@mila.quebec>
- Loading branch information
Showing
15 changed files
with
370 additions
and
249 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 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 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.