Git Product home page Git Product logo

Comments (1)

zengyh1900 avatar zengyh1900 commented on June 11, 2024 1

hi @cucum13er

  1. 根据你的描述,你所做的任务比较偏向 reference-based sr,https://github.com/open-mmlab/mmagic/tree/main/configs/ttsr TTSR 是 cvpr 2020 的一篇工作,mmagic 已经支持,这里你可以做一个参考
  2. 针对你的问题具体来说,inputs 一般是放模型输入的 tensor,data_samples 是放一些用于计算 loss、计算评价指标的数据,例如 ground truth。这样的话,在推理的时候,不需要计算loss,不需要计算评价指标,就只需要输入 inputs了,data_samples 就不是必须的了。
  3. 我猜你可能是研究的场景,需要进行训练、评测,所以我的建议是,参考 TTSR,模型输入用 inputs,计算 loss 的时候从 model 里拿 groundtruth 来计算。

from mmagic.

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.