mweiss commited on
Commit
6a4780f
1 Parent(s): f0f9772

Update fashion_mnist_corrupted.py

Browse files
Files changed (1) hide show
  1. fashion_mnist_corrupted.py +2 -2
fashion_mnist_corrupted.py CHANGED
@@ -39,7 +39,7 @@ else:
39
  raise ValueError("Unsupported version.")
40
 
41
  _URL = (
42
- f"https://github.com/testingautomated-usi/fashion-mnist-c/blob/{tag}/generated/npy/"
43
  )
44
 
45
  _URLS = {
@@ -87,7 +87,7 @@ class FashionMnistCorrupted(datasets.GeneratorBasedBuilder):
87
 
88
  def _split_generators(self, dl_manager):
89
  urls_to_download = {
90
- key: _URL + fname + "?raw=true" for key, fname in _URLS.items()
91
  }
92
  downloaded_files = dl_manager.download_and_extract(urls_to_download)
93
 
 
39
  raise ValueError("Unsupported version.")
40
 
41
  _URL = (
42
+ f"https://github.com/testingautomated-usi/fashion-mnist-c/raw/{tag}/generated/npy/"
43
  )
44
 
45
  _URLS = {
 
87
 
88
  def _split_generators(self, dl_manager):
89
  urls_to_download = {
90
+ key: _URL + fname for key, fname in _URLS.items()
91
  }
92
  downloaded_files = dl_manager.download_and_extract(urls_to_download)
93