TypeError: '>' not supported between instances of 'float' and 'list' code example
Example: TypeError: '>' not supported between instances of 'NoneType' and 'float' site:stackoverflow.com
if logs.get('acc') is not None and logs.get('acc') > 0.95:
if logs.get('acc') is not None and logs.get('acc') > 0.95: