cedricgsh / isdnet Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hi,
First of all, thank you for your nice work. However, I have a small question about Deepglobe dataset.
As far as I know, the original validation and test sets do not provide labels. Are all the val and test sets in the current data split from the original training set?
According to your and GLNet's split file (.txt), the total number of train samples is 454 rather than 455. Why do you and your previous papers on related work explain that 455?
Thank you for your attention!
你好,请问ISDNET的模型还没上传吗?
作者您好,
非常感谢您的工作,并将代码进行了开源。
我近期希望基于Deepglobe预训练的模型展开一些研究工作,在使用您的代码时遇到了一些问题。
在使用提供的isdnet_r18-d8_1224x1224_80k_DeepGlobe.py和deepglobe.pth时,通过init_segmentor会出现警告The model and loaded state dict do not match exactly。
既有
unexpected key in source state_dict:
decode_head.image_pool.1.bn.weight, decode_head.image_pool.1.bn.bias, decode_head.image_pool.1.bn.running_mean, decode_head.image_pool.1.bn.running_var, decode_head.image_pool.1.bn.num_batches_tracked, decode_head.aspp_modules.0.bn.weight, decode_head.aspp_modules.0.bn.bias, decode_head.aspp_modules.0.bn.running_mean, decode_head.aspp_modules.0.bn.running_var,……………………
又有
missing keys in source state_dict:
decode_head.image_pool.1.conv.bias, decode_head.aspp_modules.0.conv.bias, decode_head.aspp_modules.1.conv.bias, decode_head.aspp_modules.2.conv.bias, decode_head.aspp_modules.3.conv.bias, decode_head.bottleneck.conv.bias,…………
我不知道这是否是由于模型训练、推理阶段的模型结构差异导致的?
在尝试使用demo中的方法,利用deepglobe预训练的ISDNet进行图像分割时,提示EncoderDecoderRefine类缺少out_channel属性。如果直接调用model.encode_decode函数,分类预测结果则非常不理想,不知道是否是问题1导致的。
目前始终无法debug完成正确推理,希望你能解答我的困惑。如果可以的话,能否提供一个利用deepglobe预训练的ISDNet的demo?
During training of ISDNet on DeepGlobe with the following script:
./tools/dist_train.sh configs/isdnet/isdnet_r18-d8_1224x1224_80k_DeepGlobe.py 1
where /tools/dist_train.sh
has been just slightly modified to our setup:
#!/usr/bin/env bash
CONFIG=$1
GPUS=$2
PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
python3 -m torch.distributed.launch --nproc_per_node=$GPUS \
$(dirname "$0")/train.py $CONFIG --launcher pytorch ${@:3}
We get the following error:
[...]
File "/path/ISDNet/mmseg/models/decode_heads/refine_decode_head.py", line 217, in losses
seg_logit = resize(
File "/path/ISDNet/mmseg/ops/wrappers.py", line 26, in resize
return F.interpolate(input, size, scale_factor, mode, align_corners)
File "/usr/local/lib/python3.8/site-packages/torch/nn/functional.py", line 3163, in interpolate
return torch._C._nn.upsample_bilinear2d(input, output_size, align_corners, sfl[0], sfl[1])
RuntimeError: It is expected output_size equals to 2, but got size 3
We have neither modified train.py nor the ISDnet model itself (taken as is from this git directory).
The DeepGlobe dataset has been split like requested, so we don't think this might be the issue. Or is there some preprocessing needed that we missed?
Do you have any idea why this error occurred, and where it might have come from?
Thanks again in advance for your help!
Thanks for the source code! I tried to reproduce results in the paper, but I only achieved 72.3% on DeepGlobe dataset. Could you please provide your training log?
请问loss权重调参有什么策略吗,是调到一个量级吗?
The predicted result of this network output is RGB or grayscale image,there was a problem when I tested with the code you provided
Hi,
Thank you for your interesting work. Will the code be released any time soon?
你好, 请问有这个数据集的下载链接吗,官网上没有。
谢谢
您好,最近在研究您的工作,发现在复现过程中存在以下几点问题:
你好,我使用自己的数据集训练,结果要比切成patch后训练差不少,是不是因为不切片数据量太少的原因,训练集大概401幅1000 x 1000像元。
你好,作者,请问RAF这个模块定义在哪个py文件下呢?
Hi, I'm trying your code. I'm new to MMCV library. I'm having a bit of difficulty with the package versions. Can you share the package versions that you used in this paper?
I tried with the latest versions and (MMSeg 0.16 and MMCV 1.3.7) but I still get an error every time. And also, I'm working on Windows, did you run this project on which system?
Thank you for your time.
你好!我想用ISDNet在新的数据集上进行训练,该数据有4通道,24个标签类别。我尝试在你的代码上进行修改后训练,但是无法达到基线方法的精度。请问应该如何修改代码?能否麻烦提供一下在新数据集上训练的教程?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.