diff --git a/requirements.txt b/requirements.txt index a1b2b7c..785ead1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,8 @@ --extra-index-url https://download.pytorch.org/whl/cu118 torch==2.0.0+cu118 torchvision==0.15.1+cu118 -supervisely==6.72.62 +supervisely==6.72.111 +# git+https://github.com/supervisely/supervisely.git@branch-to-install imageio==2.19.3 opencv-python==4.6.0.66 tensorboardX==2.2 diff --git a/supervisely/serve/src/main.py b/supervisely/serve/src/main.py index 6fe89cf..8d68cfb 100644 --- a/supervisely/serve/src/main.py +++ b/supervisely/serve/src/main.py @@ -22,6 +22,9 @@ load_dotenv(root / "local.env") load_dotenv(os.path.expanduser("~/supervisely.env")) +os.environ["SMART_CACHE_TTL"] = str(5 * 60) +os.environ["SMART_CACHE_SIZE"] = str(512) + class PipsTracker(PointTracking): def load_on_device(