audeering / audtorch

Utils and data sets for audio and PyTorch
https://audeering.github.io/audtorch/
Other
83 stars 9 forks source link

TST: reduce RAM usage of test_samplers #42

Closed hagenw closed 5 years ago

hagenw commented 5 years ago

Summary

In #33 one test on travis failed due to shortage of RAM. This fixes it by reducing the amount of RAM needed by around 3GB.

Proposed Changes

Factor 10 smaller max_length and max_feature in test/test_sampler.py

Discussion

  1. @shuber: does the test still makes sense with the smaller numbers?
phtephanx commented 5 years ago

Yes, still ok. At some point the test should be refactored.