Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SegFix paper link #11

Closed
davidblom603 opened this issue Apr 23, 2020 · 8 comments
Closed

SegFix paper link #11

davidblom603 opened this issue Apr 23, 2020 · 8 comments

Comments

@davidblom603
Copy link

Hi!

Thanks for your nice work. It is really impressive. I'm interested in the SegFix algorithm.
Could you send a copy of the paper "SegFix: Model-Agnostic Boundary Refinement for Segmentation", since I cannot find it on arXiv.

Best,
David

@PkuRainBow
Copy link
Contributor

PkuRainBow commented Apr 24, 2020

Thanks for your interest in our work and we plan to release the paper to arXiv in the future months (as it is under submission currently).

We would like to recommend you to use the SegFix offset files to improve your results on Cityscapes semantic/instance segmentation tasks.

@swjtulinxi
Copy link

image
你好,请问你论文的这些参数是用的的代码中,下面的代码做出来的吗,因为你每一个模块下,比如ocr、isa、oc等代码最后面都有下面这些代码,请问使用它来比较参数和内存和时间的吗
def count_parameters(model):
return sum(p.numel() for p in model.parameters() if p.requires_grad)

avg_time = 0
avg_mem  = 0
import time
with torch.no_grad():
    for i in range(100):
        start_time = time.time()
        outputs = conv_3x3(feats)
        outputs = baseoc_infer(outputs)
        torch.cuda.synchronize()
        avg_time += (time.time() - start_time)
        avg_mem  += (torch.cuda.max_memory_allocated()-feats.element_size() * feats.nelement())

print("Average Parameters : {}".format(count_parameters(baseoc_infer)+count_parameters(conv_3x3)))
print("Average Running Time: {}".format(avg_time/100))
print("Average GPU Memory: {}".format(avg_mem/100))

@swjtulinxi
Copy link

image
请问你可视化这些过程中的张量是用的下面文件夹中的代码吗
image

@swjtulinxi
Copy link

大佬,我不是质疑你的工作哈,我是感觉ocr和acfnet有一点点相似

@PkuRainBow
Copy link
Contributor

@swjtulinxi ocr是2019年初的工作,最多是同时期工作。

@swjtulinxi
Copy link

好的,其实我有一个疑惑就是他为什么就能超过ocnet,如果前端一样哈,

@PkuRainBow
Copy link
Contributor

他用ASPP做baseline了~

@swjtulinxi
Copy link

我是说ocrnet,在这里面其实已经没有用到non-local注意力的思想了,但反而精度还要高于ocnet,在acfnet中用了aspp做baseline才超过ocnet的,大佬你这里面是在前端直接加入ocr模块,就可以超过ocnet了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants