We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac1434b commit c270a4cCopy full SHA for c270a4c
1 file changed
embeddings/utils.py
@@ -68,7 +68,7 @@ def prepare_datacube(mean, std, datetimes, bboxs, pixels, gsd):
68
69
gsd = [gsd]
70
71
- pixels_norm = transform(pixels)
+ pixels_norm = transform(torch.tensor(pixels, dtype=torch.float32)).numpy()
72
73
return time_norm, latlon_norm, gsd, pixels_norm
74
0 commit comments