Skip to content
Snippets Groups Projects
Commit a97cd359 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 4c959a1d
Branches
No related tags found
No related merge requests found
......@@ -182,9 +182,9 @@ class IcingIntensityNN:
key = frozenset(idxs)
if CACHE_DATA_IN_MEM:
data, label = self.in_mem_data_cache.get(key)
if data is not None:
return data, label
tup = self.in_mem_data_cache.get(key)
if tup is not None:
return tup[0], tup[1]
# sort these to use as numpy indexing arrays
nd_idxs = np.array(idxs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment