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

During the Orientation Robustness Benchmark test, an error occurs when applying rotation operations. #116

Open
yxyxnrh opened this issue Sep 13, 2023 · 2 comments

Comments

@yxyxnrh
Copy link

yxyxnrh commented Sep 13, 2023

image
image
However, if no rotation operations are applied, the program runs successfully. How can this issue be resolved?

@baudm
Copy link
Owner

baudm commented Sep 20, 2023

Seems to be a persistent issue with Windows installations. I'll try if I could make a fix this weekend, but this is the offending code if you're interested:

transforms.append(lambda img: img.rotate(rotation, expand=True))

Making it a full-fledged function might help. I haven't tested yet since I don't really use Torch/Python with Windows.

@yxyxnrh
Copy link
Author

yxyxnrh commented Sep 20, 2023

Thanks!

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

2 participants