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

Can not run in batch size 1 #5

Closed
leezonpen opened this issue Jan 17, 2019 · 1 comment
Closed

Can not run in batch size 1 #5

leezonpen opened this issue Jan 17, 2019 · 1 comment

Comments

@leezonpen
Copy link

I try this module in detection task. When i try to make a inference, it throw an error. I found that it can not run forward in one batch size because of the nn.BatchNorm1d . How to deal with it?

@leezonpen
Copy link
Author

I get it .
model.eval() should be used.

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

1 participant