GithubHelp home page GithubHelp logo

Comments (5)

ytongW avatar ytongW commented on August 20, 2024

Did you find out how they set these weights? I am curious too!

from super-slomo.

minhmanho avatar minhmanho commented on August 20, 2024

In my opinion, these weights are set based on your training losses.
A loss represents its target, also has different difficulty to be converged. Therefore, I always ask myself a question about which loss will be useful (improve PSNR) for my final output, and how much the loss is enough? I might have to tune the weights too many times to figure out. Why don't you train the model and see what will happen :))

For example, empirically, in training, I observed that loss_smooth is easier to be converged, more than other losses, we set its weight of 1 might be okay. Meanwhile, prcpLoss is high. If we set the weight of that loss is too high, it would cause worse on final output because your network only concentrates on updating the network's params based on that loss. But if we set it as 0.005, it will improve the quality as well as the perceptual aspect.

It is too confused; therefore, they used the term "empirically" in the paper.
I usually balance the trade-off between losses (all values are approximate), which also makes a balance in backpropagating error as well as updating weights for your target.

from super-slomo.

ytongW avatar ytongW commented on August 20, 2024

Thanks for your kindly reply! Actually I have been training this model since yesterday, the loss decreases gradually, but the ValPSNR is always negative, can you give me a hint? Any suggests will be so helpful!

from super-slomo.

minhmanho avatar minhmanho commented on August 20, 2024

You could check:

  • Is your PSNR calculation correct?
  • (important) Run eval and check the interpolated video directly, is it good and satisfy you? If not, the model must be failed and negative PSNR is reasonable because MSE is extremely huge (more than 256*256). Negative PSNR is ... I think it's hard to appear unless there is a bug.

from super-slomo.

ytongW avatar ytongW commented on August 20, 2024

Thank you very much!!! I will look into that.

from super-slomo.

Related Issues (20)

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.