Closed leiwen83 closed 2 years ago
Hi,
For training process, it require, the pt format, while the original DIV2k is in png format. Is there some script which could be used to convert?
Thanks,
import imageio import pickle
with open('0.pt', 'wb') as f: pickle.dump(imageio.imread('0.png'), f)
Got it.
Hi,
For training process, it require, the pt format, while the original DIV2k is in png format. Is there some script which could be used to convert?
Thanks,