Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Commit 914a7ae

Browse files
author
Ludwig Schubert
committed
Remove unused and unimplemented retry_on_decode_error option from modelzoo.util's load_graphdef.
The option is no longer needed as loading itself will autodetect Exceptions during loading and retry
1 parent a4bf39e commit 914a7ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lucid/modelzoo/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def load_text_labels(labels_path):
3131
return load(labels_path).splitlines()
3232

3333

34-
def load_graphdef(model_url, reset_device=True, retry_on_decode_error=True):
34+
def load_graphdef(model_url, reset_device=True):
3535
"""Load GraphDef from a binary proto file."""
3636
graph_def = load(model_url)
3737

0 commit comments

Comments
 (0)