2f426f57ccbb033c2e8f061d22a02080bde3791d,brats/train.py,,fetch_training_data_files,#Any#,49

Before Change


def fetch_training_data_files(return_subject_ids=False):
    training_data_files = list()
    subject_ids = list()
    for subject_dir in glob.glob(os.path.join(os.path.dirname(__file__), "data", "*Training*", "*Training*")):
        subject_id = os.path.basename(subject_dir)
        subject_ids.append(subject_id)
        subject_files = list()

After Change




def fetch_training_data_files(return_subject_ids=False):
    return fetch_brats_2020_files(modalities=config["training_modalities"], return_subject_ids=return_subject_ids)


def main(overwrite=False):
    // convert input images into an hdf5 file
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: ellisdg/3DUnetCNN
Commit Name: 2f426f57ccbb033c2e8f061d22a02080bde3791d
Time: 2020-08-13
Author: dgellis90@gmail.com
File Name: brats/train.py
Class Name:
Method Name: fetch_training_data_files


Project Name: pyinstaller/pyinstaller
Commit Name: 2c5e9cf15a523b23d6a98f632b2efd374de85058
Time: 2015-11-22
Author: dustin@virtualroadside.com
File Name: PyInstaller/utils/hooks/__init__.py
Class Name:
Method Name: get_typelibs


Project Name: pyinstaller/pyinstaller
Commit Name: 2daa6c1e7ea851dfc6bac1107363419ce019a12a
Time: 2016-04-19
Author: chris.hager@allaboutapps.at
File Name: PyInstaller/utils/misc.py
Class Name:
Method Name: dlls_in_dir