Skip to content

Commit c2b2f4a

Browse files
Merge pull request #91 from roboflow/rtsp-quick-fix
Print Statement Try/Exception for Workspace.py
2 parents f790b66 + 0a750b5 commit c2b2f4a

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

roboflow/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from roboflow.core.project import Project
99
from roboflow.core.workspace import Workspace
1010

11-
__version__ = "0.2.22"
11+
__version__ = "0.2.23"
1212

1313

1414
def check_key(api_key, model, notebook, num_retries=0):

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)