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

run the training on wider input images (width=height>>28) #7

Open
kao123 opened this issue Dec 6, 2018 · 3 comments
Open

run the training on wider input images (width=height>>28) #7

kao123 opened this issue Dec 6, 2018 · 3 comments

Comments

@kao123
Copy link

kao123 commented Dec 6, 2018

great project!
i succeeded to run the code on my own images with input size=28.
I was trying to run the code using a different input size (e.g widht=height=300)
As soon as i modify the args.image_height = args.image_width to any other value than 28 (in my data_loader and mnist_train)
i get the following error

File "/home/myaccount/tps_stn_pytorch/tps_grid_gen.py", line 67, in forward
assert source_control_points.size(1) == self.num_points
AssertionError
'''

I tried to modify the tps_grid_gen code.. but nothing's worked.
Any help please

@KakaVlasic
Copy link

hello! I have the same problem, how do you deal with it? I try to realign the code in mnist_train 'def train(epoch)' , the AssertionError disappear but i don't get any output(checkpoint, accuracy log). but the code indeed run on my gpu.
any help would be appreciated!

@ilyalasy
Copy link

ilyalasy commented Feb 3, 2021

Hey, is this problem solved?
@WarBean

@Fleyderer
Copy link

This problem is not solved yet :\

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

4 participants