Skip to content

Commit 99e3083

Browse files
committed
Remove unused mock code for MD5 checks
1 parent 9a59be8 commit 99e3083

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/e2e/mnist.py

-6
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import os
1616

1717
import torch
18-
import torchvision.datasets.utils as utils
1918
import requests
2019
from pytorch_lightning import LightningModule, Trainer
2120
from pytorch_lightning.callbacks.progress import TQDMProgressBar
@@ -139,11 +138,6 @@ def configure_optimizers(self):
139138
####################
140139

141140
def prepare_data(self):
142-
def check_md5(fpath, md5=None):
143-
return True
144-
145-
utils.check_md5 = check_md5
146-
147141
# download
148142
print("Downloading MNIST dataset...")
149143

0 commit comments

Comments
 (0)