keisen / tf-keras-vis

Neural network visualization toolkit for tf.keras
https://keisen.github.io/tf-keras-vis-docs/
MIT License
311 stars 45 forks source link

Fix typo in Exception code #21

Closed NuM314 closed 4 years ago

NuM314 commented 4 years ago

Typo in exception code, which may lead to confusing error messages e.g. if the model has more than one input:

The model has 1 inputs, but the number of seed-inputs tensors you passed is 1.

The exception code seems to be copied from method _get_losses_for_multiple_outputs, with len(self.model.outputs) part left unchanged.