You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a Pytorch DataLoader (an example can be found here, the issue can be reproduced as follows:
for batch_idx, samples in enumerate(loader):
X, attrs = samples
for i, x in enumerate(X):
if np.isnan(x).any():
obs_time = attrs["T_OBS"][i]
print(f"found invalid sample at {obs_time}")
Hi Marius and Paul,
These nan images seem to be related to the source synoptic images we used to generate the dataset. I found these problematic images have normal fits header information (i.e., QUALITY = 0) therefore passed the quality check in the code. We will investigate this issue and correct it in the future versions. But for now, maybe just discard these images with nan values. Sorry for the inconvenience and thanks for the feedback!
Hi there,
There are np.nan values in some of the images, which leads to problems when training ML models.
For example for the following times in 171A (fdl-sdoml-v2/sdomlv2.zarr/2020/171A):
Given a Pytorch DataLoader (an example can be found here, the issue can be reproduced as follows:
The resulting tensor will contain np.nan values:
Cheers,
Marius
The text was updated successfully, but these errors were encountered: