Skip to content

"Corrupt file!" When downloading cifar10 and cifar100 #51

@whipson

Description

@whipson

Trying to get cifar10 data using the helper cifar10_dataset and it fails with "Corrupt file!". Not sure how to proceed from here.

library(dplyr)
library(torch)
library(torchvision)

transformed_cifar10 <- cifar10_dataset(".", 
                                       train = TRUE, 
                                       download = TRUE)

Output:

trying URL 'https://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz'
Content type 'application/x-gzip' length 170052171 bytes (162.2 MB)
======================================downloaded 124.5 MB

Error: Corrupt file!
Run `rlang::last_error()` to see where the error occurred.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions