Unverified Commit 6e7ed49a authored by ProGamerGov's avatar ProGamerGov Committed by GitHub
Browse files

Fix spelling mistakes: dimenions -> dimensions (#3061)

* Fix spelling: dimenions -> dimensions

* Fix spelling mistake: dimenions -> dimensions
parent 181e81ce
...@@ -60,7 +60,7 @@ def center_crop(clip, crop_size): ...@@ -60,7 +60,7 @@ def center_crop(clip, crop_size):
def to_tensor(clip): def to_tensor(clip):
""" """
Convert tensor data type from uint8 to float, divide value by 255.0 and Convert tensor data type from uint8 to float, divide value by 255.0 and
permute the dimenions of clip tensor permute the dimensions of clip tensor
Args: Args:
clip (torch.tensor, dtype=torch.uint8): Size is (T, H, W, C) clip (torch.tensor, dtype=torch.uint8): Size is (T, H, W, C)
Return: Return:
......
...@@ -129,7 +129,7 @@ class NormalizeVideo(object): ...@@ -129,7 +129,7 @@ class NormalizeVideo(object):
class ToTensorVideo(object): class ToTensorVideo(object):
""" """
Convert tensor data type from uint8 to float, divide value by 255.0 and Convert tensor data type from uint8 to float, divide value by 255.0 and
permute the dimenions of clip tensor permute the dimensions of clip tensor
""" """
def __init__(self): def __init__(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment