Skip to content
Snippets Groups Projects
Commit 88c036ee authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

fix

parent ce7ef3d8
No related branches found
No related tags found
No related merge requests found
...@@ -170,13 +170,9 @@ class Class1CleavageNeuralNetwork(object): ...@@ -170,13 +170,9 @@ class Class1CleavageNeuralNetwork(object):
Update self.network_json and self.network_weights properties based on Update self.network_json and self.network_weights properties based on
this instances's neural network. this instances's neural network.
""" """
network = self.network() if self._network is not None:
if network is None: self.network_json = self._network.to_json()
self.network_json = None self.network_weights = self._network.get_weights()
self.network_weights = None
else:
self.network_json = network.to_json()
self.network_weights = network.get_weights()
def fit( def fit(
self, self,
......
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