-
Notifications
You must be signed in to change notification settings - Fork 8
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
代码与文中的描述有冲突 #3
Comments
Hi, |
能否开源训练的checkpoint呀,实在复现不出来
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2022年05月13日 22:35 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.******@***.***> |
| 主题 | Re: [ggsDing/ASLNet] 代码与文中的描述有冲突 (Issue #3) |
Hi,
There are two versions of the segmentation network. ED_FCN is a basic encoder-decoder FCN, while FCN_SR is the described FCN with shape refinement modules. I do not think there are conflicts with the descriptions in the paper.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
let me check whether I still have them on the servers. |
我复现了很多次,加判别器基本上没有提升,甚至个别网络还出现精度下降的情况。麻烦作者
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2022年05月13日 22:46 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.******@***.***> |
| 主题 | Re: [ggsDing/ASLNet] 代码与文中的描述有冲突 (Issue #3) |
let me check whether I still have them on the servers.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I just uploaded a checkpoint of the FCN+SR model (see link below). This is not the specific saved file associated with the results in the paper, but the accuracy should be close. |
Note that the evaluation codes in this repository are not very rigorous, as the prediction is performed on cropped images. It is suggested to first stitch the cropped masks, and then calculate the final accuracy. |
谢谢大佬,祝大佬毕业顺利工作顺利
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2022年05月14日 00:49 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.******@***.***> |
| 主题 | Re: [ggsDing/ASLNet] 代码与文中的描述有冲突 (Issue #3) |
I just uploaded a checkpoint of the FCN+SR model (see link below). This is not the specific saved file associated with the results in the paper, but the accuracy should be close.
I will also check if the results can be reproduced with the released codes. Unfortunately I am currently graduated and do not have enough device, so this could take time.
checkpoint
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
hi, are you sure you have uploaded the right checkpoint file? It's not correspondent to the code you provided. And, which dataset is used to train the checkpoint file? |
大佬,在复现过程中,遇到了一些问题,方便的话,可以交流一下嘛 |
Please change the name of modules 'SR->DC' in the model file and the checkpoint will work. This was trained on the Inria Dataset. |
I tried to use your code to train on the Mas dataset and AIRS (WHU Building) dataset and found that discriminatior only degrades the performance, why is that? My configuration is crop_size=512, batch_size=4. |
Hi, I ran the codes again and confirmed that steady improvements are made on the MAS dataset. Please check the uploaded training script for the MAS dataset in the main directory. It is recommended to remove 'conv3' in the discriminator before training, since the resolution of MAS is lower. |
对于MAS把Discriminator里面的conv3删掉之后,效果反而更差了,这是为什么 |
我在尝试复现代码时遇到了和您相同的问题,并且我已经按照我所理解的、你在issue中所描述的解决步骤尝试,但遗憾的是,我并未能成功。我想这可能是因为有些关键信息或者步骤我可能未能完全理解或注意到,我想寻求您的帮助,能否请您分享您解决问题的具体步骤或者别的关键点?如果方便的话,也期待您能给出关于代码或环境设置部分的更多信息。下面是我导入作者上面发的模型时的报错: |
您好:
我在复现原作者代码的时候也和你遇到了同样的问题,在那个分辨率较低的数据集上没有得到好的提升效果,反而变得更差了。所以也很抱歉,我不能解决你的问题!
希望原作者能回复你!
祝好
孙若兰
***@***.***
…------------------ 原始邮件 ------------------
发件人: "ggsDing/ASLNet" ***@***.***>;
发送时间: 2023年11月21日(星期二) 晚上10:01
***@***.***>;
***@***.******@***.***>;
主题: Re: [ggsDing/ASLNet] 代码与文中的描述有冲突 (Issue #3)
I just uploaded a checkpoint of the FCN+SR model (see link below). This is not the specific saved file associated with the results in the paper, but the accuracy should be close. I will also check if the results can be reproduced with the released codes. Unfortunately, I am already graduated and do not have enough devices, so this could take time. checkpoint link
hi, are you sure you have uploaded the right checkpoint file? It's not correspondent to the code you provided. The error message is: Missing key(s) in state_dict: "SR.0.weight"............. Unexpected key(s) in state_dict: "DC.0.weight"................
And, which dataset is used to train the checkpoint file?
Please change the name of modules 'SR->DC' in the model file and the checkpoint will work. This was trained on the DeepGlobe Dataset.
I tried to use your code to train on the Mas dataset and AIRS (WHU Building) dataset and found that discriminatior only degrades the performance, why is that? My configuration is crop_size=512, batch_size=4.
我在尝试复现代码时遇到了和您相同的问题,并且我已经按照我所理解的、你在issue中所描述的解决步骤尝试,但遗憾的是,我并未能成功。我想这可能是因为有些关键信息或者步骤我可能未能完全理解或注意到,我想寻求您的帮助,能否请您分享您解决问题的具体步骤或者别的关键点?如果方便的话,也期待您能给出关于代码或环境设置部分的更多信息。下面是我导入作者上面发的模型时的报错:
File "D:\Anaconda\envs\ai\lib\site-packages\torch\nn\modules\module.py", line 1604, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for FCN_SR:
Missing key(s) in state_dict: "DC.3.conv1.weight", "DC.3.bn1.weight", "DC.3.bn1.bias", "DC.3.bn1.running_mean", "DC.3.bn1.running_var", "DC.3.conv2.weight", "DC.3.bn2.weight", "DC.3.bn2.bias", "DC.3.bn2.running_mean", "DC.3.bn2.running_var", "DC.4.conv.weight", "DC.4.p_conv.weight",
"DC.4.p_conv.bias", "DC.4.m_conv.weight", "DC.4.m_conv.bias", "DC.5.weight", "DC.5.bias", "DC.5.running_mean", "DC.5.running_var".
Unexpected key(s) in state_dict: "DC.3.conv.weight", "DC.3.p_conv.weight", "DC.3.p_conv.bias", "DC.3.m_conv.weight", "DC.3.m_conv.bias", "DC.4.weight", "DC.4.bias", "DC.4.running_mean", "DC.4.running_var", "DC.4.num_batches_tracked".
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
且复现后达不到文中的效果,请提供训练的checkpoint
The text was updated successfully, but these errors were encountered: