supervisely 6.73.400__py3-none-any.whl → 6.73.401__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- supervisely/nn/inference/cache.py +6 -1
- {supervisely-6.73.400.dist-info → supervisely-6.73.401.dist-info}/METADATA +1 -1
- {supervisely-6.73.400.dist-info → supervisely-6.73.401.dist-info}/RECORD +7 -7
- {supervisely-6.73.400.dist-info → supervisely-6.73.401.dist-info}/LICENSE +0 -0
- {supervisely-6.73.400.dist-info → supervisely-6.73.401.dist-info}/WHEEL +0 -0
- {supervisely-6.73.400.dist-info → supervisely-6.73.401.dist-info}/entry_points.txt +0 -0
- {supervisely-6.73.400.dist-info → supervisely-6.73.401.dist-info}/top_level.txt +0 -0
|
@@ -18,7 +18,7 @@ from fastapi import BackgroundTasks, FastAPI, Form, Request, UploadFile
|
|
|
18
18
|
import supervisely as sly
|
|
19
19
|
import supervisely.io.env as env
|
|
20
20
|
from supervisely._utils import batched
|
|
21
|
-
from supervisely.io.fs import silent_remove
|
|
21
|
+
from supervisely.io.fs import list_files, silent_remove
|
|
22
22
|
from supervisely.video.video import VideoFrameReader
|
|
23
23
|
|
|
24
24
|
|
|
@@ -101,6 +101,10 @@ class PersistentImageTTLCache(TTLCache):
|
|
|
101
101
|
silent_remove(filepath)
|
|
102
102
|
except TypeError:
|
|
103
103
|
pass
|
|
104
|
+
except:
|
|
105
|
+
sly.logger.debug(f"File {filepath} was not deleted from cache", exc_info=True)
|
|
106
|
+
else:
|
|
107
|
+
sly.logger.debug(f"File {filepath} was deleted from cache")
|
|
104
108
|
|
|
105
109
|
def __update_timer(self, key):
|
|
106
110
|
try:
|
|
@@ -135,6 +139,7 @@ class PersistentImageTTLCache(TTLCache):
|
|
|
135
139
|
except TypeError:
|
|
136
140
|
pass
|
|
137
141
|
sly.logger.debug(f"Deleted keys: {deleted}")
|
|
142
|
+
sly.logger.trace(f"Existing files: {list_files(str(self._base_dir))}")
|
|
138
143
|
|
|
139
144
|
def clear(self, rm_base_folder=True) -> None:
|
|
140
145
|
while self.currsize > 0:
|
|
@@ -892,7 +892,7 @@ supervisely/nn/benchmark/visualization/widgets/sidebar/sidebar.py,sha256=tKPURRS
|
|
|
892
892
|
supervisely/nn/benchmark/visualization/widgets/table/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
893
893
|
supervisely/nn/benchmark/visualization/widgets/table/table.py,sha256=atmDnF1Af6qLQBUjLhK18RMDKAYlxnsuVHMSEa5a-e8,4319
|
|
894
894
|
supervisely/nn/inference/__init__.py,sha256=QFukX2ip-U7263aEPCF_UCFwj6EujbMnsgrXp5Bbt8I,1623
|
|
895
|
-
supervisely/nn/inference/cache.py,sha256=
|
|
895
|
+
supervisely/nn/inference/cache.py,sha256=eEjQ5NONink-MiBpek2WQ2n-GbueZDq7Jk69pRzNc_o,35226
|
|
896
896
|
supervisely/nn/inference/inference.py,sha256=L14M8qGofz6EGrgJvGMcz0h3vsu-AnHPeL_iUO8Kf3Y,195721
|
|
897
897
|
supervisely/nn/inference/inference_request.py,sha256=y6yw0vbaRRcEBS27nq3y0sL6Gmq2qLA_Bm0GrnJGegE,14267
|
|
898
898
|
supervisely/nn/inference/session.py,sha256=dIg2F-OBl68pUzcmtmcI0YQIp1WWNnrJTVMjwFN91Q4,35824
|
|
@@ -1114,9 +1114,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
1114
1114
|
supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
|
|
1115
1115
|
supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
|
|
1116
1116
|
supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
|
|
1117
|
-
supervisely-6.73.
|
|
1118
|
-
supervisely-6.73.
|
|
1119
|
-
supervisely-6.73.
|
|
1120
|
-
supervisely-6.73.
|
|
1121
|
-
supervisely-6.73.
|
|
1122
|
-
supervisely-6.73.
|
|
1117
|
+
supervisely-6.73.401.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1118
|
+
supervisely-6.73.401.dist-info/METADATA,sha256=YG4zQT06n55B3OhubdAKrzIjdV1coFrKy9jR1QXh3Y0,35254
|
|
1119
|
+
supervisely-6.73.401.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
1120
|
+
supervisely-6.73.401.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
|
|
1121
|
+
supervisely-6.73.401.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
|
|
1122
|
+
supervisely-6.73.401.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|