raghakot / keras-vis

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

Use tempfile instead of hard-coded /tmp directory #58

Closed FrankNiemeyer closed 7 years ago

FrankNiemeyer commented 7 years ago

The directory where temporary Keras files are stored is hard-coded as /tmp in tensorflow_backend.py (line 81) and utils.py (line 110), which makes keras-vis fail on Windows. To fix this, /tmp should be replaced by either Python's tempfile or a customizable location.

raghakot commented 7 years ago

Ah yes. Thanks.