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

the pad_batch function is error? #8

Open
quoniammm opened this issue Sep 30, 2017 · 1 comment
Open

the pad_batch function is error? #8

quoniammm opened this issue Sep 30, 2017 · 1 comment

Comments

@quoniammm
Copy link

image

I feel that np.max should be used.However, here is np.mean

@Sandeep42
Copy link
Contributor

Yeah, np.max should be used ideally. I used mean because it is consuming too much of GPU memory. Now, I think you should ideally sort samples with their lengths so that the padding could be minimised. That hasn't been implemented here. You can have a look here.

https://github.com/EdGENetworks/anuvada

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

No branches or pull requests

2 participants