Skip to content
Snippets Groups Projects
Commit 6badaaaf authored by rink's avatar rink
Browse files

minor

parent 55d6b5cc
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment