Skip to content

print ("successfully converted {}-labels from mat to pascal-xml").format(directory) AttributeError: 'NoneType' object has no attribute 'format' #1

@monajalal

Description

@monajalal

Hey when I ran mat_to_xml.py I got this error:

mona@Mona:~/code/handpose/deeptraining_hands$ python mat_to_xml.py 
successfully converted {}-labels from mat to pascal-xml
Traceback (most recent call last):
  File "mat_to_xml.py", line 213, in <module>
    main()
  File "mat_to_xml.py", line 209, in main
    print ("successfully converted {}-labels from mat to pascal-xml").format(directory)
AttributeError: 'NoneType' object has no attribute 'format'

how should this be fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions