Traceback (most recent call last):


 "/Users/robeden/git/third-party/checkov/checkov/common/checks/base_check.py", line 62, in run

raise e


 "/Users/robeden/git/third-party/checkov/checkov/common/checks/base_check.py", line 42, in run

check_result['result'] = self.scan_entity_conf(entity_configuration, entity_type)


 "/Users/robeden/git/third-party/checkov/checkov/terraform/checks/resource/base_resource_check.py", line 16, in scan_entity_conf

self.handle_dynamic_values(conf)


 "/Users/robeden/git/third-party/checkov/checkov/terraform/checks/resource/base_resource_check.py", line 38, in handle_dynamic_values

for dynamic_element in conf.get("dynamic", []):
AttributeError: 'list' object has no attribute 'get'

Traceback (most recent call last):


 "detect.py", line 161, in <module>

detect()


 "detect.py", line 23, in detect

model = attempt_load(weights, map_location=device)
# load FP32 model


 "C:\Users\zzy\Desktop\darknet-pytorch\yolov5\models\experimental.py", line 133, in attempt_load

model.append(torch.load(w, map_location=map_location)['model'].float().fuse().eval())
# load FP32 model
AttributeError: 'collections.OrderedDict' object has no attribute 'float'