Commit c8b08da
authored
Update simple_cerebros_random_search.py
Garbage collecting to cure RAM pressure accumulation: Added garbage collection and ensure a clean keras back-end state before starting a new model.1 parent 6cea4e8 commit c8b08da
File tree
1 file changed
+8
-0
lines changed- cerebros/simplecerebrosrandomsearch
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
480 | 482 | | |
481 | 483 | | |
482 | 484 | | |
| 485 | + | |
| 486 | + | |
483 | 487 | | |
484 | 488 | | |
485 | 489 | | |
| |||
515 | 519 | | |
516 | 520 | | |
517 | 521 | | |
| 522 | + | |
518 | 523 | | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
519 | 527 | | |
520 | 528 | | |
521 | 529 | | |
| |||
0 commit comments