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

Support for TensorFlow 2.4.1 #21

Merged
merged 5 commits into from
Oct 11, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [ 3.6, 3.7 ]
python-version: [ 3.8 ]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.7'
python-version: '3.8'
- name: Install dependencies
run: |
sudo apt-get install libsndfile1
Expand Down
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Changes
=======

0.0.8:
- Moved to TensorFlow 2.4.1 and Python 3.8

0.0.7:
- Added DOIs to bibtex entries.
- Added README DOI badge for SMC paper.
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ For programmatic use via the Python API, please see `here <#programmatic-usage>`
Installation
============

In a clean Python 3.6 or 3.7 environment, simply run:
In a clean Python 3.8 environment, simply run:

.. code-block:: console

pip install tempocnn


If you rather want to install from source, clone this repo and run
``setup.py install`` using Python 3.6 or 3.7:
``setup.py install`` using Python 3.8:

.. code-block:: console

Expand Down
8 changes: 3 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
tensorflow==1.15.5
protobuf<3.19.0
scipy>=1.5.3
librosa>=0.6.2
jams>=0.3.1
librosa==0.9.2
matplotlib>=3.0.0
h5py>=2.7.0,<3.0.0
scipy>=1.5.3
setuptools>=59.6.0
tensorflow==2.4.1

5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
packages=find_packages(exclude=['test', 'docs']),
package_data={'tempocnn': package_data},
exclude_package_data={'': ['tests', 'docs']},
python_requires='>=3.6',
python_requires='>=3.8',
install_requires=requirements,
extras_require={
"testing": [
Expand All @@ -85,8 +85,7 @@
]
},
classifiers=['Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Environment :: Console',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Topic :: Multimedia :: Sound/Audio :: Analysis',
Expand Down
2 changes: 1 addition & 1 deletion tempocnn/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def tempogram():
frame_length = (fft_hop_length / sr) * hop_length

fig = plt.figure()
fig.canvas.set_window_title('tempogram: ' + file)
fig.canvas.manager.set_window_title('tempogram: ' + file)
if args.png:
fig.set_size_inches(5, 2)

Expand Down
Loading