A log.warning call fails in convert_to_hw_layers.py:L953 due to TypeError: not all arguments converted during string formatting. This happened on the MobileNet-v1 on the Multi-FPGA branch after I merged the newest dev today. I suspect that log.warning does not like getting DeprecationWarning as a second argument, but it might also have something to do with our custom logging setup. This also happens on dev. Didnt check if it happens on other warning calls yet.
Edit: It indeed disappears when removing the DeprecationWarning
Edit 2: If *args are passed to log.warning(), they will be used for old %-style string string interpolation. No marker is in the message, hence the error. (https://docs.python.org/3/library/logging.html#logging.Logger.debug).
Edit 3: Likely happened because we exchanged warnings.warn with log.warning. This can be fixed together with some other open issues that were originally part of #190
A
log.warningcall fails inconvert_to_hw_layers.py:L953due toTypeError: not all arguments converted during string formatting. This happened on the MobileNet-v1 on the Multi-FPGA branch after I merged the newest dev today. I suspect that log.warning does not like gettingDeprecationWarningas a second argument, but it might also have something to do with our custom logging setup. This also happens ondev. Didnt check if it happens on other warning calls yet.Edit: It indeed disappears when removing the
DeprecationWarningEdit 2: If
*argsare passed tolog.warning(), they will be used for old %-style string string interpolation. No marker is in the message, hence the error. (https://docs.python.org/3/library/logging.html#logging.Logger.debug).Edit 3: Likely happened because we exchanged
warnings.warnwithlog.warning. This can be fixed together with some other open issues that were originally part of #190