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

Does ROI crop availible on GPU? #5627

Open
1 task done
TsingWei opened this issue Sep 9, 2024 · 2 comments
Open
1 task done

Does ROI crop availible on GPU? #5627

TsingWei opened this issue Sep 9, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@TsingWei
Copy link

TsingWei commented Sep 9, 2024

Describe the question.

I'm working on a project that requires applying different Region of Interest (ROI) cropping to each image within a batch. However, after reviewing the issues and documentation ( #5366, resize_crop_mirror resize crop ), I've found that the current cropping functions only support applying the same cropping parameters to all images within a batch. Additionally, some functions that offer random cropping are documented as they only operate on the CPU.

Is it possible to implement the operation I need on the GPU?

Check for duplicates

  • I have searched the open bugs/issues and have found no duplicates for this bug report
@TsingWei TsingWei added the question Further information is requested label Sep 9, 2024
@JanuszL
Copy link
Contributor

JanuszL commented Sep 9, 2024

Hi @TsingWei,

Thank you for reaching out. I'm not sure how you want to generate the cropping window but with DALI you have several options:

1 similar comment
@JanuszL
Copy link
Contributor

JanuszL commented Sep 9, 2024

Hi @TsingWei,

Thank you for reaching out. I'm not sure how you want to generate the cropping window but with DALI you have several options:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants