finally working. Now the CLI properly installs using pip and it can be used without any dependency issues across all relevant operating systems
Browse files
livermask/utils/process.py
CHANGED
@@ -164,7 +164,7 @@ def vessel_segmenter(curr, output, cpu, verbose, multiple_flag, liver_mask, name
|
|
164 |
probability_map = np.zeros((config.unet['number_of_label'], ze+config.patch['patchside'], ye + config.patch['patchside'], xe + config.patch['patchside']))
|
165 |
|
166 |
# Patch loop
|
167 |
-
for s in tqdm(range(xm * ym * zm), ascii=True, desc='Patch loop'):
|
168 |
xi = int(s % xm) * config.patch['patchside']
|
169 |
yi = int((s % (ym * xm)) / xm) * config.patch['patchside']
|
170 |
zi = int(s / (ym * xm)) * config.patch['patchside']
|
|
|
164 |
probability_map = np.zeros((config.unet['number_of_label'], ze+config.patch['patchside'], ye + config.patch['patchside'], xe + config.patch['patchside']))
|
165 |
|
166 |
# Patch loop
|
167 |
+
for s in tqdm(range(xm * ym * zm), ascii=True, desc='Patch loop', disable=not verbose):
|
168 |
xi = int(s % xm) * config.patch['patchside']
|
169 |
yi = int((s % (ym * xm)) / xm) * config.patch['patchside']
|
170 |
zi = int(s / (ym * xm)) * config.patch['patchside']
|