Failing tests
See original GitHub issueHi, I have fresh installed speechbrain from 0.5.8 to the last release and I spotted 4 tests that are failing with weird assertions. I’m not 100% sure but I do not think these tests were failing on the older install.
Here is the tests output:
FAILED tests/unittests/test_features.py::test_features_multimic[cuda] - AssertionError: assert tensor(0.0008, device='cuda:0') < 5e-05
FAILED tests/unittests/test_profiling.py::test_profile_class[cuda] - assert 3 == 2
FAILED tests/unittests/test_profiling.py::test_scheduler[cuda] - assert 1 == 0
FAILED tests/unittests/test_profiling.py::test_aggregated_traces[cuda] - assert (4222 == 4209 or 4209 == 2993)
Issue Analytics
- State:
- Created a year ago
- Comments:12
Top Results From Across the Web
What to Do If You've Failed a Test | BestColleges
Failed an Exam? 5 Essential Steps to Take · 1. Don't Panic · 2. Carefully Review Your Exam · 3. Make a Plan...
Read more >Failed a Test or Exam?! Stay Calm and Follow the Failing ...
Disclaimer: With grades coming in from tests and exams, it's the perfect time to revisit this article ... If you failed a test,...
Read more >How to Pass a Course After Failing a Test: 12 Steps - wikiHow
1. Reflect. Reflect about what went wrong during the exam. Ask yourself some questions. What could you have done differently? Did you understand...
Read more >A Failed Test is Not The End of the World. Breathe.
Failing an exam can be scary, but stay calm. Here's what you can and should do after a failed test.
Read more >What To Do When You Fail A Test - Take Your Success
Have you ever walked out of test and thought "That exam sucked"? This post is for you if you failed a test or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
On my side it behaves differently.
>>> print(brain_or_pretrained.profiler.events())
does not gives an empty line, but the following:and
brain_or_pretrained.profiler.profiler
returns:However, when using:
It returns a float:
0.682352602481842
Thenprint(brain_or_pretrained.profiler.events())
gives me:Finally
brain_or_pretrained.profiler.profiler
outputs the following list:Hope it will help.
Closing this issue as the PR fixing this has been merged. Please feel free to re-open.