Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tks10 committed Dec 6, 2018
1 parent 86ea11a commit 8dd6d95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ def train(parser):
print("Result")
print("[Test] Loss:", loss_test, "Accuracy:", accuracy_test)

sess.close()


def get_parser():
parser = argparse.ArgumentParser(
Expand Down
2 changes: 1 addition & 1 deletion util/repoter.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def get_imageset(image_in_np, image_out_np, image_tc_np, palette, index_void=Non
image_result = Reporter.concat_images(image_in_pil, image_concated, None, "RGB")
return image_result

def store_model(self, saver, sess):
def save_model(self, saver, sess):
saver.save(sess, os.path.join(self._model_dir, self.MODEL_NAME))


Expand Down

0 comments on commit 8dd6d95

Please sign in to comment.