Skip to content

Commit

Permalink
Merge pull request #4 from supervisely-ecosystem/point-tracking-local…
Browse files Browse the repository at this point in the history
…-cache-test

New cache feature
  • Loading branch information
TheoLisin authored Aug 23, 2023
2 parents 4df1801 + 63e80e3 commit 805eaf3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions supervisely/serve/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 805eaf3

Please sign in to comment.