actually,I am learning the drawing machine following google's research in this site:
https://github.com/tensorflow/magenta/tree/master/magenta/models/sketch_rnn
I want to create my own datasets,just want to convert the database in this paper to line segments, I want to convert some SVG images to line segments using the svg.path in https://pypi.python.org/pypi/svg.path, this library is given by the team of sketch_rnn. But I am not good at python , I even do not know how to read a svg image. I search some result below:
Convert a SVG image to multiple vector line segments using Python
Turn SVG path into line segments
but I dont know how to use that in this database. Can you tell me how to read the SVG image and change it to svg.path? which read function I can use?