Skip to content

Commit

Permalink
build: add ultralytics and sam as deps
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasschaub committed Nov 14, 2023
1 parent 4c46911 commit e68f1b3
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 1 deletion.
160 changes: 159 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ pyproj = "^3.6.1"
neptune = "^1.8.3"
torch = {version = "^2.1.0+cpu", source = "pytorch"}
torchvision = {version = "^0.16.0+cpu", source = "pytorch"}
ultralytics = "^8.0.209"
segment-anything = {git = "https://github.com/facebookresearch/segment-anything.git"}

[tool.poetry.group.dev.dependencies]
# Versions are fixed to match versions used by pre-commit
Expand Down
4 changes: 4 additions & 0 deletions tests/unit/test_depedencies.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
def test_torch():
import torch

torch.rand(5, 3)

0 comments on commit e68f1b3

Please sign in to comment.