Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce AudioFeatureTransformer and audio_service #30

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

lucasqml
Copy link
Contributor

This draft pull request introduce the AudioFeatureTransformer interface, while implementing some concrect class of it.

It also introduce de creation of the audio_service, a class to concentrate important operations to the Audios. I choose create the audio_service because i was doing that operations in the AudioCollection/Audio, GeneratedAudioCollection, but it was creating a cycle dependency.

There are some changes removing the dependency on PytorchTensorFactory from various files too.

# Conflicts:
#	src/spira_training/apps/feature_engineering/feature_engineering.py
#	src/spira_training/shared/core/audio_processor.py
#	src/spira_training/shared/core/audio_processor_factory.py
#	src/spira_training/shared/core/services/feature_engineering_service.py
#	tests/core/test_audio_processor_factory.py
#	tests/core/test_feature_engineering_service.py
Copy link
Contributor

@bolgheroni bolgheroni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its not a class right? why not?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i wanted to make it simple and reduce the overhead to manage instance variables and dependencies that making it a class require

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants