-
Notifications
You must be signed in to change notification settings - Fork 204
/
setup.py
103 lines (98 loc) · 3.16 KB
/
setup.py
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
"""Uncertainty Baselines.
See more details in the
[`README.md`](https://github.com/google/uncertainty-baselines).
"""
import os
import sys
from setuptools import find_packages
from setuptools import setup
# To enable importing version.py directly, we add its path to sys.path.
version_path = os.path.join(os.path.dirname(__file__), 'uncertainty_baselines')
sys.path.append(version_path)
from version import __version__ # pylint: disable=g-import-not-at-top
setup(
name='uncertainty_baselines',
version=__version__,
description='Uncertainty Baselines',
author='Uncertainty Baselines Team',
author_email='[email protected]',
url='http://github.com/google/uncertainty-baselines',
license='Apache 2.0',
packages=find_packages(),
install_requires=[
'absl-py>=0.8.1',
'astunparse',
'chardet',
'flatbuffers',
'google-cloud-storage', # Required for the GCS launcher.
'idna',
'ml_collections',
'numpy>=1.7',
'opt_einsum',
('robustness_metrics @ '
'git+https://github.com/google-research/robustness_metrics.git'
'#egg=robustness_metrics'),
# Required because RM does not do lazy loading and RM requires TFP.
'tensorflow_probability',
'tfds-nightly==4.4.0.dev202111160106',
'urllib3',
'zipp',
'dm-haiku'
],
extras_require={
'experimental': [],
'models': [
'edward2 @ git+https://github.com/google/edward2.git#egg=edward2',
'pandas',
'scipy',
],
'datasets': [
'librosa', # Needed for speech_commands dataset
'scipy', # Needed for speech_commands dataset
'tensorflow_federated', # Needed for CIFAR subpopulation dataset
# TODO(dusenberrymw): Add these without causing a dependency
# resolution issue.
# 'seqio', # Needed for smcalflow and multiwoz datasets
# 't5', # Needed for smcalflow and multiwoz datasets
],
'jax': [
'clu',
'flax',
'jax',
'jaxlib',
],
'tensorflow': [
'tensorboard',
'tensorflow>=2.6',
'tensorflow_addons', # Required for optimizers.py.
'tf-models-official', # Needed for BERT.
],
'tf-nightly': [
'tb-nightly',
'tf-nightly',
'tfa-nightly',
'tfp-nightly',
'tf-models-nightly', # Needed for BERT, depends on tf-nightly.
],
'tests': ['pylint>=1.9.0'],
'torch': [
'torch',
'torchvision',
],
'retinopathy': [
'wandb',
'dm-haiku',
'torch',
'seaborn',
'tfds-nightly',
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
keywords='probabilistic programming tensorflow machine learning',
)