oguzakif commited on
Commit
aa52658
·
1 Parent(s): 2dbb619

siammask sys path added

Browse files
Files changed (1) hide show
  1. SiamMask/tools/test.py +5 -0
SiamMask/tools/test.py CHANGED
@@ -9,8 +9,13 @@ import logging
9
  import numpy as np
10
  import cv2
11
  from PIL import Image
 
12
  from os import makedirs
13
  from os.path import join, isdir, isfile
 
 
 
 
14
 
15
  from utils.log_helper import init_log, add_file_handler
16
  from utils.load_helper import load_pretrain
 
9
  import numpy as np
10
  import cv2
11
  from PIL import Image
12
+ import os
13
  from os import makedirs
14
  from os.path import join, isdir, isfile
15
+ import sys
16
+
17
+ sys.path.append(os.path.abspath(os.path.join(__file__, "..","utils")))
18
+
19
 
20
  from utils.log_helper import init_log, add_file_handler
21
  from utils.load_helper import load_pretrain