weepiess / StyleFlow-Content-Fixed-I2I

81 stars 15 forks source link

How to download pre-trained model? #15

Open egnkvn opened 10 months ago

egnkvn commented 10 months ago

After I download your model, I can't unzip it.

I use command below: tar xvf wikiart_tv_0.6.ckpt.pth.tar

The error:

截圖 2023-12-08 下午12 45 28
SWALS-MT commented 5 months ago

I had the same issue, but I succeeded like this:

ckpt = torch.load("wikiart_tv_0.6.ckpt.pth.tar")
model = ckpt["state_dict"]

Good luck !