mi-prometheus icon indicating copy to clipboard operation
mi-prometheus copied to clipboard

'ThalnetModule' object has not attribute 'logger'

Open sesevgen opened this issue 6 years ago • 1 comments

Describe the bug models/thalnet/thalnet_module.py is the source of the error, on line 131. Trying to log an error to logger causes this.

To Reproduce Steps to reproduce the behavior: Happened as I'm testing changes for #58 - I suspect just feeding in an incorrect sized data as described on the if statement on line 130 should trigger it.

Expected behavior Should properly log to logger.

Desktop (please complete the following information):

  • OS: Ubuntu
  • OS version 18.04
  • Python version 3.5
  • PyTorch version 0.4.1

sesevgen avatar Nov 07 '18 17:11 sesevgen