GithubHelp home page GithubHelp logo

acfnet's People

Contributors

zrl4836 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

acfnet's Issues

loss函数的一个bug

Line 59&60 in loss/criterion.py
pred = preds[0] + preds[1]
loss4 = lovasz_softmax(F.softmax(pred, dim=1), target, ignore=self.ignore_index)

这里的 pred 没有做upsample, 然后直接给了lovasz_softmax, 而 target 是原图的size大小,这样会造成 pred 与 target 的size 不匹配。

What is the final performance?

Hi,
Thanks for your contribution! I wanna know what's the final mIoU of your training code? Is it the same as the paper?
Meanwhile, I notice that the learning rate you set is 1e-2 while it is 1e-3 in the original paper. Have you tried 1e-3?
Thank you again! All the best!

about Gpu

hi,good work! I only have two 2080ti cards. Is it enough to run the code ?

精度

你好,请问你是用几张gpu跑出的效果啊,

normalize

# multiply & normalize ->(B, N, C')
energy = torch.bmm(proj_query, proj_key)
energy_new = torch.max(energy, -1, keepdim=True)[0].expand_as(energy) - energy

I think the normalization implemented in acfnet.py is different from the equation (2) in the original paper.
And I wonder why you implement this way.

loss nan

when i use acf module in unet, the train loss will be nan
image
image

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.