Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stylised images have problems #22

Open
mdokamura-lmd opened this issue Nov 5, 2023 · 2 comments
Open

Stylised images have problems #22

mdokamura-lmd opened this issue Nov 5, 2023 · 2 comments

Comments

@mdokamura-lmd
Copy link

Thank you for your excellent work.

It doesn't work well in my environment, although it seems to work for others.
The attached image was obtained and the other images obtained are similar.
n01440764_18-stylized-66649

Could you please help me if you know the cause of the problem?

The target image is ImageNet (ILSVR2012) and the style image is the specified one (Kaggle's painter-by-numbers dataset).
The torch version (0.4.1) is correct and the model is downloaded from the specified location.
The code works all the way through without error. (The following warning was displayed, but is probably not a problem).

UserWarning: nn.Upsampling is deprecated. Use nn.functional.interpolate instead.
  warnings.warn("nn.Upsampling is deprecated. Use nn.functional.interpolate instead.")
@1695679265
Copy link

Did you solve your problem? I got similar results but I have no idea what to do

@MMathisLab
Copy link
Contributor

MMathisLab commented Jul 21, 2024

This isn't actively maintained to keep up with latest versions of other dependencies (unfortunately), so you'll need to use older packages, that is why you see a deprecation warning.

You might also consider https://github.com/rgeirhos/Stylized-ImageNet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants