PaddleSeg icon indicating copy to clipboard operation
PaddleSeg copied to clipboard

How to set image resolution for training and inference?

Open sarmientoj24 opened this issue 3 years ago • 2 comments

I cannot see it from the parameters.

Also, how to set which transforms to use?

sarmientoj24 avatar Sep 19 '22 05:09 sarmientoj24

For training, you can change the crop size,for example:https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.6/configs/base/cityscapes_1024x1024.yml#L10 For inference, we take the original image without crop to predict the result.

haoyuying avatar Sep 19 '22 11:09 haoyuying

that seems like random padding crop.

does that mean that the image should be in the expected size already? or is there a validation transforms in the yaml?

sarmientoj24 avatar Sep 19 '22 12:09 sarmientoj24

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 05 '22 17:12 github-actions[bot]