Coder Social home page Coder Social logo

Comments (4)

ToTheBeginning avatar ToTheBeginning commented on May 30, 2024

Hi, first please check that you test it correctly, you can refer to this similar issue.

If it's not about checkpoint loading problem , please provide more details so we can help you. For example, when you say "much better performance", are you referring to perceptual visual quality or quantitative comparisons? Could you provide some examples? Also, did you use 4 GPUs to train the model, and what about 300k iteration and full datasets?

from animesr.

cogugoat avatar cogugoat commented on May 30, 2024

Hi, first please check that you test it correctly, you can refer to this similar issue.

If it's not about checkpoint loading problem , please provide more details so we can help you. For example, when you say "much better performance", are you referring to perceptual visual quality or quantitative comparisons? Could you provide some examples? Also, did you use 4 GPUs to train the model, and what about 300k iteration and full datasets?

Thanks for the response. After checked the link, I did suffer from the same strict = True issue when load the model, and I guess no meaningful parameters has been loaded. I have two concerns about the generated step1
model. With step1, I got the pth file with size of 12M which is twice of the provided pretrained_animesr_step1_net_model.pth. In addition, I would like to know whether the provided opt files are specific to the AnimeSR_v2. In other words, I followed the exact training steps and no modification on opt yml file, but generated training pth file can not be directly loaded within scripts/inference_animesr_frames.py file. Thanks.

from animesr.

ToTheBeginning avatar ToTheBeginning commented on May 30, 2024

The training pth file maintains two parameter groups (which is supported by BasicSR): one for normal params and one for exponential moving average (ema) params, so it is twice the size of the real parameters. The released checkpoint only has plain parameters, you can load the two models and check the keys to see the difference.

from animesr.

cogugoat avatar cogugoat commented on May 30, 2024

Thank you, I solved the problem by load with ['params']

from animesr.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.