9b638935feccbb0fce928b5e9e38616c74960394,niftynet/engine/image_window.py,,_read_window_sizes,#Any#Any#,179
Before Change
"with different window sizes: %s", window_sizes)
raise NotImplementedError
if uniq_window_set:
return tuple(map(int, uniq_window_set.pop()))
return ()
def _complete_partial_window_sizes(win_size, img_size):
After Change
return tuple(map(int, window_shape))
except (TypeError, ValueError):
pass
try:
// try to make it a tuple
return int(window_shape),
except (TypeError, ValueError):
tf.logging.fatal("unknown spatial_window_size param %s, %s",
input_mod_list, input_data_param)
raise
def _complete_partial_window_sizes(win_size, img_size):
window size can be partially specified in the config
This function complete the window size by making it
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: NifTK/NiftyNet
Commit Name: 9b638935feccbb0fce928b5e9e38616c74960394
Time: 2017-08-30
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/image_window.py
Class Name:
Method Name: _read_window_sizes
Project Name: NifTK/NiftyNet
Commit Name: 31fd5e11806c319b493b47fe029a48811445d9e8
Time: 2017-08-24
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/application_driver.py
Class Name: ApplicationDriver
Method Name: _randomly_init_or_restore_variables
Project Name: NifTK/NiftyNet
Commit Name: d8c6f621ebb4f7d73564a62cab8f7a9b5761dd8e
Time: 2017-09-05
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/layer/discrete_label_normalisation.py
Class Name:
Method Name: find_set_of_labels