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

Non-square Images? #289

Open
researchhappy opened this issue Aug 8, 2023 · 1 comment
Open

Non-square Images? #289

researchhappy opened this issue Aug 8, 2023 · 1 comment

Comments

@researchhappy
Copy link

Simple Question: Is there a way to input non-square and non-rectangular images? For example, if I am training the model on an apple, I want to only crop out the apple (no padding, no nothing) and train the model on only that particular part of the generation.

@PrashantDixit0
Copy link

@researchhappy Yes you can input rectangular inputs but you have specify width and height parameter while preparing dataset using dataset_tool.py.

There is another way while using dataset_tool.py for data preperation set --cropsize parameter

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