dengxl0520 / MemSAM

[CVPR 2024 Oral] MemSAM: Taming Segment Anything Model for Echocardiography Video Segmentation.
MIT License
121 stars 11 forks source link

Cannot be reproduced #8

Open Zong-Liang opened 3 months ago

Zong-Liang commented 3 months ago

Dear author, thanks for your great work. I encountered the following issues when trying to reproduce the paper:

dengxl0520 commented 3 months ago

You can check the inputs to the model. I'll update a few times later on how to use this training code.

Zong-Liang commented 3 months ago

You can check the inputs to the model. I'll update a few times later on how to use this training code.

Thanks for your kindly reply, here is an example input to ths model: image

And I visualized some of the preds from the model, it's weird: image

I don't know where the problem is. I haven't changed anything in the model.

xychen2022 commented 2 months ago

Is class.json automatically generated in preprocessing? I didn't see such a file after running the code for preprocessing. And I got FileNotFound error when running train_video.py without the file.

ljl913479576 commented 2 months ago

Is class.json automatically generated in preprocessing? I didn't see such a file after running the code for preprocessing. And I got FileNotFound error when running train_video.py without the file.

I didn't see this file either

Zong-Liang commented 2 months ago

Is class.json automatically generated in preprocessing? I didn't see such a file after running the code for preprocessing. And I got FileNotFound error when running train_video.py without the file.

see closed issue#6

xychen2022 commented 2 months ago

Same problem here. The training behavior seems not normal. The training loss is low (ranges from -10000 to -2000 after a few steps). Any comments?

songWell commented 2 months ago

Dear author, thanks for your great work. I encountered the following issues when trying to reproduce the paper:

  • Processed the CAMUS dataset according to your method.
  • Modified the dataset path in the code and supplemented the class.json file. deb5b28b2992f6c226cf97bf4a1b6c36
  • Other parameter configurations remain unchanged. 9e0254b061dcdc355ac97b7f60348d60 image However, I am unable to train normally: image I'm not sure why this is happening. Could you please help me? I'd greatly appreciate your help. Thank you so much.

Same Problem Should it be added some parameters ? python train_video.py --enable_memory --reinforce. The parameters information printed are False

songWell commented 2 months ago

@dengxl0520 hi, I am new in this field so I don't know if I have made any mistakes. Is it correct to use this command "python train_video.py --enable_memory --reinforce" to train the model. After training, I test the model, but the output is all zero. Can you give me some suggestions?

@Zong-Liang Hello, have you successfully reproduced it?

Baldwinzc commented 3 weeks ago

Is class.json automatically generated in preprocessing? I didn't see such a file after running the code for preprocessing. And I got FileNotFound error when running train_video.py without the file.class.json 是否在预处理中自动生成?运行代码进行预处理后,我没有看到这样的文件。在没有文件的情况下运行 train_video.py 时,我收到了 FileNotFound 错误。

see closed issue#6 参见已关闭的 issue#6

The issue labeled "issue 6" has been closed. Could you please inform me how to proceed with this?

Zong-Liang commented 2 weeks ago

Is class.json automatically generated in preprocessing? I didn't see such a file after running the code for preprocessing. And I got FileNotFound error when running train_video.py without the file.class.json 是否在预处理中自动生成?运行代码进行预处理后,我没有看到这样的文件。在没有文件的情况下运行 train_video.py 时,我收到了 FileNotFound 错误。

see closed issue#6 参见已关闭的 issue#6

The issue labeled "issue 6" has been closed. Could you please inform me how to proceed with this?

it's from the SAMUS repo,you can refer to it,but the class.json is not the key problem here, i've abandoned reproduction(My abilities are not enough),good luck to U.

Zong-Liang commented 2 weeks ago

@dengxl0520

hi, I am new in this field so I don't know if I have made any mistakes. Is it correct to use this command "python train_video.py --enable_memory --reinforce" to train the model. After training, I test the model, but the output is all zero. Can you give me some suggestions?

@Zong-Liang

Hello, have you successfully reproduced it?

No,i've abandoned,wasted too much time here~

nhtsymh commented 1 week ago

class.json 是否在预处理中自动生成?运行代码进行预处理后,我没有看到这样的文件。在没有file.class.json的情况下运行 train_video.py 时,我遇到了 FileNotFound 错误 是否在预处理中自动生成?运行代码进行预处理后,我没有看到这样的文件。在没有文件的情况下运行 train_video.py 时,我收到了 FileNotFound 错误。

See closed issue#6 参见已关闭的 issue#6

标记为“问题 6”的问题已关闭。您能告诉我如何进行吗?

Hello, have you resolved the issue with the class.json? I'm encountering the same problem.

Baldwinzc commented 1 week ago

Thank you very much for your answer

Is class.json automatically generated in preprocessing? I didn't see such a file after running the code for preprocessing. And I got FileNotFound error when running train_video.py without the file.class.json 是否在预处理中自动生成?运行代码进行预处理后,我没有看到这样的文件。在没有文件的情况下运行 train_video.py 时,我收到了 FileNotFound 错误。

see closed issue#6 参见已关闭的 issue#6

The issue labeled "issue 6" has been closed. Could you please inform me how to proceed with this?

it's from the SAMUS repo,you can refer to it,but the class.json is not the key problem here, i've abandoned reproduction(My abilities are not enough),good luck to U.

Thank you very much for your answer

Baldwinzc commented 13 hours ago

5aa0c00cb391a15ae6454e8802a2f7a I encountered the same problem