I'm burnt out, I can't get multithreaded audio feature extractor to work :(
This commit is contained in:
17
FeatureExtraction/test_mtafe.py
Normal file
17
FeatureExtraction/test_mtafe.py
Normal file
@@ -0,0 +1,17 @@
|
||||
#import mtafe
|
||||
import logging
|
||||
#import dataset_files
|
||||
logging.basicConfig(format="%(asctime)s/%(levelname)s: [%(module)s] %(message)s", level=logging.DEBUG)
|
||||
|
||||
logging.info("Running tests")
|
||||
# m = mtafe.mtafe(
|
||||
# audio_paths=dataset_files.random_audio_chunk(2),
|
||||
# max_audio_in_queue=8,
|
||||
# audio_feeder_threads=8,
|
||||
# feature_extractor_threads=1,
|
||||
# desired_sr=32000,
|
||||
# force_mono=False,
|
||||
# chunk_length=15,
|
||||
# chunk_overlap=2
|
||||
# )
|
||||
# m.run()
|
||||
Reference in New Issue
Block a user