It seems you are using TensorFlow, so you might want to post the question in their discussion board or StackOverflow. 
Based on the error message it seems that dicts are not supported as inputs to the conversion method.