"examples/training/train_unconditional.py" did not exist on "3abf4bc439d73314484938ae45f5c133092200df"
Commit 7bf89340 authored by Will Ayd's avatar Will Ayd
Browse files

Suppressed FutureWarning in create_pet_tf_record

parent 6c2f6462
......@@ -72,7 +72,7 @@ def recursive_parse_xml_to_dict(xml):
Returns:
Python dictionary holding XML contents.
"""
if not xml:
if not len(xml):
return {xml.tag: xml.text}
result = {}
for child in xml:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment