miracle-center / partially-supervised-multi-organ-segmentation Goto Github PK
View Code? Open in Web Editor NEWcode for Marginal loss and exclusion loss for partially supervised multi-organ segmentation
License: MIT License
code for Marginal loss and exclusion loss for partially supervised multi-organ segmentation
License: MIT License
Hi, sorry to disturb you again, I meet a problem and hope you can help me~
I defined Task 1, Task 2, Task 3, and Task 4, represents four organs, respectively, and the GT labeled value is 1, 2, 3, 4, respectively.
in calculating loss when y_tags != x_tags:
target_onehot = onehot_transform(target, len(cur_task)+1)
def onehot_transform(tensor, depth):
assert torch.max(tensor) < depth, f"{torch.max(tensor)}/{depth}"
when process Task 2, the corresponding target(GT) label value is 2, that is torch.max(tensor) = 2,
depth = len(cur_task)+1, cur_task = Task 2, so len(cur_task) is equal to 1, so the depth =2
bu if depth =2 and torch.max(tensor)=2, the assert ** will be processed and run stop~~
Did I do something wrong?
Thanks a lot~~waiting for your reply~
Hi, many thanks for your sharing,
Can you provide the running order of your code? the same as nnunet as following?
covert --- nnUNet_plan_and_preprocess ---- nnUNet_train?
Thanks, waiting for your reply.
Hi,
Could you please provide a simple README? It is quite hard to distinguish which part is modified. And may I ask where is the code implementation of the two new loss? Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.