if (height,width)!=(rounded_height,rounded_width):# just keep printing to be annoying until it is fixed
print(f'spectrogram yielded shape of {(height,width)}, but had to be cropped to {(rounded_height,rounded_width)} to be patchified for transformer')
print_once(f'spectrogram yielded shape of {(height,width)}, but had to be cropped to {(rounded_height,rounded_width)} to be patchified for transformer')