|
@@ -379,6 +379,7 @@ class CHILLAXKerasHC(
|
|
pickle.dump((self.uid_to_dimension,), target)
|
|
pickle.dump((self.uid_to_dimension,), target)
|
|
|
|
|
|
def restore(self, path):
|
|
def restore(self, path):
|
|
|
|
+ self.maybe_update_embedding()
|
|
with open(path + "_hc.pkl", "rb") as target:
|
|
with open(path + "_hc.pkl", "rb") as target:
|
|
new_weights = pickle.load(target)
|
|
new_weights = pickle.load(target)
|
|
has_weights = False
|
|
has_weights = False
|