Spaces:
Running
on
Zero
Running
on
Zero
Update main.py
Browse files
main.py
CHANGED
@@ -76,7 +76,7 @@ def run_main(
|
|
76 |
input_folder = os.path.join(base_input_folder, name)
|
77 |
mask_list = []
|
78 |
for mask_np in mask_np_list:
|
79 |
-
mask = torch.from_numpy(mask_np)
|
80 |
mask_list.append(mask)
|
81 |
|
82 |
#mask_list, mask_label_list = load_mask(input_folder)
|
|
|
76 |
input_folder = os.path.join(base_input_folder, name)
|
77 |
mask_list = []
|
78 |
for mask_np in mask_np_list:
|
79 |
+
mask = torch.from_numpy(mask_np.astype(np.uint8))
|
80 |
mask_list.append(mask)
|
81 |
|
82 |
#mask_list, mask_label_list = load_mask(input_folder)
|