Attribute error: 'tuple' object has no attribute 'get'

Hi, I am getting: Attribute error: ‘tuple’ object has no attribute ‘get’ issue in visualization.py Please tell me how to fix it.