Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

AttributeError: module 'augment' has no attribute 'effects' #24

Open
LYPinASR opened this issue Feb 25, 2023 · 0 comments
Open

AttributeError: module 'augment' has no attribute 'effects' #24

LYPinASR opened this issue Feb 25, 2023 · 0 comments

Comments

@LYPinASR
Copy link

augment/effects.py::augment.effects.EffectChain PASSED [ 7%]
augment/effects.py::augment.effects.EffectChain.additive_noise PASSED [ 14%]
augment/effects.py::augment.effects.EffectChain.clip PASSED [ 21%]
augment/effects.py::augment.effects.EffectChain.time_dropout PASSED [ 28%]
augment/effects.py::augment.effects.SoxEffect.instantiate PASSED [ 35%]
tests/augment_test.py::test_empty_chain PASSED [ 42%]
tests/augment_test.py::test_non_empty_chain PASSED [ 50%]
tests/augment_test.py::test_agains_cl PASSED [ 57%]
tests/augment_test.py::test_stochastic_pitch PASSED [ 64%]
tests/augment_test.py::test_additive_noise PASSED [ 71%]
tests/augment_test.py::test_number_effects PASSED [ 78%]
tests/compare_to_sox_test.py::test_pitch PASSED [ 85%]
tests/compare_to_sox_test.py::test_reverb PASSED [ 92%]
tests/compare_to_sox_test.py::test_bandreject PASSED [100%]

=================================================== 14 passed in 1.71s ====================================================
(torch) root@autodl-container-a1d611953c-bbb3ae7a:/autodl-tmp/WavAugment# cd ../
(torch) root@autodl-container-a1d611953c-bbb3ae7a:
/autodl-tmp# python disentanglement/DSVAE/preprocess.py
data processing!
Traceback (most recent call last):
File "disentanglement/DSVAE/preprocess.py", line 27, in
speech_pitch = augment.EffectChain().pitch(-200).rate(sr).apply(speech, src_info={'rate': sr})
AttributeError: module 'augment' has no attribute 'EffectChain'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant