We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hi, When I try to run python feature_extractor_test.py I got the following error:
python feature_extractor_test.py
feature_extractor_test.py:44: ResourceWarning: unclosed file <_io.TextIOWrapper\ name='testdata/sports1m_frame.pkl' mode='r' encoding='UTF-8'> sports_1m_test_data = cPickle.load(open(_FilePath('sports1m_frame.pkl'))) [ FAILED ] FeatureExtractorTest.testPCAOnFeatureVector ====================================================================== ERROR: testPCAOnFeatureVector (__main__.FeatureExtractorTest) testPCAOnFeatureVector (__main__.FeatureExtractorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "feature_extractor_test.py", line 44, in testPCAOnFeatureVector sports_1m_test_data = cPickle.load(open(_FilePath('sports1m_frame.pkl'))) TypeError: a bytes-like object is required, not 'str' ---------------------------------------------------------------------- Ran 1 test in 0.854s
Please is somebody known what is going on?
The text was updated successfully, but these errors were encountered:
I haven't looked into it myself but this looks like a Python 2/3 incompatibility. If you're using Python 2 try 3, and vice-versa.
Sorry, something went wrong.
Hi, @LeegleechN @ucsky Could you please tell me what dataset did you use? I tried to train this code using google audioset, but it seems to be failed.
No branches or pull requests
Hi,
When I try to run
python feature_extractor_test.py
I got the following error:Please is somebody known what is going on?
The text was updated successfully, but these errors were encountered: