comparison cp_segmentation.py @ 4:32153c43126c draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/cellpose commit 81c6be8cc2502367ae52bf093b838e9764b22c00
author bgruening
date Tue, 11 Feb 2025 14:48:08 +0000
parents 1e7334a51725
children
comparison
equal deleted inserted replaced
3:9186100e75b5 4:32153c43126c
21 One of the ['ome.tiff', 'tiff', 'png', 'jpg'] 21 One of the ['ome.tiff', 'tiff', 'png', 'jpg']
22 output_dir : str 22 output_dir : str
23 Folder to save the outputs. 23 Folder to save the outputs.
24 """ 24 """
25 warnings.simplefilter('ignore') 25 warnings.simplefilter('ignore')
26 26 np.random.seed(42)
27 with open(inputs, 'r') as param_handler: 27 with open(inputs, 'r') as param_handler:
28 params = json.load(param_handler) 28 params = json.load(param_handler)
29 29
30 gpu = params['use_gpu'] 30 gpu = params['use_gpu']
31 model_type = params['model_type'] 31 model_type = params['model_type']