Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot be reproduced #8

Open
Zong-Liang opened this issue Jun 14, 2024 · 17 comments
Open

Cannot be reproduced #8

Zong-Liang opened this issue Jun 14, 2024 · 17 comments

Comments

@Zong-Liang
Copy link

Zong-Liang commented Jun 14, 2024

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.
@dengxl0520
Copy link
Owner

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

@Zong-Liang
Copy link
Author

Zong-Liang commented Jun 18, 2024

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
Copy link

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.

@SUNNYDAY-4176
Copy link

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
Copy link
Author

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
Copy link

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
Copy link

songWell commented Jul 1, 2024

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
Copy link

songWell commented Jul 9, 2024

@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
Copy link

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
Copy link
Author

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
Copy link
Author

@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
Copy link

nhtsymh commented Sep 4, 2024

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
Copy link

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
Copy link

5aa0c00cb391a15ae6454e8802a2f7a
I encountered the same problem

@wuyu-sile
Copy link

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.

我已经解决该问题了,猜测原因是作者未给出专门用于处理camus数据集的代码部分,因此导致camus的mask张量中出现255,正确的mask张量中的元素应该是非0即1的,因此需要在data_us文件中的第501行加入代码:mask[mask == 255] = 1。

@wuyu-sile
Copy link

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.

在data_us文件中的第501行加入mask[mask == 255] = 1之后,训练结束后结果如下,可惜作者没给出处理camus数据集的预处理代码部分,看不到实际的训练结果
memsam

@Baldwinzc
Copy link

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.

在data_us文件中的第501行加入mask[mask == 255] = 1之后,训练结束后结果如下,可惜作者没给出处理camus数据集的预处理代码部分,看不到实际的训练结果 memsam

I am very grateful for the time you took out of your busy schedule to respond to my issue. Your solution was extremely helpful, and I have successfully replicated the project following your guidance. Your expertise and willingness to help are truly appreciated.

Thank you once again for your valuable time and assistance; it has been very meaningful to me. If there is any way I can return the favor or assist you in the future, please do not hesitate to let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants