From af98368619f58b71e725f005650393ed7fd817a1 Mon Sep 17 00:00:00 2001 From: David Nilsson Date: Wed, 13 Jun 2018 10:30:03 +0200 Subject: [PATCH] Evaluate GRFP(LRR-4x, ...) --- evaluate.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/evaluate.py b/evaluate.py index f97a026..5487664 100644 --- a/evaluate.py +++ b/evaluate.py @@ -63,9 +63,6 @@ def evaluate(args): elif args.flow == 'flownet2': saver_fn.restore(sess, './checkpoints/flownet2') - #saver_fn.save(sess, './checkpoints/flownet1', write_meta_graph=False) - #saver.save(sess, './checkpoints/lrr_grfp', write_meta_graph=False) - L = glob.glob(os.path.join(cfg.cityscapes_dir, 'gtFine', data_split, "*", "*labelIds.png")) for (progress_counter, im_path) in enumerate(L): parts = im_path.split('/')[-1].split('_') @@ -94,7 +91,6 @@ def evaluate(args): flow = cv2.calcOpticalFlowFarneback(im_gray, last_im_gray, None, 0.5, 3, 15, 3, 5, 1.2, 0) flow = flow[...,(1, 0)] flow = flow[np.newaxis,...] - print("Flow!") # Static segmentation x = sess.run(static_output, feed_dict={static_input: im})