CloudCV

[Fabrik] Add code to reset graph before importing and after exporting in Keras and TensorFlow

TensorFlow graphs have to be reset before importing a new graph or after exporting a graph to prevent unnecessary accumulation of operations. Since Keras uses TensorFlow backend, it also requires graph reset. Add code to reset graph after export and before import for Keras and TensorFlow. Also verify if sessions (if used) are closed properly.

Task tags

  • python
  • tensorflow
  • keras

Students who completed this task

Adam Z

Task type

  • code Code
close

2018