raghakot / keras-vis

Neural network visualization toolkit for keras
https://raghakot.github.io/keras-vis
MIT License
2.98k stars 661 forks source link

Python 3 named_losses display fix. #62

Closed bradykieffer closed 7 years ago

bradykieffer commented 7 years ago

During visualization_activation the named_losses aren't properly display in Python 3 because the zip function now returns a generator. The fix is easy, just wrap the zip in a list. This doesn't change functionality in Python 2.7.13.