Closed arvindsg closed 4 years ago
I believe changing line 9 in attach_alignment to this fixes the issue
from howl.data.dataset import AudioClipDatasetLoader, AudioDatasetMetadataWriter from howl.data.dataset.base import AudioClipMetadata as AlignedAudioClipMetadata
Thanks for catching this -- yeah, that should work.
Closed with #26
DATASET_PATH=data/fire-negative python -m howl.run.attach_alignment --align-type stub Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/arvind/beatthat/beatthat/howl/howl/run/attach_alignment.py", line 9, in
from howl.data.dataset import AudioClipDatasetLoader, AudioDatasetMetadataWriter, AlignedAudioClipMetadata
ImportError: cannot import name 'AlignedAudioClipMetadata'