Skip to content

Commit

Permalink
fix_cuda0_mem_usage_error (#770)
Browse files Browse the repository at this point in the history
  • Loading branch information
clackhan authored Mar 28, 2024
1 parent b89dd49 commit 089489a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def pt_to_numpy(images: torch.FloatTensor) -> np.ndarray:
return _pt_to_numpy_pre(images).numpy()


@torch.jit.script
def _pt_to_pil_pre(images):
return (
images.permute(0, 2, 3, 1)
Expand Down

0 comments on commit 089489a

Please sign in to comment.