Skip to content

Commit

Permalink
Merge branch 'feat/improve-iou-speed' of github.com:Unstructured-IO/u…
Browse files Browse the repository at this point in the history
…nstructured-inference into feat/improve-iou-speed
  • Loading branch information
badGarnet committed Sep 20, 2024
2 parents 2737207 + d1cb52b commit 6ee2cec
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 112 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ check: check-src check-tests check-version
## check-src: runs linters (source only, no tests)
.PHONY: check-src
check-src:
ruff ${PACKAGE_NAME} --line-length 100 --select C4,COM,E,F,I,PLR0402,PT,SIM,UP015,UP018,UP032,UP034 --ignore COM812,PT011,PT012,SIM117
ruff check ${PACKAGE_NAME} --line-length 100 --select C4,COM,E,F,I,PLR0402,PT,SIM,UP015,UP018,UP032,UP034 --ignore COM812,PT011,PT012,SIM117
python -m black --line-length 100 ${PACKAGE_NAME} --check
python -m flake8 ${PACKAGE_NAME}
python -m mypy ${PACKAGE_NAME} --ignore-missing-imports
Expand All @@ -92,7 +92,7 @@ check-version:
## tidy: run black
.PHONY: tidy
tidy:
ruff ${PACKAGE_NAME} --fix --line-length 100 --select C4,COM,E,F,I,PLR0402,PT,SIM,UP015,UP018,UP032,UP034 --ignore COM812,PT011,PT012,SIM117
ruff check ${PACKAGE_NAME} --fix --line-length 100 --select C4,COM,E,F,I,PLR0402,PT,SIM,UP015,UP018,UP032,UP034 --ignore COM812,PT011,PT012,SIM117
black --line-length 100 ${PACKAGE_NAME}
black --line-length 100 test_${PACKAGE_NAME}

Expand Down
64 changes: 32 additions & 32 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,58 +4,58 @@
#
# pip-compile requirements/base.in
#
certifi==2024.6.2
certifi==2024.8.30
# via requests
cffi==1.16.0
cffi==1.17.1
# via cryptography
charset-normalizer==3.3.2
# via
# pdfminer-six
# requests
coloredlogs==15.0.1
# via onnxruntime
contourpy==1.2.1
contourpy==1.3.0
# via matplotlib
cryptography==42.0.8
cryptography==43.0.1
# via pdfminer-six
cycler==0.12.1
# via matplotlib
filelock==3.15.4
filelock==3.16.0
# via
# huggingface-hub
# torch
# transformers
flatbuffers==24.3.25
# via onnxruntime
fonttools==4.53.0
fonttools==4.53.1
# via matplotlib
fsspec==2024.6.0
fsspec==2024.9.0
# via
# huggingface-hub
# torch
huggingface-hub==0.23.4
huggingface-hub==0.24.7
# via
# -r requirements/base.in
# timm
# tokenizers
# transformers
humanfriendly==10.0
# via coloredlogs
idna==3.7
idna==3.8
# via requests
importlib-resources==6.4.0
importlib-resources==6.4.5
# via matplotlib
iopath==0.1.10
# via layoutparser
jinja2==3.1.4
# via torch
kiwisolver==1.4.5
kiwisolver==1.4.7
# via matplotlib
layoutparser==0.3.4
# via -r requirements/base.in
markupsafe==2.1.5
# via jinja2
matplotlib==3.9.0
matplotlib==3.9.2
# via -r requirements/base.in
mpmath==1.3.0
# via sympy
Expand All @@ -74,9 +74,9 @@ numpy==1.26.4
# scipy
# torchvision
# transformers
onnx==1.16.1
onnx==1.16.2
# via -r requirements/base.in
onnxruntime==1.18.0
onnxruntime==1.19.2
# via -r requirements/base.in
opencv-python==4.10.0.84
# via
Expand All @@ -94,24 +94,24 @@ pdf2image==1.17.0
# via layoutparser
pdfminer-six==20231228
# via pdfplumber
pdfplumber==0.11.1
pdfplumber==0.11.4
# via layoutparser
pillow==10.3.0
pillow==10.4.0
# via
# layoutparser
# matplotlib
# pdf2image
# pdfplumber
# torchvision
portalocker==2.10.0
portalocker==2.10.1
# via iopath
protobuf==5.27.1
protobuf==5.28.1
# via
# onnx
# onnxruntime
pycparser==2.22
# via cffi
pyparsing==3.1.2
pyparsing==3.1.4
# via matplotlib
pypdfium2==4.30.0
# via pdfplumber
Expand All @@ -121,51 +121,51 @@ python-dateutil==2.9.0.post0
# pandas
python-multipart==0.0.9
# via -r requirements/base.in
pytz==2024.1
pytz==2024.2
# via pandas
pyyaml==6.0.1
pyyaml==6.0.2
# via
# huggingface-hub
# layoutparser
# timm
# transformers
rapidfuzz==3.9.3
rapidfuzz==3.9.7
# via -r requirements/base.in
regex==2024.5.15
regex==2024.9.11
# via transformers
requests==2.32.3
# via
# huggingface-hub
# transformers
safetensors==0.4.3
safetensors==0.4.5
# via
# timm
# transformers
scipy==1.13.1
# via layoutparser
six==1.16.0
# via python-dateutil
sympy==1.12.1
sympy==1.13.2
# via
# onnxruntime
# torch
timm==1.0.7
timm==1.0.9
# via -r requirements/base.in
tokenizers==0.19.1
# via transformers
torch==2.3.1
torch==2.4.1
# via
# -r requirements/base.in
# timm
# torchvision
torchvision==0.18.1
torchvision==0.19.1
# via timm
tqdm==4.66.4
tqdm==4.66.5
# via
# huggingface-hub
# iopath
# transformers
transformers==4.41.2
transformers==4.44.2
# via -r requirements/base.in
typing-extensions==4.12.2
# via
Expand All @@ -174,7 +174,7 @@ typing-extensions==4.12.2
# torch
tzdata==2024.1
# via pandas
urllib3==2.2.2
urllib3==2.2.3
# via requests
zipp==3.19.2
zipp==3.20.2
# via importlib-resources
Loading

0 comments on commit 6ee2cec

Please sign in to comment.