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

Flexible model loading #22

Open
faroit opened this issue Jan 4, 2021 · 0 comments
Open

Flexible model loading #22

faroit opened this issue Jan 4, 2021 · 0 comments
Labels

Comments

@faroit
Copy link
Member

faroit commented Jan 4, 2021

Currently the model parameters set globally when loading the lib. This makes changing the parameters when loading a new model a little bit cumbersome.

Therefore we should allow to load a model and also pass its parameters. The following ones are necessary:

// Fourier Params
const FRAME_LENGTH = config.fourierParams.frameLength
const HOP_LENGTH = config.fourierParams.hopLength
const FFT_SIZE = config.fourierParams.fftSize

// MODEL input dimensions
const N_FREQUENCIES = config.modelInput.N_FREQUENCIES
const N_FRAMES = config.modelInput.N_FRAMES
const N_CHANNELS = config.modelInput.N_CHANNELS
const N_BATCHES = config.modelInput.N_BATCHES
@faroit faroit added the package label Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant