-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
In modopt, we present a warning if the gradient and proximity operators dont come from the base classes. However, we do not have very simple basic classes yet given #113 . These warnings below come up in almost every iteration, which makes it very frustating.
Can we suppress it by default (personally I don't feel they add much value). Or can we maybe have user control over it through rc files (long shot though)?
ModOpt/modopt/opt/algorithms/base.py
Lines 220 to 222 in 3bae0ac
| if not any(parent in tree for parent in self._op_parents): | |
| message = '{0} does not inherit an operator parent.' | |
| warn(message.format(str(operator.__class__))) |
Are you planning to submit a Pull Request?
- Yes
- No