Spaces:
Runtime error
Runtime error
Commit
β’
0ce6186
1
Parent(s):
dd96563
make folders in app.py
Browse files- .gitignore +1 -0
- app.py +16 -17
.gitignore
CHANGED
@@ -6,6 +6,7 @@ inputs/
|
|
6 |
results/
|
7 |
checkpoints/
|
8 |
|
|
|
9 |
*.pth
|
10 |
|
11 |
# Byte-compiled / optimized / DLL files
|
6 |
results/
|
7 |
checkpoints/
|
8 |
|
9 |
+
*.db
|
10 |
*.pth
|
11 |
|
12 |
# Byte-compiled / optimized / DLL files
|
app.py
CHANGED
@@ -21,23 +21,22 @@ print(f"####Using {device}.#####")
|
|
21 |
|
22 |
|
23 |
# Make directories
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
os.system("mkdir ./checkpoints")
|
41 |
|
42 |
|
43 |
# Get pose model
|
21 |
|
22 |
|
23 |
# Make directories
|
24 |
+
os.system("mkdir ./Data_preprocessing")
|
25 |
+
os.system("mkdir ./Data_preprocessing/test_color")
|
26 |
+
os.system("mkdir ./Data_preprocessing/test_colormask")
|
27 |
+
os.system("mkdir ./Data_preprocessing/test_edge")
|
28 |
+
os.system("mkdir ./Data_preprocessing/test_img")
|
29 |
+
os.system("mkdir ./Data_preprocessing/test_label")
|
30 |
+
os.system("mkdir ./Data_preprocessing/test_mask")
|
31 |
+
os.system("mkdir ./Data_preprocessing/test_pose")
|
32 |
+
os.system("mkdir ./inputs")
|
33 |
+
os.system("mkdir ./inputs/img")
|
34 |
+
os.system("mkdir ./inputs/cloth")
|
35 |
+
os.system("mkdir ./saved_models/")
|
36 |
+
os.system("mkdir ./saved_models/u2net")
|
37 |
+
os.system("mkdir ./saved_models/u2netp")
|
38 |
+
os.system("mkdir ./pose")
|
39 |
+
os.system("mkdir ./checkpoints")
|
|
|
40 |
|
41 |
|
42 |
# Get pose model
|