Paolo-Fraccaro
commited on
Commit
•
389fc1a
1
Parent(s):
6e5d9fc
debug
Browse files
app.py
CHANGED
@@ -250,7 +250,7 @@ def predict_on_images(data_files: list, mask_ratio: float, yaml_file_path: str,
|
|
250 |
# os.makedirs(output_dir, exist_ok=True)
|
251 |
|
252 |
# Get parameters --------
|
253 |
-
print(data_files)
|
254 |
|
255 |
with open(yaml_file_path, 'r') as f:
|
256 |
params = yaml.safe_load(f)
|
@@ -381,7 +381,7 @@ def predict_on_images(data_files: list, mask_ratio: float, yaml_file_path: str,
|
|
381 |
func = partial(predict_on_images, yaml_file_path=yaml_file_path,checkpoint=checkpoint)
|
382 |
|
383 |
def preprocess_example(example_list):
|
384 |
-
|
385 |
example_list = [os.path.join(os.path.abspath(''), x) for x in example_list]
|
386 |
|
387 |
return example_list
|
|
|
250 |
# os.makedirs(output_dir, exist_ok=True)
|
251 |
|
252 |
# Get parameters --------
|
253 |
+
print('This is the printout', data_files)
|
254 |
|
255 |
with open(yaml_file_path, 'r') as f:
|
256 |
params = yaml.safe_load(f)
|
|
|
381 |
func = partial(predict_on_images, yaml_file_path=yaml_file_path,checkpoint=checkpoint)
|
382 |
|
383 |
def preprocess_example(example_list):
|
384 |
+
print('######## preprocessing here ##########')
|
385 |
example_list = [os.path.join(os.path.abspath(''), x) for x in example_list]
|
386 |
|
387 |
return example_list
|