Skip to content

Commit 88ba02a

Browse files
committed
Merge pull request keras-team#538 from jfsantos/patch-2
Recent update broke HDF5Matrix
2 parents a02ccc2 + af6b50b commit 88ba02a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

keras/utils/io_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55

66

77
class HDF5Matrix():
8-
def __init__(self):
9-
self.refs = defaultdict(int)
8+
refs = defaultdict(int)
109

1110
def __init__(self, datapath, dataset, start, end, normalizer=None):
1211
if datapath not in list(self.refs.keys()):

0 commit comments

Comments
 (0)