update interrogate and train

This commit is contained in:
Vladimir Mandic
2023-01-19 17:55:31 -05:00
parent 1f173f8123
commit 832c24c24d
8 changed files with 66 additions and 37 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ def plot(logdir: str, name: str):
step, loss, rate = plt.np.loadtxt(f, delimiter = ',', skiprows = 1, usecols = [0, 3, 4], unpack = True)
d = settings(logdir, name)
window = d.get('gradient_step', 1) * d.get('batch_size', 1)
# window = d.get('gradient_step', 1) * d.get('batch_size', 1)
window = d.get('save_embedding_every', 1)
try:
log.debug({ 'loss plot': name, 'output': img, 'data': f, 'records': len(step) })
except: