universome / stylegan-v

[CVPR 2022] StyleGAN-V: A Continuous Video Generator with the Price, Image Quality and Perks of StyleGAN2
https://universome.github.io/stylegan-v
348 stars 35 forks source link

Run stylegan-v Conditionally #29

Open esfandiaryfard opened 1 year ago

esfandiaryfard commented 1 year ago

I added a json like this:

{ "labels": [ ["folder1/1.jpg", 0], ["folder1/2.jpg", 0], ["folder1/3.jpg", 0], ["folder2/4.jpg", 1], ["folder2/5.jpg", 1], ["folder2/6.jpg", 1], ["folder3/7.jpg", 2], ["folder3/8.jpg", 2], ["folder3/9.jpg", 2], ] }

containing labels of each frame in the zip folder but still, when I try to run the code conditionally I see some error.

What is the correct method to train it conditionally?