assignment-a1: fix
This commit is contained in:
@@ -2,7 +2,7 @@ import torch
|
||||
|
||||
|
||||
def avg_color(img: torch.Tensor):
|
||||
return img.mean(dim=(1, 2)).tolist()
|
||||
return img.mean(dim=(1, 2))
|
||||
|
||||
|
||||
def mask(foreground: torch.Tensor, background: torch.Tensor, mask_tensor: torch.Tensor, threshold: float):
|
||||
|
||||
Reference in New Issue
Block a user