mirror of https://github.com/commaai/tinygrad.git
Fix tests ((again))
This commit is contained in:
parent
d33885f496
commit
91a352a8e2
|
@ -2,7 +2,7 @@ def fetch_mnist():
|
|||
def fetch(url):
|
||||
import requests, gzip, os, hashlib, numpy
|
||||
fp = os.path.join("/tmp", hashlib.md5(url.encode('utf-8')).hexdigest())
|
||||
if not os.path.isfile(fp):
|
||||
if os.path.isfile(fp):
|
||||
with open(fp, "rb") as f:
|
||||
dat = f.read()
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue