diff --git a/modules/util/setup.py b/modules/util/setup.py
index 9706433ba62078e1c12b40312fdd48d1d172f00a..c15fd392bff81d803090765279a94120b248a806 100644
--- a/modules/util/setup.py
+++ b/modules/util/setup.py
@@ -6,25 +6,12 @@ import numpy as np
 
 from pathlib import Path
 
-
-# to make this notebook's output stable across runs
-def reset_graph(seed=42):
-    tf.compat.v1.reset_default_graph()
-    tf.compat.v1.set_random_seed(seed)
-    np.random.seed(seed)
-
-
 # To plot pretty figures
 import matplotlib.pyplot as plt
 plt.rcParams['axes.labelsize'] = 14
 plt.rcParams['xtick.labelsize'] = 12
 plt.rcParams['ytick.labelsize'] = 12
 
-
-import tensorflow as tf
-
-reset_graph()
-
 from datetime import datetime
 
 now = datetime.utcnow().strftime("%Y%m%d%H%M%S")