jstout211 / enigma_MEG

Other
9 stars 1 forks source link

Suppress megnet warnings about CPU usage #38

Closed jstout211 closed 10 months ago

jstout211 commented 1 year ago

use import warnings warnings.filter( )

jstout211 commented 10 months ago

The messages are delayed until the ICA call -- so they don't show when printing out the help.

These messages are a tensorflow issue and have been reported online. They are warnings, but get flagged as errors. We dont want to supress error outputs, so the best we can do is delay them. Future releases of tensorflow will fix.