-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various improvements to
scico.flax
and related example scripts (#498)
* Rename flax data files * Minor docstring improvements * Minor docstring improvement * Remove astra-toolbox channel * Minor improvement * Add timer to trainer class * Minor clean up * Minor change to log format * Improve log formatting * Improve log formatting * Update submodule * Typo fix * Improve log format * Docs fixes * Docs consistency * Minor edit * Docs consistency * Fix broken cross-references * Docs consistency * Improve docs * Rename functions * Update function docs * Update URL * Clean up log format * Update submodule * Fix overly simple regex * Trivial edit * Clean up some scripts * Update submodule * Overlooked change from recent astra PR * Add note on GPU support test script * Overlooked change from recent astra PR * Add script for removing error output from notebooks * Update submodule * Fix tests * Fix tests * Update submodule --------- Co-authored-by: Brendt Wohlberg <brendt@lanl.gov>
- Loading branch information
Showing
28 changed files
with
209 additions
and
163 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
Submodule data
updated
18 files
+2 −2 | flax/README.rst | |
+ − | flax/dncnn17H.mpk | |
+ − | flax/dncnn17L.mpk | |
+ − | flax/dncnn17M.mpk | |
+ − | flax/dncnn17N.mpk | |
+ − | flax/dncnn6H.mpk | |
+ − | flax/dncnn6L.mpk | |
+ − | flax/dncnn6M.mpk | |
+ − | flax/dncnn6N.mpk | |
+0 −7 | notebooks/ct_astra_datagen_foam2.ipynb | |
+340 −139 | notebooks/ct_astra_modl_train_foam2.ipynb | |
+136 −131 | notebooks/ct_astra_odp_train_foam2.ipynb | |
+94 −160 | notebooks/ct_astra_unet_train_foam2.ipynb | |
+0 −2 | notebooks/deconv_datagen_bsds.ipynb | |
+0 −7 | notebooks/deconv_datagen_foam1.ipynb | |
+120 −108 | notebooks/deconv_modl_train_foam1.ipynb | |
+109 −105 | notebooks/deconv_odp_train_foam1.ipynb | |
+97 −93 | notebooks/denoise_dncnn_train_bsds.ipynb |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env python | ||
|
||
# Remove output to stderr in notebooks. NB: use with caution! | ||
# Run as | ||
# python removejnberr.py | ||
|
||
import glob | ||
import os | ||
|
||
from jnb import read_notebook, remove_error_output | ||
from py2jn.tools import write_notebook | ||
|
||
for src in glob.glob(os.path.join("notebooks", "*.ipynb")): | ||
nb = read_notebook(src) | ||
modflg = remove_error_output(nb) | ||
if modflg: | ||
print(f"Removing output to stderr from {src}") | ||
write_notebook(nb, src) |
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.