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

Question about image processing #10

Open
DaiHaoguang3151 opened this issue May 7, 2024 · 0 comments
Open

Question about image processing #10

DaiHaoguang3151 opened this issue May 7, 2024 · 0 comments

Comments

@DaiHaoguang3151
Copy link

As you did in your code(function load_bin()), assuming image_size == (112, 112), data_list[flip][idx][:] = torch.from_numpy(img.asnumpy()) indicates that width and height of the origin image must be equal, right? So, how to process an image if its width and height are different in size?

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