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

Will this work out of the box with [16] shaped input? #13

Open
ghost opened this issue Apr 29, 2020 · 4 comments
Open

Will this work out of the box with [16] shaped input? #13

ghost opened this issue Apr 29, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Apr 29, 2020

Hi, I don't want to classify images, just 16-element tensors per datum. Will this work out of the box with that? If not, where should I look to change?

@kimhc6028
Copy link
Owner

sorry, I don't understand your purpose. What is "16-element tensors per datum"?

@ghost
Copy link
Author

ghost commented Apr 30, 2020

I mean, what is the expected shape of the input data?

@kimhc6028
Copy link
Owner

This repo uses pytorch default mnist data loader, and reshape data into (batch_size, -1).
i.e.,

data = data.view(batch_size,-1)

Therefore, I guess you can try your custom data loader that outputs data shape of (batch_size, 16). Of course there can be some error while implementing it (this is 2 years old repository and I forgot most of the details), but there shouldn't be big problem

@ghost
Copy link
Author

ghost commented Apr 30, 2020

Thanks Kim, appreciate it.

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