YML question, EastRandomCropData size -96 -320 which one is height or width #14679
-
is 96 height or or width ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
In the configuration: - EastRandomCropData:
size:
- 96
- 320
max_tries: 50
keep_ratio: true The values under
This convention aligns with the way image dimensions are usually specified in deep learning frameworks, where height comes first, followed by width. If you need further confirmation, you can check other parts of the configuration file, such as image_shape:
- 48
- 320
- 3 Here, Response generated by feifei-bot | chatgpt-4o-latest |
Beta Was this translation helpful? Give feedback.
In the configuration:
The values under
size
represent the height and width of the cropped image. Typically, in PaddleOCR and similar frameworks, the convention is:This convention aligns with the way image dimensions are usually specified in deep learning frameworks, where height comes first, followed by width.
If you need further confirmation, you can check other parts of the configuration file, such as
image_shape
inRecConAug
, where similar patterns are followed:Here,
48
is the hei…