Skip to content
Snippets Groups Projects
Commit 6dfa5a30 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 763505e7
Branches
No related tags found
No related merge requests found
......@@ -641,7 +641,7 @@ class SRCNN:
return pred
def run(self, directory):
def run(self, directory, ckpt_dir=None):
train_data_files = glob.glob(directory+'data_train*.npy')
valid_data_files = glob.glob(directory+'data_valid*.npy')
......@@ -649,7 +649,7 @@ class SRCNN:
self.build_model()
self.build_training()
self.build_evaluation()
self.do_training()
self.do_training(ckpt_dir=ckpt_dir)
def run_restore(self, directory, ckpt_dir):
valid_data_files = glob.glob(directory + 'data_*.npy')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment