Skip to content

Commit

Permalink
close session
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed Jul 9, 2019
1 parent ecdaa07 commit deace85
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DINCAE.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,9 @@ def reconstruct(lon,lat,mask,meandata,
save_path = saver.save(sess, os.path.join(
outdir,"model-{:03d}.ckpt".format(e+1)))

# free all resources associated with the session
sess.close()

dt_end = datetime.now()
print(dt_end)
print(dt_end - dt_start)
Expand Down

0 comments on commit deace85

Please sign in to comment.