DeepFISH icon indicating copy to clipboard operation
DeepFISH copied to clipboard

Cleaned_LowRes_13434_overlapping_pairs.h5 has negative numbers

Open P9J7 opened this issue 4 years ago • 2 comments

Hello,I want to use PIL to load Cleaned_LowRes_13434_overlapping_pairs.h5 as PIL Image and I found that numpy.ndarray exist negative number led to a error,Is there a problem with the data?Here is my code: ` f = h5py.File('./data/Cleaned_LowRes_13434_overlapping_pairs.h5', 'r')

f.close()

N = 11508

grey = pairs[N, :, :, 0]

Image.fromarray(grey)
or if can I correct it as follow? Image.fromarray(np.unit8(grey))

` I am worried about that this way will affect subsequent training results.

P9J7 avatar Jul 28 '20 08:07 P9J7

Sorry didn't see your question.

jeanpat avatar Jan 21 '24 17:01 jeanpat

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

P9J7 avatar Jan 21 '24 17:01 P9J7