"vscode:/vscode.git/clone" did not exist on "e9ec6ac85eb9fba1111622d628d97e8183ff5552"
Unverified Commit 1c1d5d87 authored by Lewis Patten's avatar Lewis Patten Committed by GitHub
Browse files

Corrected spelling in a Type Error (#3659)

parent e8dded4c
......@@ -1110,7 +1110,7 @@ class ColorJitter(torch.nn.Module):
if not bound[0] <= value[0] <= value[1] <= bound[1]:
raise ValueError("{} values should be between {}".format(name, bound))
else:
raise TypeError("{} should be a single number or a list/tuple with lenght 2.".format(name))
raise TypeError("{} should be a single number or a list/tuple with length 2.".format(name))
# if value is 0 or (1., 1.) for brightness/contrast/saturation
# or (0., 0.) for hue, do nothing
......
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