diff run-superdsm.py @ 2:244f67290d28 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/superdsm/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
author imgteam
date Mon, 13 Nov 2023 22:12:35 +0000
parents 700ae37e5c69
children 7fd8dba15bd3
line wrap: on
line diff
--- a/run-superdsm.py	Thu Jul 06 00:01:18 2023 +0000
+++ b/run-superdsm.py	Mon Nov 13 22:12:35 2023 +0000
@@ -13,11 +13,6 @@
 import shutil
 import tempfile
 
-import ray
-import superdsm.automation
-import superdsm.io
-import superdsm.render
-
 
 hyperparameters = [
     ('AF_scale', float),
@@ -71,7 +66,11 @@
 
     os.environ['MKL_NUM_THREADS'] = str(num_threads_per_process)
     os.environ['OPENBLAS_NUM_THREADS'] = str(num_threads_per_process)
-    os.environ['MKL_DEBUG_CPU_TYPE'] = '5'
+
+    import ray
+    import superdsm.automation
+    import superdsm.io
+    import superdsm.render
 
     ray.init(num_cpus=num_processes, log_to_driver=True)