Merge pull request #20 from corkborg/use-numpy2

Update dependencies. 2025-02
This commit is contained in:
corkborg
2025-03-25 18:13:48 +09:00
committed by GitHub
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -84,9 +84,9 @@ Requires CUDA 12.2 and cuDNN8.x.
pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
```
https://onnxruntime.ai/docs/install/
https://onnxruntime.ai/docs/install/</br>
https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements
## Copyright
Public domain, except borrowed parts (e.g. `dbimutils.py`)
Public domain, except borrowed parts (e.g. `dbimutils.py`)
+7 -7
View File
@@ -1,7 +1,7 @@
pandas==2.2.2
huggingface-hub==0.22.2
Pillow==10.0.1
deepdanbooru==1.0.2
onnxruntime==1.17.3
numpy==1.26.4
opencv-python==4.9.0.80
pandas==2.2.3
huggingface-hub==0.28.1
Pillow==11.1.0
deepdanbooru==1.0.3
onnxruntime==1.20.1
numpy==2.2.2
opencv-python==4.11.0.86
+1 -1
View File
@@ -68,7 +68,7 @@ def parse_exclude_tags() -> set[str]:
# reverse escape (nai tag to danbooru tag)
reverse_escaped_tags = []
for tag in tags:
tag = tag.replace(' ', '_').replace('\(', '(').replace('\)', ')')
tag = tag.replace(' ', '_').replace(r'\(', '(').replace(r'\)', ')')
reverse_escaped_tags.append(tag)
return set([*tags, *reverse_escaped_tags]) # reduce duplicates