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

Remove scipy from dependency as this should be installed via TensorFlow. #102

Merged
merged 3 commits into from
Oct 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ There are two ways to install imagededup:
pip install imagededup
```

> ⚠️ **Note**: imagededup comes with TensorFlow CPU-only support by default. If you have GPUs, you should rather
> install the TensorFlow version with GPU support especially when you use CNN to find duplicates. It's way faster. See the
> [TensorFlow guide](https://www.tensorflow.org/install/gpu) for more details on how to install it.
> ⚠️ **Note**: The TensorFlow >=2.1 and TensorFlow 1.15 release now include GPU support by default.
> Before that CPU and GPU packages are separate. If you have GPUs, you should rather
> install the TensorFlow version with GPU support especially when you use CNN to find duplicates.
> It's way faster. See the [TensorFlow guide](https://www.tensorflow.org/install/gpu) for more
> details on how to install it for older versions of TensorFlow.

* Install imagededup from the GitHub source:

Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
numpy<1.17
Pillow<7.0.0
PyWavelets~=1.0.3
scipy
tensorflow>1.0
tqdm
scikit-learn
matplotlib
tensorflow>1.0
# Development dependencies
cython>=0.29
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,10 @@
'numpy<1.17',
'Pillow<7.0.0',
'PyWavelets~=1.0.3',
'scipy',
'tensorflow>1.0',
'tqdm',
'scikit-learn',
'matplotlib',
'tensorflow>1.0'
],
extras_require={
'tests': ['pytest', 'pytest-cov', 'pytest-mock', 'codecov'],
Expand Down