Spaces:
Sleeping
Sleeping
Test dataset
Browse files- prismer_model.py +0 -2
prismer_model.py
CHANGED
@@ -83,9 +83,7 @@ def run_experts(image_path: str) -> Tuple[str, Tuple[str, ...]]:
|
|
83 |
with open('prismer/configs/experts.yaml', 'w') as yaml_file:
|
84 |
yaml.dump(config, yaml_file, default_flow_style=False)
|
85 |
|
86 |
-
print(out_path.as_posix())
|
87 |
if not os.path.exists(out_paths[0]):
|
88 |
-
print(out_path.as_posix())
|
89 |
cv2.imwrite(out_path.as_posix(), cv2.imread(image_path))
|
90 |
|
91 |
# paralleled inference
|
|
|
83 |
with open('prismer/configs/experts.yaml', 'w') as yaml_file:
|
84 |
yaml.dump(config, yaml_file, default_flow_style=False)
|
85 |
|
|
|
86 |
if not os.path.exists(out_paths[0]):
|
|
|
87 |
cv2.imwrite(out_path.as_posix(), cv2.imread(image_path))
|
88 |
|
89 |
# paralleled inference
|