Skip to content

Commit edb2ad1

Browse files
authored
Replace deprecated argument (#633)
1 parent 06da5fc commit edb2ad1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/video_dataloading.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ def decode_video_nvdec(
204204
torch.cuda.caching_allocator_delete,
205205
),
206206
),
207-
width=width,
208-
height=height,
207+
scale_width=width,
208+
scale_height=height,
209209
pix_fmt="rgb",
210210
)
211211
return spdl.io.to_torch(buffer)[..., :3].permute(0, 2, 3, 1)

0 commit comments

Comments
 (0)