Exemple #1
0
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'agglomerator': 'kernighan-lin',
         'time_limit_solver': None
     })
     return config
Exemple #2
0
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'resolution': None,
         'size_filter': 10,
         'chunk_len': 1000
     })
     return config
Exemple #3
0
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'chunks': None,
         'compression': 'gzip',
         'reduce_channels': None
     })
     return config
Exemple #4
0
 def default_task_config():
     config = LocalTask.default_task_config()
     # intra_label_cost: cost of lifted edge connecting two nodes with the same node label
     #                   by default we set this to be very attractive (6 is close to the usual max val for costs)
     # inter_label_cost: cost of lifted edge connecting two nodes with different node labels
     #                   by default we set this to be very repulsive
     config.update({'intra_label_cost': 6.,
                    'inter_label_cost': -6.})
     return config
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'channel_begin': 0,
         'channel_end': None,
         'agglomerate_channels': 'mean',
         'size_filter': 0
     })
     return config
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({'threshold': .5,
                    'apply_dt_2d': True, 'pixel_pitch': None,
                    'apply_ws_2d': True, 'sigma_seeds': 2., 'size_filter': 25,
                    'sigma_weights': 2., 'halo': [0, 0, 0],
                    'two_pass': False, 'channel_begin': 0, 'channel_end': None,
                    'alpha': 0.8})
     return config
Exemple #7
0
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'library': 'vigra',
         'chunks': None,
         'compression': 'gzip',
         'library_kwargs': None
     })
     return config
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'strides': [1, 1, 1],
         'randomize_strides': False,
         'size_filter': 25,
         'noise_level': 0.
     })
     return config
Exemple #9
0
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'chunks': None,
         'compression': 'gzip',
         'fill_value': 0,
         'sigma_anti_aliasing': None
     })
     return config
Exemple #10
0
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'dtype': 'uint8',
         'compression': 'gzip',
         'chunks': None,
         'gpu_type': '2080Ti',
         'set_visible_device': False
     })
     return config
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'invert_inputs': False,
         'transform_to_costs': True,
         'weight_edges': False,
         'weighting_exponent': 1.,
         'beta': 0.5
     })
     return config
Exemple #12
0
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     # Parameters:
     # erode_by - erosion of seeds.
     # channel -  channel that will be used for multiscale inputs
     # dtype - output dtype
     # chunks - output chunks
     config.update({'erode_by': 12, 'channel': 0, 'dtype': 'uint64', 'chunks': None,
                    'erode_3d': True})
     return config
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({'threshold': .5,
                    'apply_dt_2d': True, 'pixel_pitch': None,
                    'apply_ws_2d': True, 'sigma_seeds': 2., 'size_filter': 25,
                    'sigma_weights': 2., 'halo': [0, 0, 0],
                    'channel_begin': 0, 'channel_end': None,
                    'agglomerate_channels': 'mean', 'alpha': 0.8,
                    'invert_inputs': False, 'non_maximum_suppression': True})
     return config
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'n_channels': 1,
         'dtype': 'uint8',
         'compression': 'compression',
         'chunks': (25, 256, 256),
         'halo': None
     })
     return config
Exemple #15
0
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'offsets': None,
         'filters': None,
         'sigmas': None,
         'halo': [0, 0, 0],
         'apply_in_2d': False,
         'channel_agglomeration': 'mean'
     })
     return config
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'chunks': None,
         'compression': 'gzip',
         'reduce_channels': None,
         'map_uniform_blocks_to_background': False,
         'value_list': None,
         'offset': None,
         'insert_mode': False
     })
     return config
Exemple #17
0
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'dtype': 'uint8',
         'compression': 'gzip',
         'chunks': None,
         'gpu_type': '2080Ti',
         'device_mapping': None,
         'use_best': True,
         'tda_config': {},
         'prep_model': None
     })
     return config
Exemple #18
0
 def default_task_config():
     # parameter:
     # use_mala_agglomeration: whether to use thresholding based mala agglomeration
     #                         or element number based agglomerative clustering
     # threshold: threshold up to which to agglomerate (mala) or fraction of nodes
     #            after agglomeration (agglomerative clustering)
     # size_regularizer: size regularizer in agglomerative clustering (wardness)
     # invert_inputs: do we need to invert the inputs?
     # offsets: offsets for affinities, set to None for boundaries
     config = LocalTask.default_task_config()
     config.update({'use_mala_agglomeration': True, 'threshold': .9,
                    'size_regularizer': .5, 'invert_inputs': False,
                    'offsets': None})
     return config
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({
         'dtype': 'uint8',
         'compression': 'gzip',
         'chunks': None,
         'device_mapping': None,
         'use_best': True,
         'tda_config': {},
         'prep_model': None,
         "gpu_type": "2080Ti",
         'channel_accumulation': None,
         'mixed_precision': False,
         'preprocess_kwargs': {}
     })
     return config
Exemple #20
0
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({'accumulation_method': 'sum'})
     return config
 def default_task_config():
     config = LocalTask.default_task_config()
     # TODO do we need task specific stuff ?
     # config.update({})
     return config
Exemple #22
0
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({'ignore_label_gt': False})
     return config
Exemple #23
0
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({'halo': None, 'pixel_pitch': None})
     return config
 def default_task_config():
     config = LocalTask.default_task_config()
     config.update({'compression': 'gzip'})
     return config
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({'apply_in_2d': False})
     return config
Exemple #26
0
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({'chunks': None, 'allow_empty_assignments': False})
     return config
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({'sigma_prefilter': 0})
     return config
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     config.update({'filter_shape': (10, 100, 100)})
     return config
 def default_task_config():
     # we use this to get also get the common default config
     config = LocalTask.default_task_config()
     return config
Exemple #30
0
 def default_task_config():
     config = LocalTask.default_task_config()
     config.update({'erode_by': 6, 'zero_objects_list': None,
                    'chunks': None, 'dilate_by': 2, 'erode_3d': True})
     return config