-
Notifications
You must be signed in to change notification settings - Fork 13
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
數據預處理 #3
Comments
数据增强里有padding hualubei2020-callingsmoking/libs/data.py Lines 57 to 64 in 0d0f804
|
min_size = max(img.shape[:2]) img = A.OneOf([A.PadIfNeeded(min_height=min_size, min_width=min_size, |
假如你输入的是1000x2000的图 不先按最大边等比缩放到300x600再padding 你怎么直接padding到600x600? |
在train.py 裏直接加載的預處理後的數據,但預處理直接按最大邊等比縮放到600,對於不同長寬比的數據這樣處理不太合適吧,感覺padding應該更好一點
The text was updated successfully, but these errors were encountered: