I have the same error. How do I solve this? I have tried the proper load and save as suggested by @David_Reiss, but still I see the following errors
AttributeError: ‘collections.OrderedDict’ object has no attribute ‘save’
AttributeError: ‘collections.OrderedDict’ object has no attribute ‘eval’