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

Bug in test procedure #71

Open
cnnAndBn opened this issue Jun 17, 2021 · 2 comments
Open

Bug in test procedure #71

cnnAndBn opened this issue Jun 17, 2021 · 2 comments

Comments

@cnnAndBn
Copy link

cnnAndBn commented Jun 17, 2021

hi,@PkuRainBow
I trained a segfix model and as you state in https://github.com/openseg-group/openseg.pytorch/blob/master/MODEL_ZOO.md#segfix-1, I want to refine my segmentation result.
So as you said, first get the offset prediction and then refine.
But for the offset prediction, it reports:
openseg.pytorch-master/lib/datasets/tools/collate.py", line 108, in collate
assert pad_height >= 0 and pad_width >= 0
it seems to be the input image size larger than the size in configuration, some minus number occurs
"test": {
"batch_size": 16,
"mode": "ss_test",
"out_dir": "/msravcshare/dataset/seg_result/cityscapes",
"data_transformer": {
"size_mode": "fix_size",
"input_size": [2048, 1024],
"align_method": "only_pad"
}
},

@hsfzxjy
Copy link
Contributor

hsfzxjy commented Jun 17, 2021

Are you using a custom dataset?

@cnnAndBn
Copy link
Author

yes

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

2 participants