Skip to content

Commit b066d23

Browse files
author
Tyler Odenthal
committed
Print Statement Exception
Made a try + exception for a print statement.
1 parent f790b66 commit b066d23

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

roboflow/core/workspace.py

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -303,15 +303,18 @@ def active_learning(
303303
similarity_timeout_counter = 0
304304

305305
for index, image in enumerate(globbed_files):
306-
print(
307-
"*** Processing image ["
308-
+ str(index + 1)
309-
+ "/"
310-
+ str(len(globbed_files))
311-
+ "] - "
312-
+ image
313-
+ " ***"
314-
)
306+
try:
307+
print(
308+
"*** Processing image ["
309+
+ str(index + 1)
310+
+ "/"
311+
+ str(len(globbed_files))
312+
+ "] - "
313+
+ image
314+
+ " ***"
315+
)
316+
except:
317+
pass
315318

316319
if "similarity_confidence_threshold" in conditionals.keys():
317320
image2 = image

0 commit comments

Comments
 (0)