Mercurial > ift6266
diff transformations/pipeline.py @ 52:c89defea1e65
Modification aux déformations élastiques pour mettre en cache 50x10 champs de déformation, selon 10 niveaux de complexité
author | fsavard |
---|---|
date | Thu, 04 Feb 2010 16:53:50 -0500 |
parents | ff59670cd1f9 |
children | cc4be6b25b8e |
line wrap: on
line diff
--- a/transformations/pipeline.py Thu Feb 04 15:38:10 2010 -0500 +++ b/transformations/pipeline.py Thu Feb 04 16:53:50 2010 -0500 @@ -14,7 +14,7 @@ # To debug locally, also call with -s 1 (to stop after 1 batch ~= 100) # (otherwise we allocate all needed memory, might be loonnng and/or crash # if, lucky like me, you have an age-old laptop creaking from everywhere) -DEBUG = False +DEBUG = True DEBUG_X = False if DEBUG: DEBUG_X = False # Debug under X (pylab.show()) @@ -57,7 +57,7 @@ # AFTER_EACH_MODULE_HOOK list (but not both, it's redundant) VISUALIZER = Visualizer(to_dir=DEBUG_OUTPUT_DIR, on_screen=False) -MODULE_INSTANCES = [Thick(), LocalElasticDistorter(), PoivreSel(), Contrast()] +MODULE_INSTANCES = [LocalElasticDistorter()] # These should have a "after_transform_callback(self, image)" method # (called after each call to transform_image in a module)