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

Batch inputs in Onsets and Frames to avoid timeouts on longer inputs. #140

Merged
merged 18 commits into from Aug 29, 2018

Conversation

adarob
Copy link
Contributor

@adarob adarob commented Aug 28, 2018

No description provided.

Copy link
Collaborator

@notwaldorf notwaldorf left a comment

Choose a reason for hiding this comment

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

I thiiiiink this is ok? It's super hard to follow what is new code and what got moved

</section>

<section>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I know this is super annoying, but can you add a little blurb about what these demos mean? "You can also do the transcription in batches, etc"

Copy link
Collaborator

Choose a reason for hiding this comment

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

thank youuuuuuuu, your readers will appreciate it one day!

this.velocityModel.dispose();
this.activationModel.dispose();
this.frameModel.dispose();
this.onsetsCnn.dispose();
Copy link
Collaborator

Choose a reason for hiding this comment

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

these names are way better!

});
}

/**
* Returns an acoustic stack without setting variables.
*/
private getAcousticModel(finalActivation: string, hasLstm: boolean) {
const acousticModel = tf.sequential();
private getacousticCnn() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nite: getAcousticCnn

@notwaldorf
Copy link
Collaborator

(also tslint is grumpers)

@adarob adarob merged commit 2224ea5 into magenta:master Aug 29, 2018
@adarob adarob deleted the onsets-frames branch August 29, 2018 17:10
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.

None yet

2 participants