forked from Bhashini-IITJ/IndicPhotoOCR
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
82 lines (80 loc) · 2.43 KB
/
setup.py
File metadata and controls
82 lines (80 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
from setuptools import setup, find_packages
setup(
name="IndicPhotoOCR",
version="1.3.1",
description="Scene Text Recognition Toolkit across 13 Indian Languages which contains detection, script identification, and text recognition modules",
long_description=open("README.md", encoding="utf-8").read() + "\n\n" + open("CHANGELOG.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
author="Anik De",
author_email="anekde@gmail.com",
url="https://github.com/Bhashini-IITJ/IndicPhotoOCR",
packages=find_packages(),
python_requires='>=3.9',
install_requires=[
# Your mandatory dependencies here
'aiohappyeyeballs>=2.5.0',
'aiohttp>=3.12.14',
'aiosignal>=1.4.0',
'async-timeout==4.0.3',
'attrs==24.2.0',
'certifi==2024.8.30',
'charset-normalizer==3.4.0',
'click==8.1.7',
'datasets==3.1.0',
'filelock==3.16.1',
'frozenlist==1.5.0',
'fsspec==2024.9.0',
'huggingface-hub==0.26.1',
'idna==3.10',
'jinja2>=3.1.6',
'joblib==1.4.2',
'lightning-utilities==0.11.8',
'markupsafe==3.0.2',
'mpmath==1.3.0',
'multidict==6.1.0',
'networkx==3.2.1',
'nltk==3.9.1',
'numpy==1.26.4',
'packaging==24.1',
'pillow==11.0.0',
'propcache==0.2.0',
'pytorch-lightning==2.4.0',
'pyyaml==6.0.2',
'regex==2024.9.11',
'requests>=2.32.4',
'safetensors==0.4.5',
'sympy==1.13.1',
'timm==1.0.11',
'torchmetrics==1.5.1',
'transformers>=4.5.3',
'tqdm==4.66.5',
'typing-extensions==4.12.2',
'urllib3>=2.5.0',
'yarl<2.0',
'opencv-python==4.10.0.84',
'shapely==2.0.6',
'openai-clip==1.0.1',
'lmdb==1.5.1',
'easydict==1.13',
'scipy==1.13.1',
'six==1.16.0',
'matplotlib==3.9.0'
],
extras_require={
'cu118': [
'torch==2.5.0+cu118',
'torchvision==0.20.0+cu118',
# Any additional packages specific to cu118
],
'cu121': [
'torch==2.5.0+cu121',
'torchvision==0.20.0+cu121',
# Any additional packages specific to cu121
],
'cpu': [
'torch==2.5.0',
'torchvision==0.20.0',
# Any additional packages specific to CPU
],
},
)