Git Product home page Git Product logo

gatenet-rgb-saliency's Introduction

gatenet-rgb-saliency's People

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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gatenet-rgb-saliency's Issues

saliency maps

Hello, in the RGB SOD you provided, saliency maps of gateNet_resnext101 is incomplete, could you send the complete maps to me? Thank you.

Visualize Precision-Recall Curve

First of all, thank you for the wonderful code shared.

I am glad that I could execute it well with all modules implemented. All the evaluation metric values also have been obtained correctly. As found in your paper, I would like to plot the PR curve. Can you kindly share an advise on plotting the PR curve?

Thank you in advance.

generate_sal problem

hello!
I want to know what's the meaning of the ckpt_path and exp_name in the generate_sal.py. how to define it?

image

python generate_sal.py

Hello, I created the same environment as you, but I still can't succeed when running the build salmap, he prompts me that I need to enter two parameters. Can you help me?

File "generate_sal.py", line 83, in
main()
File "generate_sal.py", line 41, in main
net = GateNet().cuda()
TypeError: init() missing 2 required positional arguments: 'block1' and 'layers'

generate_sal.py

When I'm done training on my own dataset,there was a problem while testing。Can you tell me why?

net = GateNet().cuda()
TypeError: init() missing 2 required positional arguments: 'block1' and 'layers'

Problem in your generate_visfeamaps.py

Thanks for your sharing.

When I test the model, I have a problem in the second step, which is "run the generate_visfeamaps.py". The code that is "net = RGB_sal().cuda()", what is the "RGB_sal"? If it is your "GateNet", however, there should be 4 outputs while your GateNet only have one output. Could you please tell you how to deal with it?

Inaccessible BaiduYunPan url

Hi, thanks for sharing your implementations and results.
But I find the url for RGB-D SOD results is inaccessible now.
Would you mind share it again?

When resuming last_iter is 0, why ?

hello,

i trained the model at first at 50k iterations.

[iter 49997], [total loss 0.03742],[loss1 0.01920],[loss1 0.01822],[lr 0.0000002054854] 
[iter 49998], [total loss 0.03780],[loss1 0.01941],[loss1 0.01839],[lr 0.0000001586120] 
[iter 49999], [total loss 0.03794],[loss1 0.01949],[loss1 0.01845],[lr 0.0000001101169] 
[iter 50000], [total loss 0.03843],[loss1 0.01973],[loss1 0.01870],[lr 0.0000000590102] 

i have resumed training it to reach 100k iterations but in the logs it starts at 0 iterations.

{'iter_num': 100000, 'train_batch_size': 4, 'last_iter': 0, 'lr': 0.001, 'lr_decay': 0.9, 'weight_decay': 0.0005, 'momentum': 0.9, 'snapshot': '50000'}

[iter 1], [total loss 0.04253],[loss1 0.02118],[loss1 0.02136],[lr 0.0010000000000] 

isnt it supposed to start at 50k going up ? or i can just reduce my iter_num to be 50k again ?

what do you advice ?

There is a mistake in repoducing generate_ visfeamaps.py.

Thanks for the valuable contribution!
I'm reproducing generate_ visfeamaps.py, there is a mistake. I don't know how to correct it. Could you help me to answer it?
The error is as follows:
output1,output2,output3,output4 = net(img_var)
ValueError : not enough values to unpack (expected 4, got 1)

I have seen the GateNet network structure, and there is only one output, I modify the code as follows
output = net(img_var)
And I got only one graph, like a heat map, not salient map.

I retrain the model, however the prediction map is meaningless map. What mighe be the error?

A part of the training log:

[iter 99500], [total loss 0.04293],[loss1 0.02237],[loss1 0.02055],[lr 0.0000085085186]
[iter 99600], [total loss 0.04290],[loss1 0.02238],[loss1 0.02052],[lr 0.0000069635378]
[iter 99700], [total loss 0.04236],[loss1 0.02209],[loss1 0.02027],[lr 0.0000053791028]
[iter 99800], [total loss 0.04294],[loss1 0.02237],[loss1 0.02057],[lr 0.0000037400418]
[iter 99900], [total loss 0.04292],[loss1 0.02237],[loss1 0.02055],[lr 0.0000020132107]
[iter 100000], [total loss 0.04314],[loss1 0.02248],[loss1 0.02066],[lr 0.0000000316228]

Weird Maps Generated

hello,

i trained a model at 50k iterations , now am testing and the maps generated are very weird.
8

训练效果有偏差

我在数据集DUTS上进行10000次迭代的情况下,分别进行了无Fold-ASPP模块和有Fold-ASPP模块的训练;
进行无Fold-ASPP的修改为将self.dem1修改为如下代码
self.dem1 = nn.Sequential(nn.Conv2d(2048, 512, kernel_size=3, padding=1), nn.BatchNorm2d(512), nn.PReLU())
同时将self.layer4的stride调整为2
self.layer4 = self._make_layer(block1, 512, layers[3], stride=2)

我的预期效果是有Fold-ASPP的训练好于无Fold-ASPP的训练效果,但结果恰好相反,请问可能的原因是什么?(训练得到的测试结果如下)
迭代10000次,无fold-ASPP

DUTS-TE MAE: 0.0511 maxF: 0.8533 avgF: 0.7539 wfm: 0.7512 Sm: 0.8570 Em: 0.8677

迭代10000次,有Fold-ASPP

DUTS-TE MAE: 0.0526 maxF: 0.8468 avgF: 0.7622 wfm: 0.7505 Sm: 0.8523 Em: 0.8735

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.