Replies: 1 comment 2 replies
-
|
We discussed this and will do it after the 1.0 release. We'll change all print statements and replace some with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
hls4mloften usesprint()over python'swarningsandloggingmodules. For example, inhls4ml/converters/__init__.py:we only use the
kerasconverter in our project and would like to suppress the warning thattorchis not installed. However, this is quite cumbersome as it is aprint('WARNING: ...')statement, not an actual python warning.I can create a PR to transform these makeshift warnings into actual warnings. But I first want to discuss here if there is maybe a good reason not to do that.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions