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

How to turn off warning log #5695

Open
1 task done
tendar opened this issue Nov 1, 2024 · 1 comment
Open
1 task done

How to turn off warning log #5695

tendar opened this issue Nov 1, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@tendar
Copy link

tendar commented Nov 1, 2024

Describe the question.

Hi,

During training task, DALI throw out too many waring log, as follows:
"operators/image/crop/bbox_crop.cc:784] Could not find a valid cropping window to satisfy the specified requirements (attempted 64 times)."

How to turn off these warning log. Thanks.

Check for duplicates

  • I have searched the open bugs/issues and have found no duplicates for this bug report
@tendar tendar added the question Further information is requested label Nov 1, 2024
@jantonguirao jantonguirao assigned jantonguirao and unassigned banasraf Nov 4, 2024
@jantonguirao
Copy link
Contributor

Hi @tendar. That warning means that the operator try to come up with a random cropping window satisfying the given requirements. Perhaps the given requirements are either impossible or hard to meet with the input bounding bounding boxes you are providing. Can you give more details on your usage of the operator.
We don't have a way to simply turn off warning logs. What we could advise is relaxing the cropping window constraints so they can be met.
If you have a valid use-case, we can also look into adding an option to silence this warning.

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

3 participants