visual_genome_python_driver
visual_genome_python_driver copied to clipboard
Add files via upload
Added get_all_relationships and get_all_attributes in local.py. Added parse_relationships and parse_attributes in utils.py. Modified Relationship in models.py and added the self.phrase to Class Relationship. Modified Attributes in models.py and transformed the attributes and subjects type from the list to string.
Modified Class Relationship and Class Attribute may cause the bug when trying to invoke other function. I recommend creating new Class Relationships and Attributes to avoid the problem.
Added Class Relationships and Attributes in models.py as the models of get_all_relationships and get_all_attribute.