Traceback (most recent call last):


 "/Users/volun/Github/DigitRecognise/OwnTest.py", line 176, in <module>

model.save(mp)


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/keras/engine/network.py", line 1090, in save

save_model(self, filepath, overwrite, include_optimizer)


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/keras/engine/saving.py", line 382, in save_model

_serialize_model(model, f, include_optimizer)


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/keras/engine/saving.py", line 132, in _serialize_model

'config': model.optimizer.get_config()


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/keras/optimizers.py", line 517, in get_config

config = {'lr': float(K.get_value(self.lr)),


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 2407, in get_value

return x.eval(session=get_session())
AttributeError: 'float' object has no attribute 'eval'
Traceback (most recent call last):


 "/Users/sanhehu/venvs/python/3.6.2/idm_devops_venv/bin/checkov", line 5, in <module>

run()


 "/Users/sanhehu/venvs/python/3.6.2/idm_devops_venv/lib/python3.6/site-packages/checkov/main.py", line 87, in run

scan_reports = runner_registry.run(external_checks_dir=args.external_checks_dir, files=args.file, guidelines=guidelines)


 "/Users/sanhehu/venvs/python/3.6.2/idm_devops_venv/lib/python3.6/site-packages/checkov/common/runners/runner_registry.py", line 26, in run

runner_filter=self.runner_filter)


 "/Users/sanhehu/venvs/python/3.6.2/idm_devops_venv/lib/python3.6/site-packages/checkov/terraform/runner.py", line 58, in run

self.check_tf_definition(report, root_folder, runner_filter)


 "/Users/sanhehu/venvs/python/3.6.2/idm_devops_venv/lib/python3.6/site-packages/checkov/terraform/runner.py", line 80, in check_tf_definition

definitions_context = parser_registry.enrich_definitions_context(definition)


 "/Users/sanhehu/venvs/python/3.6.2/idm_devops_venv/lib/python3.6/site-packages/checkov/terraform/context_parsers/registry.py", line 21, in enrich_definitions_context

definition_blocks_types = {x: definition_blocks_types[x] for x in definition_blocks_types.keys()}
AttributeError: 'NoneType' object has no attribute 'keys'
