forked from bethgelab/model-vs-human
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
138 lines (126 loc) · 3.07 KB
/
setup.cfg
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[metadata]
name = modelvshuman
version = 0.1
author =
author-email =
home-page = https://github.com/bethgelab/model-vs-human
description = Under development
long-description = file: README.md
long_description_content_type = text/markdown
license = model-vs-human/licenses/
license-file = COPYING
platform = any
keywords =
Machine Learning
Deep Learning
classifiers =
Programming Language :: Python :: 3
License :: model-vs-human/licenses/
Operating System:: Unix
Topic :: Scientific/Engineering :: Artificial Intelligence :: Image Recognition
project_urls =
Bug Tracker = https://github.com/bethgelab/model-vs-human/issues
Changelog = https://github.com/bethgelab/model-vs-human/blob/master/CHANGELOG.md
[options]
zip_safe = False
include_package_data = True
python_requires = >= 3.6
data_files =
packages = find:
test_suite = tests
setup_requires =
setuptools
# setuptools >=30.3.0 # minimal version for `setup.cfg`
# setuptools >=38.3.0 # version with most `setup.cfg` bugfixes
install_requires =
torch>=1.7.1
torchvision>=0.8.2
requests
gdown
scikit-image
click
dataclasses
PySocks
tensorflow_hub
tensorflow>=2.4.0
matplotlib>=3.3.2
pandas>=1.5.3
seaborn
ftfy
regex
tqdm
CLIP @ git+https://github.com/openai/CLIP#egg=CLIP
cornet @ git+https://github.com/dicarlolab/CORnet#egg=cornet
vonenet @ git+https://github.com/KogniJannis/vonenet.git#egg=vonenet
efficientnet #for harmonized models
vit_keras #for harmonized models
keras_cv_attention_models #for harmonized models
pytorch_pretrained_vit
tensorflow-estimator
numexpr>=2.7.3
tests_require =
pytest
dependency_links =
https://download.pytorch.org/whl/torch_stable.html
[options.extras_require]
dev =
docutils
Pygments
test =
green
coverage
ci =
# codacy-coverage
# codecov
[options.package_data]
* =
*.txt
[bdist_wheel]
universal = True
[check]
metadata = True
restructuredtext = True
strict = True
[sdist]
formats = zip, gztar
[coverage:report]
show_missing = True
exclude_lines =
pragma: no cover
if False
# @abc.abstractmethod
# @abc.abstractproperty
# raise NotImplementedError
# return NotImplemented
# except ImportError
# raise MemoryError
# if __name__ == .__main__.:
# if typing.TYPE_CHECKING:
[green]
file-pattern = test_*.py
verbose = 2
no-skip-report = True
quiet-stdout = True
run-coverage = True
[pydocstyle]
match-dir = (?!tests)(?!resources)(?!docs)[^\.].*
match = (?!test)(?!setup)[^\._].*\.py
inherit = False
ignore = D200, D203, D213, D406, D407 # Google conventions
[flake8]
max-line-length = 99
doctests = True
exclude = .git, .eggs, __pycache__, tests/, docs/, build/, dist/
[mypy]
disallow_any_decorated = True
disallow_any_generics = True
disallow_any_unimported = False
disallow_subclassing_any = False
disallow_untyped_calls = True
disallow_untyped_defs = True
ignore_missing_imports = True
warn_unused_ignores = True
warn_return_any = True
[options.entry_points]
console_scripts =
mvhEvaluate=modelvshuman.cli:main