Document that datasets support pathlib.Path #2938
Annotations
1 error and 9 warnings
Run BC Lint Action
Process completed with exit code 1.
|
Run BC Lint Action:
torchvision/datasets/folder.py#L36
Function find_classes: directory changed from str to Union[str, Path]
|
Run BC Lint Action:
torchvision/datasets/folder.py#L50
Function make_dataset: directory changed from str to Union[str, Path]
|
Run BC Lint Action:
torchvision/datasets/folder.py#L168
Function DatasetFolder.make_dataset: directory changed from str to Union[str, Path]
|
Run BC Lint Action:
torchvision/datasets/folder.py#L207
Function DatasetFolder.find_classes: directory changed from str to Union[str, Path]
|
Run BC Lint Action:
torchvision/datasets/imagenet.py#L82
Function load_meta_file: root changed from str to Union[str, Path]
|
Run BC Lint Action:
torchvision/datasets/imagenet.py#L106
Function parse_devkit_archive: root changed from str to Union[str, Path]
|
Run BC Lint Action:
torchvision/datasets/imagenet.py#L160
Function parse_train_archive: root changed from str to Union[str, Path]
|
Run BC Lint Action:
torchvision/datasets/imagenet.py#L187
Function parse_val_archive: root changed from str to Union[str, Path]
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, malfet/checkout@silent-checkout. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading