'r Keras Can't load cifar10

I'm working in RStudio and I finally got Keras working with my GPU. I tried to load the cifar10 dataset with

cifar <- dataset_cifar10()

But I get the following error:

Error in py_call_impl(callable, dots$args, dots$keywords) : 
Exception: URL fetch failure on https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz: None -- [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129)

I've seen solutions for the Python equivalent in changing SSL settings, but how would I do that in R?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source