Skip to content

Commit

Permalink
stuff i did but forgot
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavz committed Apr 18, 2018
1 parent 8d7c053 commit 23708c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion object_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def download_model():
tar_file = tarfile.open(model_file)
for file in tar_file.getmembers():
file_name = os.path.basename(file.name)
if 'toy_frozen_inference_graph.pb' in file_name:
if 'frozen_inference_graph.pb' in file_name:
tar_file.extract(file, os.getcwd() + '/models/')
os.remove(os.getcwd() + '/' + model_file)
else:
Expand Down
2 changes: 1 addition & 1 deletion object_detection_kcf_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def download_model():
tar_file = tarfile.open(model_file)
for file in tar_file.getmembers():
file_name = os.path.basename(file.name)
if 'toy_frozen_inference_graph.pb' in file_name:
if 'frozen_inference_graph.pb' in file_name:
tar_file.extract(file, os.getcwd() + '/models/')
os.remove(os.getcwd() + '/' + model_file)
else:
Expand Down

0 comments on commit 23708c8

Please sign in to comment.