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

human_vehicle_parsing_platform代码运行后模型问题 #7

Open
bai-xi opened this issue Sep 12, 2022 · 0 comments
Open

human_vehicle_parsing_platform代码运行后模型问题 #7

bai-xi opened this issue Sep 12, 2022 · 0 comments

Comments

@bai-xi
Copy link

bai-xi commented Sep 12, 2022

您好,我运行了你的human_vehicle_parsing_platform代码报了附件图1的错误,我进行单步调试后发现是附件图2的y(维度8,48,193,193)和self.fuse_layer[0]x维度不一致的问题,self.fuse_layer[0]x维度是(8,48,194,194),附件图3是self.fuse_layer的网络结构,我不知道为什么self.fuse_layer[0]1维度是(8,48,194,194)?这个错误该怎么改呢?在这个之前还遇到一个错误“RuntimeError: cuda runtime error (11) : invalid argument at /opt/conda/conda-bld/pytorch_1535491974311/work/aten/src/THC/THCGeneral.cpp:663”
我看了网上说是2080ti与低版本的pytorch和cuda不匹配问题,所以把cudnn.benchmark改成false,这个错误就消失了,但是遇到了前面提到的维度错误,不知道二者之间是不是有影响?数据集用的你发布的带分割标签的数据集,训练用的coarse_train_id.txt也是你公开的那个。(我运行的是train_test下的Deeplabv3的train.py,里面的run_train.sh运行不起来。config文件和cls_hrnet_w48_sgd_lr5e-2_wd1e-4_bs32_x100.yaml是从BraidNet文件下的复制过来的。)
1
2
3
4

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

1 participant