We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5c9277 commit 21cd424Copy full SHA for 21cd424
run_a_pair.py
@@ -10,6 +10,7 @@
10
parser = argparse.ArgumentParser()
11
parser.add_argument('--fp16', action='store_true', help='Run model in pseudo-fp16 mode (fp16 storage fp32 math).')
12
parser.add_argument("--rgb_max", type=float, default=255.)
13
+
14
args = parser.parse_args()
15
16
# initial a Net
@@ -41,4 +42,4 @@ def writeFlow(name, flow):
41
42
43
44
data = result.data.cpu().numpy().transpose(1, 2, 0)
- writeFlow("/home/hjj/flownet2-master/data/FlyingChairs_examples/0000007-img.flo", data)
45
+ writeFlow("/home/hjj/flownet2-master/data/FlyingChairs_examples/0000007-img.flo", data)
0 commit comments