Giter Site home page Giter Site logo

Comments (13)

YonghengSun1997 avatar YonghengSun1997 commented on July 21, 2024

This is the visual results file of the features, which is not necessary for the reproduce.

from msca-net.

ZMTangYan avatar ZMTangYan commented on July 21, 2024

Thank you very much for your reply! But the code seems to lack the output of visual results, could the author provide the relevant code?

from msca-net.

YonghengSun1997 avatar YonghengSun1997 commented on July 21, 2024

I updated main_train.py and msca_net.py, adding the visual code.

from msca-net.

KarmaQI avatar KarmaQI commented on July 21, 2024

Hello author, I run the main _ train.py file will report error ' File ' D : \ Python _ coding \ coding \ MSCA-Net-main \ main _ train.py ', line 199, in test _ isic
output, cacs _ map = model ( image )
ValueError : not enough values to unpack ( expected 2, got 1 ) ', how to solve it?

from msca-net.

YonghengSun1997 avatar YonghengSun1997 commented on July 21, 2024

try 'output = model ( image )'

from msca-net.

2561995604 avatar 2561995604 commented on July 21, 2024

如果使用了output = model (image),也会报错cacs_map不存在,这样改应该怎么办

from msca-net.

2561995604 avatar 2561995604 commented on July 21, 2024

您的代码中是要同时从model获得output与cacs_map,但是这样在您的代码中无法做到

from msca-net.

YonghengSun1997 avatar YonghengSun1997 commented on July 21, 2024

同时从model获得output与cacs_map,在msca_net.py中的msca_net_with_heatmap_output实现,模型一样,多了可视化的输出。

from msca-net.

2561995604 avatar 2561995604 commented on July 21, 2024

from Models.networks.msca_net import msca_net那我只需要把这个改成from Models.networks.msca_net import msca_net_with_heatmap_output这样就行了吗

from msca-net.

2561995604 avatar 2561995604 commented on July 21, 2024

Test_Model = {
"Comp_Atten_Unet": Comprehensive_Atten_Unet,
"BCDU_net_D3": BCDU_net_D3,
"CPF_Net": CPF_Net,
"CE_Net": CE_Net,
"msca_net":msca_net,
}
然后把这个更改为
Test_Model = {
"Comp_Atten_Unet": Comprehensive_Atten_Unet,
"BCDU_net_D3": BCDU_net_D3,
"CPF_Net": CPF_Net,
"CE_Net": CE_Net,
"msca_net":msca_net_with_heatmap_output,
}
就可以实现可视化了吧

from msca-net.

YonghengSun1997 avatar YonghengSun1997 commented on July 21, 2024

我在main_train.py改成了输出可视化的版本,你试试报错吗

from msca-net.

YonghengSun1997 avatar YonghengSun1997 commented on July 21, 2024

我刚刚调试修改了一遍,应该没问题了

from msca-net.

2561995604 avatar 2561995604 commented on July 21, 2024

没有问题了,感谢您的付出

from msca-net.

Related Issues (7)

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.