AliaksandrSiarohin / monkey-net

Animating Arbitrary Objects via Deep Motion Transfer
467 stars 81 forks source link

What do the images in the Shape folder mean? #12

Open ersinsiginc opened 5 years ago

ersinsiginc commented 5 years ago

How do I create images in the shape folder when training with my own data? What do the images in the Shape folder mean?

AliaksandrSiarohin commented 5 years ago

You mean the format? The format is stacked png. Meaning that framea of the video is stacked vertically. If you data is already mp4 of proper size, you don't need this. Hoewer if you are resizing you data you may want a losses format. You can save it like:

image=np.concatenate(frames, axis=1)
imsave('1.png', image)