change imports
Browse files
FGT_codes/tool/get_flowNN_gradient.py
CHANGED
@@ -4,7 +4,7 @@ import cv2
|
|
4 |
import copy
|
5 |
import numpy as np
|
6 |
import scipy.io as sio
|
7 |
-
from utils.common_utils import interp, BFconsistCheck, \
|
8 |
FBconsistCheck, consistCheck, get_KeySourceFrame_flowNN_gradient
|
9 |
|
10 |
|
|
|
4 |
import copy
|
5 |
import numpy as np
|
6 |
import scipy.io as sio
|
7 |
+
from tool.utils.common_utils import interp, BFconsistCheck, \
|
8 |
FBconsistCheck, consistCheck, get_KeySourceFrame_flowNN_gradient
|
9 |
|
10 |
|
FGT_codes/tool/video_inpainting.py
CHANGED
@@ -10,8 +10,8 @@ warnings.filterwarnings("ignore")
|
|
10 |
import cvbase
|
11 |
from torchvision.transforms import ToTensor
|
12 |
from tool import get_flowNN_gradient
|
13 |
-
from utils.Poisson_blend_img import Poisson_blend_img
|
14 |
-
from utils.region_fill import regionfill
|
15 |
from importlib import import_module
|
16 |
import yaml
|
17 |
from RAFT import RAFT
|
|
|
10 |
import cvbase
|
11 |
from torchvision.transforms import ToTensor
|
12 |
from tool import get_flowNN_gradient
|
13 |
+
from tool.utils.Poisson_blend_img import Poisson_blend_img
|
14 |
+
from tool.utils.region_fill import regionfill
|
15 |
from importlib import import_module
|
16 |
import yaml
|
17 |
from RAFT import RAFT
|