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

snapshot...

parent 4910aa73
No related branches found
No related tags found
No related merge requests found
......@@ -817,6 +817,8 @@ class CloudHeightNN:
print('loss, acc: ', self.test_loss.result(), self.test_accuracy.result())
ckpt_manager.save()
self.DISK_CACHE = True
if self.DISK_CACHE and epoch == 0:
f = open(cachepath, 'wb')
pickle.dump(self.in_mem_data_cache, f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment