Traceback (most recent call last):


 "/Users/Lan/.pyenv/versions/3.6.4/lib/python3.6/site-packages/allennlp/common/params.py", line 94, in pop

value = self.params.pop(key)
KeyError: 'encoder'


Traceback (most recent call last):


 "getpalette.py", line 108, in <module>

main(args.images)


 "getpalette.py", line 97, in main

pixelfy(image_path)


 "getpalette.py", line 58, in pixelfy

properties = image.detect_properties()


 "/Users/swast/venvs/cloud-vision/lib/python2.7/site-packages/google/cloud/vision/image.py", line 189, in detect_properties

return self._detect_annotation(features)


 "/Users/swast/venvs/cloud-vision/lib/python2.7/site-packages/google/cloud/vision/image.py", line 125, in _detect_annotation

_entity_from_response_type(feature.feature_type, results))


 "/Users/swast/venvs/cloud-vision/lib/python2.7/site-packages/google/cloud/vision/image.py", line 229, in _entity_from_response_type

ImagePropertiesAnnotation.from_api_repr(results[feature_key]))


 "/Users/swast/venvs/cloud-vision/lib/python2.7/site-packages/google/cloud/vision/color.py", line 40, in from_api_repr

response['dominantColors']['colors']]


 "/Users/swast/venvs/cloud-vision/lib/python2.7/site-packages/google/cloud/vision/color.py", line 160, in from_api_repr

color = Color.from_api_repr(response['color'])


 "/Users/swast/venvs/cloud-vision/lib/python2.7/site-packages/google/cloud/vision/color.py", line 90, in from_api_repr

blue = response['blue']

KeyError: 'blue'
