fgt codes sys path added in app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,14 @@ project_name = './'
|
|
17 |
|
18 |
sys.path.append(project_name)
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
# sys.path.append(join(project_name, 'SiamMask',
|
21 |
# 'experiments', 'siammask_sharp'))
|
22 |
# sys.path.append(join(project_name, 'SiamMask', 'models'))
|
@@ -25,13 +33,7 @@ sys.path.append(project_name)
|
|
25 |
exp_path = join(project_name, 'SiamMask/experiments/siammask_sharp')
|
26 |
pretrained_path1 = join(exp_path, 'SiamMask_DAVIS.pth')
|
27 |
|
28 |
-
|
29 |
-
# sys.path.append(join(project_name, 'FGT_codes', 'tool'))
|
30 |
-
# sys.path.append(join(project_name, 'FGT_codes', 'LAFC', 'flowCheckPoint'))
|
31 |
-
# sys.path.append(join(project_name, 'FGT_codes', 'LAFC', 'checkpoint'))
|
32 |
-
# sys.path.append(join(project_name, 'FGT_codes', 'FGT', 'checkpoint'))
|
33 |
-
# sys.path.append(join(project_name, 'FGT_codes', 'LAFC',
|
34 |
-
# 'flowCheckPoint', 'raft-things.pth'))
|
35 |
|
36 |
torch.set_grad_enabled(False)
|
37 |
|
|
|
17 |
|
18 |
sys.path.append(project_name)
|
19 |
|
20 |
+
sys.path.append(join(project_name, 'FGT_codes'))
|
21 |
+
sys.path.append(join(project_name, 'FGT_codes', 'tool'))
|
22 |
+
sys.path.append(join(project_name, 'FGT_codes', 'LAFC', 'flowCheckPoint'))
|
23 |
+
sys.path.append(join(project_name, 'FGT_codes', 'LAFC', 'checkpoint'))
|
24 |
+
sys.path.append(join(project_name, 'FGT_codes', 'FGT', 'checkpoint'))
|
25 |
+
sys.path.append(join(project_name, 'FGT_codes', 'LAFC',
|
26 |
+
'flowCheckPoint', 'raft-things.pth'))
|
27 |
+
|
28 |
# sys.path.append(join(project_name, 'SiamMask',
|
29 |
# 'experiments', 'siammask_sharp'))
|
30 |
# sys.path.append(join(project_name, 'SiamMask', 'models'))
|
|
|
33 |
exp_path = join(project_name, 'SiamMask/experiments/siammask_sharp')
|
34 |
pretrained_path1 = join(exp_path, 'SiamMask_DAVIS.pth')
|
35 |
|
36 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
torch.set_grad_enabled(False)
|
39 |
|