We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
以下是截取的yaml文件内容 transform_ops: - DecodeImage: to_rgb: True channel_first: False - ResizeImage: size: [224, 224] return_numpy: False interpolation: bilinear backend: cv2 - RandFlipImage: flip_code: 1 - Pad: padding: 10 backend: cv2 - RandCropImageV2: size: [224, 224] - RandomRotation: prob: 0.5 degrees: 90 interpolation: bilinear - ResizeImage: size: [224, 224] return_numpy: False interpolation: bilinear backend: cv2 - NormalizeImage: scale: 1.0/255.0 mean: [0.485, 0.456, 0.406] std: [0.229, 0.224, 0.225] order: hwc 如果样本没有随机翻转的情况,RandFlipImage这个增强是不是可以不加,如果自己的数据样本有可能是旋转0度、90度、180度、270度,RandomRotation这块该怎么设置?
The text was updated successfully, but these errors were encountered:
可以不加的哈,设置问题参考API文档哈https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/RandomRotation_cn.html#randomrotation
Sorry, something went wrong.
cuicheng01
No branches or pull requests
以下是截取的yaml文件内容
transform_ops:
- DecodeImage:
to_rgb: True
channel_first: False
- ResizeImage:
size: [224, 224]
return_numpy: False
interpolation: bilinear
backend: cv2
- RandFlipImage:
flip_code: 1
- Pad:
padding: 10
backend: cv2
- RandCropImageV2:
size: [224, 224]
- RandomRotation:
prob: 0.5
degrees: 90
interpolation: bilinear
- ResizeImage:
size: [224, 224]
return_numpy: False
interpolation: bilinear
backend: cv2
- NormalizeImage:
scale: 1.0/255.0
mean: [0.485, 0.456, 0.406]
std: [0.229, 0.224, 0.225]
order: hwc
如果样本没有随机翻转的情况,RandFlipImage这个增强是不是可以不加,如果自己的数据样本有可能是旋转0度、90度、180度、270度,RandomRotation这块该怎么设置?
The text was updated successfully, but these errors were encountered: