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

Modifying dbal_pytorch.py to work with different-sized images? #125 #3

Open
michelewang opened this issue Feb 25, 2021 · 0 comments
Open

Comments

@michelewang
Copy link

Hi, I'm hoping to modify the code in dbal_pytorch.py to work with images that are bigger than those in MNIST (i.e. bigger than 28x28). However, I keep running into errors because the tensors produced from my larger images do not match the dimensions of the CNN provided as an example. Do you know how to adjust that neural network's parameters to accommodate different image sizes (e.g. 1024x1024 or 512x512)?

For context, this is the current CNN being used:
image

Thank you so much!! This is an incredible library you're using and implementation of the seminal Gal paper, and I hope to use your work in my undergrad senior thesis! I am just having trouble getting your code to work with my data.

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