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

minor fixes for 4.1.0a1 #552

Merged
merged 14 commits into from
Nov 16, 2023
Merged

minor fixes for 4.1.0a1 #552

merged 14 commits into from
Nov 16, 2023

Conversation

CarlGao4
Copy link
Contributor

I still have a suggestion: trying all decoders of torchaudio before falling back to ffmpeg (torchaudio 2.1.0 will support ffmpeg backend itself so maybe reading with ffmpeg can be removed?)

image

Changes

print out the exception when calling callback
ensures all threads can be stopped when interrupting separation
add release data for 4.0.1

print out the exception when calling callback

ensures all threads can be stopped when interrupting separation

add release data for 4.0.1
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 23, 2023
demucs/apply.py Outdated Show resolved Hide resolved
Copy link
Contributor

@adefossez adefossez left a comment

Choose a reason for hiding this comment

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

some changes required, not sure about the motivation for the constant wav thing.

demucs/api.py Outdated Show resolved Hide resolved
demucs/api.py Outdated Show resolved Hide resolved
demucs/apply.py Outdated Show resolved Hide resolved
demucs/apply.py Outdated Show resolved Hide resolved
demucs/api.py Outdated Show resolved Hide resolved
demucs/apply.py Outdated Show resolved Hide resolved
docs/api.md Outdated Show resolved Hide resolved
@adefossez adefossez merged commit fcd0600 into facebookresearch:main Nov 16, 2023
3 checks passed
@gillbates
Copy link

it seemed 4.1.0a1 is not released in pip?

@CarlGao4
Copy link
Contributor Author

Beta versions will not be pushed to pip to avoid instability. You can install it using git repo.

adefossez added a commit to adefossez/demucs that referenced this pull request Dec 21, 2023
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* minor fixes for 4.1.0a1 (facebookresearch#552)

* minor fixes for 4.1.0a1

print out the exception when calling callback

ensures all threads can be stopped when interrupting separation

add release data for 4.0.1

* Fix model_idx_in_bag always zero

* fix linter

* Fix can't separate empty audio

* Calls callback when skipping empty audio

* Add description for aborting

* Does not ignore callback exception

* Fix linter

* Does not ignore exception

* Disable torchaudio 2.2+

* Uses epsilon to deal with empty audio

* Reraises exception in callback

* Ensure the pool stops when encountering exception

* Update windows.md for latest instructions

* Minor documentation updates (facebookresearch#565)

* Minor documentation updates

* Update readme

* Update api.md

* Fix segment defined in bag can't override model

* merge from adefossez/demucs

* Update README.md

---------

Co-authored-by: Alexandre Défossez <adefossez@users.noreply.github.com>
Co-authored-by: William Dye <will2dye4@mac.com>
adefossez added a commit to adefossez/demucs that referenced this pull request Jan 12, 2024
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* minor fixes for 4.1.0a1 (facebookresearch#552)

* minor fixes for 4.1.0a1

print out the exception when calling callback

ensures all threads can be stopped when interrupting separation

add release data for 4.0.1

* Fix model_idx_in_bag always zero

* fix linter

* Fix can't separate empty audio

* Calls callback when skipping empty audio

* Add description for aborting

* Does not ignore callback exception

* Fix linter

* Does not ignore exception

* Disable torchaudio 2.2+

* Uses epsilon to deal with empty audio

* Reraises exception in callback

* Ensure the pool stops when encountering exception

* Update windows.md for latest instructions

* Minor documentation updates (facebookresearch#565)

* Minor documentation updates

* Update readme

* Update api.md

* Fix segment defined in bag can't override model

* merge from adefossez/demucs

* Update README.md

* Extend torchaudio support to 2.1.x

* Use correct import statement

* Calculate FFT on CPU also when device is XPU (Intel GPU)

---------

Co-authored-by: Alexandre Défossez <adefossez@users.noreply.github.com>
Co-authored-by: William Dye <will2dye4@mac.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants