Added pathlib support to datasets/utils.py #2593
Annotations
1 error and 10 warnings
|
torchvision/datasets/utils.py#L51
Function calculate_md5: fpath changed from str to Union[str, pathlib.Path]
|
torchvision/datasets/utils.py#L65
Function check_md5: fpath changed from str to Union[str, pathlib.Path]
|
torchvision/datasets/utils.py#L69
Function check_integrity: fpath changed from str to Union[str, pathlib.Path]
|
torchvision/datasets/utils.py#L109
Function download_url: filename changed from Optional[str] to Optional[Union[str, pathlib.Path]]
|
torchvision/datasets/utils.py#L162
Function list_dir: root changed from str to Union[str, pathlib.Path]
|
torchvision/datasets/utils.py#L177
Function list_files: root changed from str to Union[str, pathlib.Path]
|
torchvision/datasets/utils.py#L213
Function download_file_from_google_drive: filename changed from Optional[str] to Optional[Union[str, pathlib.Path]]
|
torchvision/datasets/utils.py#L402
Function extract_archive: from_path changed from str to Union[str, pathlib.Path]
|
torchvision/datasets/utils.py#L403
Function extract_archive: to_path changed from Optional[str] to Optional[Union[str, pathlib.Path]]
|
torchvision/datasets/utils.py#L451
Function download_and_extract_archive: download_root changed from str to Union[str, pathlib.Path]
|
The logs for this run have expired and are no longer available.
Loading