lseventeen / DIAS

[MedIA2024]DIAS: A Dataset and Benchmark for Intracranial Artery Segmentation in DSA sequences
Apache License 2.0
23 stars 2 forks source link

Code problem #2

Open Gift-OYS opened 1 year ago

Gift-OYS commented 1 year ago

It seems that in /semi_supervised_segmentation/losses.py line 195, it should be ce_loss = self.ce(net_output, target.long()) if self.weight_ce != 0 else 0 instead of ce_loss = self.ce(net_output, target[:, 0].long()) if self.weight_ce != 0 else 0? Because the shape of net_output id (64, 2, 64, 64), and the shape of target.long() is (64, 64, 64)

lseventeen commented 11 months ago

We have updated the new code, are there any problems left?

SangbaekYoo commented 3 months ago

Thank you for this nice work. I am running this code and when I first run the full_supervised_segmentation/run.sh, it cannot find utils.cldice. I'm wondering if there is any missing code or if I need to install anything additional.