Skip to content

Commit 724c483

Browse files
authored
Merge pull request #3048 from jkamelin/jk/retrieving_from_cache
model_tools: fix retrieving from cache
2 parents 29de38f + 93b7fc6 commit 724c483

File tree

1 file changed

+1
-1
lines changed
  • tools/model_tools/src/openvino/model_zoo/download_engine

1 file changed

+1
-1
lines changed

tools/model_tools/src/openvino/model_zoo/download_engine/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def has(self, hash):
5050

5151
def get(self, model_file, path, reporter):
5252
cache_path = self._hash_path(model_file.checksum.value)
53-
cache_sha = model_file.checksum.type
53+
cache_sha = model_file.checksum.type()
5454
cache_size = 0
5555

5656
with open(cache_path, 'rb') as cache_file, open(path, 'wb') as destination_file:

0 commit comments

Comments
 (0)