Data Utils
Utility functions needed by dataloader & co.
adjust_for_imbalance_in_fraction_value(val, test, val_fraction, test_fraction, total_size)
here, val and test are divided almost equally. Here, we need to take into account their respective fractions and pick elements rendomly from one array and put in the other array.
load_tiff(path)
Returns a 4d numpy array: num_imgshw*num_channels