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

Adding compatibility with tensorflow2 #17

Merged
merged 7 commits into from
Apr 30, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Change version of dependendencies
  • Loading branch information
pzinemanas committed Apr 29, 2021
commit 967269bec4cc4d69109227f6e20c232dde6d5747
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -22,11 +22,11 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get install -y wget libsndfile-dev sox
python -m pip install "tensorflow<1.14"
python -m pip install flake8
python -m pip install 'h5py==2.10.0' --force-reinstall
- name: Install library
run: |
python -m pip install .[keras_tf]
python -m pip install .[tests]
- name: Lint with flake8
run: |
@@ -66,9 +66,9 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get install -y wget libsndfile-dev sox
python -m pip install "tensorflow>2.0"
- name: Install library
run: |
python -m pip install .[tf2]
python -m pip install .[tests]
- name: Test with pytest
run: |
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -26,10 +26,14 @@
'librosa>=0.7',
'scikit-learn>=0.20',
'wget>=3.0',
'sox>=1.3',
'sox<1.4',
'sed_eval>=0.2',
],
extras_require={
'keras_tf': ['tensorflow<1.14', 'keras==2.2.4'],
'tf2': ['tensorflow>2.0'],
'openl3': ['openl3==0.3.1'],
'autopool': ['autopool==0.1.0'],
'docs': ['numpydoc', 'sphinx!=1.3.1', 'sphinx_rtd_theme'],
'tests': ['pytest >= 5.4.3', 'pytest-cov >= 2.11.1'],
'visualization': [