Comments (13)
This is the visual results file of the features, which is not necessary for the reproduce.
from msca-net.
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.
I updated main_train.py and msca_net.py, adding the visual code.
from msca-net.
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.
try 'output = model ( image )'
from msca-net.
如果使用了output = model (image),也会报错cacs_map不存在,这样改应该怎么办
from msca-net.
您的代码中是要同时从model获得output与cacs_map,但是这样在您的代码中无法做到
from msca-net.
同时从model获得output与cacs_map,在msca_net.py中的msca_net_with_heatmap_output实现,模型一样,多了可视化的输出。
from msca-net.
from Models.networks.msca_net import msca_net那我只需要把这个改成from Models.networks.msca_net import msca_net_with_heatmap_output这样就行了吗
from 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,
}
然后把这个更改为
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.
我在main_train.py改成了输出可视化的版本,你试试报错吗
from msca-net.
我刚刚调试修改了一遍,应该没问题了
from msca-net.
没有问题了,感谢您的付出
from msca-net.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msca-net.