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

fix

parent 1b503e74
No related branches found
No related tags found
No related merge requests found
...@@ -955,4 +955,6 @@ class Class1NeuralNetwork(object): ...@@ -955,4 +955,6 @@ class Class1NeuralNetwork(object):
if existing.shape == allele_representations.shape: if existing.shape == allele_representations.shape:
layer.set_weights([allele_representations]) layer.set_weights([allele_representations])
else: else:
raise NotImplementedError("Network surgery required") raise NotImplementedError(
"Network surgery required: %s != %s" % (
str(existing), str(allele_representations.shape)))
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