-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Dexterp37/relax-versions
Relax dependencies
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "fontina" | |
description = "Visual font recognition (VFR) library" | ||
authors = [{ name = "Alessio Placitelli", email = "[email protected]" }] | ||
dependencies = [ | ||
"albumentations==1.3.1", | ||
"albumentations>=1.3.1", | ||
"trdg==1.8.0", | ||
# We need to force the pillow version because of the use | ||
# of removed APIs in trdg 1.8.0 (e.g. `ImageFont.getsize`). | ||
|
@@ -13,8 +13,8 @@ dependencies = [ | |
"rstr==3.2.1", | ||
# TODO: On Windows, this must be manual. | ||
# pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu117 | ||
"torch==2.0.1", | ||
"torchvision==0.15.2", | ||
"torch>=2.0.1", | ||
"torchvision>=0.15.2", | ||
] | ||
dynamic = ["version"] | ||
requires-python = ">=3.10" | ||
|