Skip to content

Commit 0feaae4

Browse files
authored
AC: fix lmdb reader read-only data access (#3432)
1 parent 932293f commit 0feaae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/accuracy_checker/openvino/tools/accuracy_checker/data_readers/binary_data_readers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def configure(self):
6161
super().configure()
6262
if isinstance(lmdb, UnsupportedPackage):
6363
lmdb.raise_error(self.__provider__)
64-
self.database = lmdb.open(bytes(self.data_source), readonly=True)
64+
self.database = lmdb.open(bytes(self.data_source), readonly=True, lock=False)
6565

6666
def read(self, data_id):
6767
with self.database.begin(write=False) as txn:

0 commit comments

Comments
 (0)