Skip to content

Commit 36b4f37

Browse files
clessigiluise
authored andcommitted
Fixed problem in inferecne (#1145)
1 parent ce4ffaf commit 36b4f37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/weathergen/datasets/stream_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def add_target(
202202
self.target_tokens[fstep] = torch.cat(targets)
203203
self.target_coords[fstep] = torch.cat(target_coords)
204204
self.target_times_raw[fstep] = np.concatenate(times_raw)
205-
self.target_coords_raw[fstep] = target_coords_raw
205+
self.target_coords_raw[fstep] = torch.cat(target_coords_raw)
206206

207207
tc = target_coords
208208
self.target_coords_lens[fstep] = torch.tensor(

0 commit comments

Comments
 (0)