-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* only able to provide seed not rng * only allow integer seeds, propagate to multiprocessing correctly * propagate changes to tests * correct seed defaults * fix tests bc seeds were not propagated correctly before * larger max int * Update btk/draw_blends.py Co-authored-by: Alexandre Boucaud <[email protected]> * Update btk/sampling_functions.py Co-authored-by: Alexandre Boucaud <[email protected]> * define default seed once * Update btk/sampling_functions.py Co-authored-by: Alexandre Boucaud <[email protected]> * dont need another rng embedded in render_blend * simplify line * seeds are now used in config * put defualt seed in init * show how to use the seed * add seed in tutorial documentation too * ignore warning until actually throws an error * fix tests with new seed * why did the precision decrease again? * no output in first cell Co-authored-by: Alexandre Boucaud <[email protected]>
- Loading branch information
1 parent
44c88e8
commit 599a181
Showing
18 changed files
with
250 additions
and
205 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ | |
__email__ = "[email protected]" | ||
__version__ = "0.9.3" | ||
|
||
DEFAULT_SEED = 0 | ||
|
||
from . import catalog | ||
from . import create_blend_generator | ||
from . import draw_blends | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ shifts: Null | |
indexes: Null | ||
channels_last: ${channels_last} | ||
save_path: ${save_path} | ||
seed: ${seed} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ shifts: Null | |
indexes: Null | ||
channels_last: ${channels_last} | ||
save_path: ${save_path} | ||
seed: ${seed} |
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.