-
Notifications
You must be signed in to change notification settings - Fork 138
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
Suppress warnings from coremltools? #536
Comments
@mittagessen, I tried kraken with a modified kraken/lib/layers.py, similar to your commit for kraken/lib/vgsl.py. That did not suppress the two warnings. I was successful using this patch:
|
They should be suppressed but I haven't found a good way to filter them out without filtering out all other errors/warnings from the respective modules. I'm a bit loath to utilise the shotgun approach although considering the warning are scary and confuse users it might just be the way to go. |
In most cases each run of kraken produces two warnings from coremltools. Example:
See also the list of other issues with the same warnings.
Are these warnings desired? Or should they better be suppressed?
It looks like commit cda8752 tried to handle this issue, but coremltools is imported first in kraken/lib/layers.py which does not have similar code.
The text was updated successfully, but these errors were encountered: