Python run script

Create a file within the src folder called run.py and place the following code in there:

#!/usr/bin/env python3
from train import Trainer

# Command Line Argument Method
HEIGHT = 55
WIDTH = 35
CHANNELS = 1
EPOCHS = 100
BATCH = 16
CHECKPOINT = 50
SIM_PATH = "/data/eye-gaze/gaze.h5"
REAL_PATH = "/data/eye-gaze/real_gaze.h5"

trainer = Trainer(height=HEIGHT,width=WIDTH, channels=CHANNELS,epochs =EPOCHS,
batch=BATCH,
checkpoint=CHECKPOINT,
sim_path=SIM_PATH,
real_path=REAL_PATH)
trainer.train()
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.165.62