mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-21 13:48:46 +00:00
remove gdown dependency
This commit is contained in:
parent
189cfa1a69
commit
4045904b26
|
@ -75,13 +75,11 @@ test = [
|
||||||
"transformers>=4.35.2",
|
"transformers>=4.35.2",
|
||||||
"piq>=0.8.0",
|
"piq>=0.8.0",
|
||||||
"torchvision>=0.16.1",
|
"torchvision>=0.16.1",
|
||||||
# An unofficial Python package for Meta AI's Segment Anything Model:
|
# An unofficial Python package for Meta AI's Segment Anything Model: https://github.com/opengeos/segment-anything
|
||||||
# https://github.com/opengeos/segment-anything
|
|
||||||
"segment-anything-py>=1.0",
|
"segment-anything-py>=1.0",
|
||||||
# Official Python package for HQ-SAM
|
# Official Python package for HQ-SAM: https://github.com/SysCV/sam-hq
|
||||||
"segment-anything-hq>=0.3",
|
"segment-anything-hq>=0.3",
|
||||||
# HQ-SAM missing dependency:
|
# HQ-SAM missing dependency: https://github.com/SysCV/sam-hq/pull/59
|
||||||
# https://github.com/SysCV/sam-hq/pull/59
|
|
||||||
"timm>=0.5.0",
|
"timm>=0.5.0",
|
||||||
"sentencepiece>=0.2.0",
|
"sentencepiece>=0.2.0",
|
||||||
]
|
]
|
||||||
|
@ -91,7 +89,6 @@ conversion = [
|
||||||
"segment-anything-py>=1.0",
|
"segment-anything-py>=1.0",
|
||||||
"requests>=2.26.0",
|
"requests>=2.26.0",
|
||||||
"tqdm>=4.62.3",
|
"tqdm>=4.62.3",
|
||||||
"gdown>=5.2.0",
|
|
||||||
]
|
]
|
||||||
doc = [
|
doc = [
|
||||||
# required by mkdocs to format the signatures
|
# required by mkdocs to format the signatures
|
||||||
|
@ -129,8 +126,7 @@ allow-direct-references = true
|
||||||
[tool.rye.scripts]
|
[tool.rye.scripts]
|
||||||
serve-docs = "mkdocs serve"
|
serve-docs = "mkdocs serve"
|
||||||
test-cov = "coverage run -m pytest"
|
test-cov = "coverage run -m pytest"
|
||||||
# Work around for "Couldn't parse" errors due to e.g. opencv-python:
|
# Work around for "Couldn't parse" errors due to e.g. opencv-python: https://github.com/nedbat/coveragepy/issues/1653
|
||||||
# https://github.com/nedbat/coveragepy/issues/1653
|
|
||||||
build-html-cov = { cmd = "coverage html", env = { PYTHONWARNINGS = "ignore:Couldn't parse::coverage.report_core" } }
|
build-html-cov = { cmd = "coverage html", env = { PYTHONWARNINGS = "ignore:Couldn't parse::coverage.report_core" } }
|
||||||
serve-cov-report = { chain = [
|
serve-cov-report = { chain = [
|
||||||
"build-html-cov",
|
"build-html-cov",
|
||||||
|
@ -164,7 +160,7 @@ combine-as-imports = true
|
||||||
black = true
|
black = true
|
||||||
|
|
||||||
[tool.pyright]
|
[tool.pyright]
|
||||||
include = ["src/refiners", "tests", "scripts"]
|
include = ["src/refiners", "tests"]
|
||||||
strict = ["*"]
|
strict = ["*"]
|
||||||
exclude = ["**/__pycache__", "tests/weights", "tests/repos"]
|
exclude = ["**/__pycache__", "tests/weights", "tests/repos"]
|
||||||
reportMissingTypeStubs = "warning"
|
reportMissingTypeStubs = "warning"
|
||||||
|
|
|
@ -29,8 +29,6 @@ attrs==24.2.0
|
||||||
# via referencing
|
# via referencing
|
||||||
babel==2.16.0
|
babel==2.16.0
|
||||||
# via mkdocs-material
|
# via mkdocs-material
|
||||||
beautifulsoup4==4.12.3
|
|
||||||
# via gdown
|
|
||||||
bitsandbytes==0.44.0
|
bitsandbytes==0.44.0
|
||||||
# via refiners
|
# via refiners
|
||||||
black==24.8.0
|
black==24.8.0
|
||||||
|
@ -72,7 +70,6 @@ exceptiongroup==1.2.2
|
||||||
filelock==3.16.1
|
filelock==3.16.1
|
||||||
# via datasets
|
# via datasets
|
||||||
# via diffusers
|
# via diffusers
|
||||||
# via gdown
|
|
||||||
# via huggingface-hub
|
# via huggingface-hub
|
||||||
# via torch
|
# via torch
|
||||||
# via transformers
|
# via transformers
|
||||||
|
@ -88,8 +85,6 @@ fsspec==2024.6.1
|
||||||
# via torch
|
# via torch
|
||||||
future==1.0.0
|
future==1.0.0
|
||||||
# via neptune
|
# via neptune
|
||||||
gdown==5.2.0
|
|
||||||
# via refiners
|
|
||||||
ghp-import==2.1.0
|
ghp-import==2.1.0
|
||||||
# via mkdocs
|
# via mkdocs
|
||||||
gitdb==4.0.11
|
gitdb==4.0.11
|
||||||
|
@ -285,8 +280,6 @@ pyjwt==2.9.0
|
||||||
pymdown-extensions==10.10.2
|
pymdown-extensions==10.10.2
|
||||||
# via mkdocs-material
|
# via mkdocs-material
|
||||||
# via mkdocstrings
|
# via mkdocstrings
|
||||||
pysocks==1.7.1
|
|
||||||
# via requests
|
|
||||||
pytest==8.3.3
|
pytest==8.3.3
|
||||||
# via pytest-rerunfailures
|
# via pytest-rerunfailures
|
||||||
pytest-rerunfailures==14.0
|
pytest-rerunfailures==14.0
|
||||||
|
@ -328,7 +321,6 @@ requests==2.32.3
|
||||||
# via bravado-core
|
# via bravado-core
|
||||||
# via datasets
|
# via datasets
|
||||||
# via diffusers
|
# via diffusers
|
||||||
# via gdown
|
|
||||||
# via huggingface-hub
|
# via huggingface-hub
|
||||||
# via mkdocs-material
|
# via mkdocs-material
|
||||||
# via neptune
|
# via neptune
|
||||||
|
@ -376,8 +368,6 @@ six==1.16.0
|
||||||
# via rfc3339-validator
|
# via rfc3339-validator
|
||||||
smmap==5.0.1
|
smmap==5.0.1
|
||||||
# via gitdb
|
# via gitdb
|
||||||
soupsieve==2.6
|
|
||||||
# via beautifulsoup4
|
|
||||||
swagger-spec-validator==3.0.4
|
swagger-spec-validator==3.0.4
|
||||||
# via bravado-core
|
# via bravado-core
|
||||||
# via neptune
|
# via neptune
|
||||||
|
@ -406,7 +396,6 @@ torchvision==0.19.1
|
||||||
# via timm
|
# via timm
|
||||||
tqdm==4.66.5
|
tqdm==4.66.5
|
||||||
# via datasets
|
# via datasets
|
||||||
# via gdown
|
|
||||||
# via huggingface-hub
|
# via huggingface-hub
|
||||||
# via refiners
|
# via refiners
|
||||||
# via transformers
|
# via transformers
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
def download(id: str, output: str, quiet: bool = False) -> str: ...
|
|
Loading…
Reference in a new issue