From 4c959a1dd05f157441c5dbdc47d83483ff9b236b Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 20 Apr 2021 13:40:24 -0500 Subject: [PATCH] snapshot... --- modules/deeplearning/icing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/deeplearning/icing.py b/modules/deeplearning/icing.py index 7c5f3872..7b1a8dec 100644 --- a/modules/deeplearning/icing.py +++ b/modules/deeplearning/icing.py @@ -179,7 +179,7 @@ class IcingIntensityNN: print(e) def get_in_mem_data_batch(self, idxs): - key = set(idxs) + key = frozenset(idxs) if CACHE_DATA_IN_MEM: data, label = self.in_mem_data_cache.get(key) -- GitLab