nguyen-brat commited on
Commit
503e7d9
·
1 Parent(s): 2b28d4e
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import sys
10
  from PIL import Image
11
  import tempfile
12
 
13
- os.environ["HYDRA_FULL_ERROR"] = 1
14
 
15
  def GET_PROJECT_ROOT():
16
  count = 0
@@ -82,6 +82,7 @@ def create_temp_structure():
82
  target_folder = os.path.join(temp_dir, "target_folder")
83
  os.makedirs(os.path.join(target_folder, "mask"), exist_ok=True)
84
  os.makedirs(os.path.join(target_folder, "result"), exist_ok=True)
 
85
 
86
  return temp_dir, test_folder, target_folder
87
 
 
10
  from PIL import Image
11
  import tempfile
12
 
13
+ os.environ["HYDRA_FULL_ERROR"] = "1"
14
 
15
  def GET_PROJECT_ROOT():
16
  count = 0
 
82
  target_folder = os.path.join(temp_dir, "target_folder")
83
  os.makedirs(os.path.join(target_folder, "mask"), exist_ok=True)
84
  os.makedirs(os.path.join(target_folder, "result"), exist_ok=True)
85
+ os.makedirs(os.path.join(target_folder, "bbox"), exist_ok=True)
86
 
87
  return temp_dir, test_folder, target_folder
88