Giter VIP home page Giter VIP logo

Comments (8)

HarukiYqM avatar HarukiYqM commented on July 23, 2024

是的,但使用这个codebase,NLSA应该可以正常运行,不会出现这个问题。不知道你是否做了其他修改

from non-local-sparse-attention.

HarukiYqM avatar HarukiYqM commented on July 23, 2024

Also, please ensure torch<1.9.

from non-local-sparse-attention.

cheun726 avatar cheun726 commented on July 23, 2024

老师,您好。我想问一下程序里有计算flops的代码?我想计算整个程序的flops怎么办?谢谢老师

from non-local-sparse-attention.

HarukiYqM avatar HarukiYqM commented on July 23, 2024

不好意思,现在的代码版本暂时并不支持flops计算。但是每一步的复杂度都是确定的,你可以看看github上其他的flops开源库,然后根据code写一个自定义的复杂度函数。例如https://github.com/Lyken17/pytorch-OpCounter

from non-local-sparse-attention.

cheun726 avatar cheun726 commented on July 23, 2024

from non-local-sparse-attention.

cheun726 avatar cheun726 commented on July 23, 2024

HarukiYqM 老师您好,
testX3的model时需要设置--patch_size 为144吗?为什么我分别设置--patch_size为144和96输出的PSNR为一样的?是不是不用设置--patch_size,只需要设置scale即可?

from non-local-sparse-attention.

HarukiYqM avatar HarukiYqM commented on July 23, 2024

是的,测试时patch_size对结果没有影响,只需要在训练时设置。

from non-local-sparse-attention.

cheun726 avatar cheun726 commented on July 23, 2024

from non-local-sparse-attention.

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.