SeeMeInCrown / CoLa_Diff_MultiModal_MRI_Synthesis

Pytorch Implementation of CoLa-Diff: Conditional Latent Diffu-sion Model for Multi-Modal MRI Synthesis
BSD 3-Clause "New" or "Revised" License
42 stars 2 forks source link

not enough values to unpack (expected 2, got 0) #4

Open xin-xin-zy opened 1 year ago

xin-xin-zy commented 1 year ago

self.nummasks, self.masklen = self.masks.shape ValueError: not enough values to unpack (expected 2, got 0)

I hope to be able to get help. Thank you very much.

SoHotLB commented 11 months ago

I also encountered the same problem, may I ask if you have solved it. It seems that the author used hard coding and obviously the features should not be 32.

if high_way:
            features = 32
            self.hwm = Generic_Newnet(self.in_channels - 1, features, 1, 5)
xin-xin-zy commented 11 months ago

I'm sorry, I didn't solve the problem either

------------------ 原始邮件 ------------------ 发件人: "SeeMeInCrown/CoLa_Diff_MultiModal_MRI_Synthesis" @.>; 发送时间: 2023年12月1日(星期五) 下午4:59 @.>; @.**@.>; 主题: Re: [SeeMeInCrown/CoLa_Diff_MultiModal_MRI_Synthesis] not enough values to unpack (expected 2, got 0) (Issue #4)

I also encountered the same problem, may I ask if you have solved it. It seems that the author used hard coding and obviously the features should not be 32. if high_way: features = 32 self.hwm = Generic_Newnet(self.in_channels - 1, features, 1, 5)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

TMDTom commented 10 months ago

I want to implement T1 to MRA method. Also encounter the same problem. Are there some solutions?

zhangjingcode commented 10 months ago

I think this is version conflict, may author could descripe package and torch version?

skyknights commented 8 months ago

self.nummasks, self.masklen = self.masks.shape ValueError: not enough values to unpack (expected 2, got 0)

I hope to be able to get help. Thank you very much.

Hello, can I ask if the author's code can be executed correctly?

skyknights commented 8 months ago

I think this is version conflict, may author could descripe package and torch version?

Hello, can I ask if the author's code can be executed correctly?

skyknights commented 8 months ago

I want to implement T1 to MRA method. Also encounter the same problem. Are there some solutions?

Hello, can I ask if the author's code can be executed correctly?

VicSufyan commented 8 months ago

Any update on this issue?

xin-xin-zy commented 8 months ago

I didn't run it successfully either

------------------ 原始邮件 ------------------ 发件人: "SeeMeInCrown/CoLa_Diff_MultiModal_MRI_Synthesis" @.>; 发送时间: 2024年3月3日(星期天) 中午12:17 @.>; @.**@.>; 主题: Re: [SeeMeInCrown/CoLa_Diff_MultiModal_MRI_Synthesis] not enough values to unpack (expected 2, got 0) (Issue #4)

I want to implement T1 to MRA method. Also encounter the same problem. Are there some solutions?

Hello, can I ask if the author's code can be executed correctly?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

shsargordi commented 5 months ago

I got the same error and I am wondering if any of you solved it.

QijingGJ commented 1 month ago

hello, I have been confused for a long time, could you help me? Why is one of the output called ‘cal’ of Generic_Newnet calculate mse with the target mode? What exactly is the function of Generic_Newnet, which is not mentioned in the paper.

Thank you very much for your help!

I got the same error and I am wondering if any of you solved it.

Galizmar commented 1 week ago

I encountered the same error, does anyone have a solution?