Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requirements.txt #529

Merged
merged 34 commits into from
Dec 8, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
82eabcd
Update list of requirements
nikita-klsh Oct 15, 2020
616d26d
Sklearn is required for experiments notebooks
nikita-klsh Oct 15, 2020
fd79c19
Specify requirements for models.torch module in docs
nikita-klsh Oct 20, 2020
e40d75c
Add list of packages required to execute import batchflow
nikita-klsh Oct 21, 2020
2342aa1
Add requirments section to installation chapter
nikita-klsh Oct 21, 2020
32b4d36
Avoid sklearn dependency in opensets module. Use numpy instead
nikita-klsh Oct 22, 2020
f8d1a71
Add dependency notes to the module docstrings
nikita-klsh Oct 22, 2020
22ab6ee
Display module dependencies in the documentation
nikita-klsh Oct 22, 2020
0dbbe76
Modify requirements.txt
nikita-klsh Oct 22, 2020
0cdf859
Update docs/index.rst
nikita-klsh Oct 22, 2020
0ae04af
Update batchflow/models/tf/__init__.py
nikita-klsh Oct 22, 2020
5c7906e
Fix conflicts
nikita-klsh Nov 22, 2020
4896798
Make IPython, requsts and psutil optional imports
nikita-klsh Nov 22, 2020
b9eba4e
Pandas now required package. _fake import relative
nikita-klsh Nov 22, 2020
2c4f365
Make numba optional. Use decorators.mjit instead of njit
nikita-klsh Nov 22, 2020
6a6c5a6
Add parallel=True to njit
nikita-klsh Nov 22, 2020
894f02f
Update requirements
nikita-klsh Nov 22, 2020
5ed69ec
Fix docs
nikita-klsh Nov 22, 2020
0702785
Fix pylint
nikita-klsh Nov 23, 2020
1e8e181
Make SciPy optional
nikita-klsh Nov 23, 2020
c09b6c4
Fix pylint
nikita-klsh Nov 23, 2020
08b52a4
Add job that runs basic tests in clean env
nikita-klsh Nov 27, 2020
e561e5b
Make the binding of scipy.ndimage methods to batch_image optional bas…
nikita-klsh Nov 27, 2020
7085b22
Make Tensorflow optional for tests
nikita-klsh Nov 27, 2020
073fd41
Fix typo
nikita-klsh Nov 27, 2020
0d01ea6
Execute on multiple py/os versions
nikita-klsh Nov 27, 2020
fe32cef
Avoid multi line commands
nikita-klsh Nov 27, 2020
de7d1e2
Del @add_actions. Del get_scipy_transforms
nikita-klsh Nov 30, 2020
57c07da
Fix pylint
nikita-klsh Nov 30, 2020
6a7d01e
Make pandas optional for batchflow, mandatory for Research
nikita-klsh Dec 2, 2020
7506b50
rm pandas from requirements.txt
nikita-klsh Dec 2, 2020
d7ba293
Hot fix
nikita-klsh Dec 2, 2020
0836e0f
Move job with requirements to PR workflow
nikita-klsh Dec 2, 2020
d4b4dcc
Fix docs
nikita-klsh Dec 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/api/batchflow.models.torch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
batchflow.models.torch
======================

.. note::

This requires torch

.. toctree::

batchflow.models.torch.models
Expand Down
26 changes: 25 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
numpy>=1.16.4
blosc
dask
dill
feather-format
fsspec
matplotlib
multiprocess
nikita-klsh marked this conversation as resolved.
Show resolved Hide resolved
nbconvert
numba
numpy
nvidia-smi
nikita-klsh marked this conversation as resolved.
Show resolved Hide resolved
pandas
psutil
pytest
nikita-klsh marked this conversation as resolved.
Show resolved Hide resolved
requests
scikit-image
scikit-learn
scipy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it really needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's used in the images_batch.py.
All the functions from scipy.ndimage are bounded to the ImagesBatch methods via @add_methods decorator.

Moreover, skimage.transform.resize method added through the same decorator, which implies additional dependency. The same resize method already explicitly implemented in the class. So I suggest removing one added via decorator(the same for np.pad method)

P.S. I do not succeed in launching any of these methods and did not find examples how to.

seaborn
tensorflow-gpu==1.15.0
toolz
torch
tqdm
IPython
Pillow