Skip to content

Commit 79b693e

Browse files
Switch all datasets to TensorFlow based Keras
1 parent 9d8b29f commit 79b693e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

extra_keras_datasets/emnist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
'''
1111

12-
from keras.utils.data_utils import get_file
12+
from tensorflow.keras.utils import get_file
1313
import numpy as np
1414
from zipfile import ZipFile
1515
from scipy import io as sio

extra_keras_datasets/iris.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Fisher,R.A. "The use of multiple measurements in taxonomic problems" Annual Eugenics, 7, Part II, 179-188 (1936); also in "Contributions to Mathematical Statistics" (John Wiley, NY, 1950).
99
'''
1010

11-
from keras.utils.data_utils import get_file
11+
from tensorflow.keras.utils import get_file
1212
import numpy as np
1313
import math
1414

extra_keras_datasets/kmnist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
'''
1111

12-
from keras.utils.data_utils import get_file
12+
from tensorflow.keras.utils import get_file
1313
import numpy as np
1414

1515
def load_data(path='kmnist.npz', type='kmnist'):

extra_keras_datasets/stl10.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
'''
1111

12-
from keras.utils.data_utils import get_file
12+
from tensorflow.keras.utils import get_file
1313
from scipy import io as sio
1414
import shutil
1515
import numpy as np

extra_keras_datasets/svhn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
'''
1111

12-
from keras.utils.data_utils import get_file
12+
from tensorflow.keras.utils import get_file
1313
import numpy as np
1414
from zipfile import ZipFile
1515
from scipy import io as sio

0 commit comments

Comments
 (0)