This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
After running 'nosetests -d', got 'TypeError: 'AudioMetaData' object is not subscriptable' in four tests #21
Comments
Not yet, I’m trying some other CPC implementations, or a toolbox based on this one called s3prl.
On 23 Sep 2021, at 07:44, zhangzh16 ***@***.******@***.***>> wrote:
Hi,
After installing the model in colab, I tried to run installation test as instructed. Then got the error message as shown in the attachment.
There were four tests reporting similar error, they were:
ERROR: testDataLoader (cpc.unit_tests.TestDataLoader)
ERROR: testLoadData (cpc.unit_tests.TestDataLoader)
ERROR: testPartialLoader (cpc.unit_tests.TestDataLoader)
ERROR: testSeqLabels (cpc.unit_tests.TestPhonemParser)
The TypeError were all 'TypeError: 'AudioMetaData' object is not subscriptable'.
Does anyone happen to know the reasons for this?
Thank you very much.
[error message]<https://user-images.githubusercontent.com/31854140/133694517-9216b172-8da3-48a1-9415-f45d08c422fc.png>
I have the same problem with you. Have you found how to solve it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#21 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHTA4PCDXWL5SGRJNDHVVV3UDLEE7ANCNFSM5EFX7DEA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hey, Torchaudio recently changed the output of torchaudio.info. An easy fix would be to change the extractLength in dataset.py with : '
` |
seungwonpark
added a commit
to seungwonpark/CPC_audio
that referenced
this issue
Nov 18, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
After installing the model in colab, I tried to run installation test as instructed. Then got the error message as shown in the attachment.
There were four tests reporting similar error, they were:
ERROR: testDataLoader (cpc.unit_tests.TestDataLoader)
ERROR: testLoadData (cpc.unit_tests.TestDataLoader)
ERROR: testPartialLoader (cpc.unit_tests.TestDataLoader)
ERROR: testSeqLabels (cpc.unit_tests.TestPhonemParser)
The TypeError were all 'TypeError: 'AudioMetaData' object is not subscriptable'.
Does anyone happen to know the reasons for this?
Thank you very much.
The text was updated successfully, but these errors were encountered: