Commit 7e723289 authored by Olegs NIKISINS's avatar Olegs NIKISINS
Browse files

Renamed callable to object, sphinx warning

parent 5e44dfde
Pipeline #26281 passed with stage
in 7 minutes and 15 seconds
......@@ -101,7 +101,7 @@ class DataFolder(data.Dataset):
data_folder : str
A directory containing the training data.
transform : callable
transform : object
A function/transform that takes in a PIL image, and returns a
transformed version. E.g, ``transforms.RandomCrop``. Default: None.
......@@ -154,7 +154,7 @@ class DataFolder(data.Dataset):
data_folder : str
A directory containing the training data.
transform : callable
transform : object
A function/transform that takes in a PIL image, and returns a
transformed version. E.g, ``transforms.RandomCrop``. Default: None.
......
Supports Markdown
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