raghakot / keras-vis

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

Fixed TypeError for image value ( #155 and #161) #162

Closed keisen closed 5 years ago

keisen commented 5 years ago

This PR contain two improvements for fixing #155 and #161 . The first is to improve a example source code of Generating animated gif of optimization progress section in README.md. The code had implemented with the api of old version of keras-vis.

The second is to improve vis.callbacks.GifGenerator . The module had been having the problem which #155 and #161 reported. (i.e., Invalid type of image value)

This closes #155 and closes #161 .

keisen commented 5 years ago

Although I'll merge this PR because this PR have passed a half year, please revert it if you find any problem.