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

[Fix] Remove flip_horizontal when aug_eval is True #1559

Merged
merged 3 commits into from
Nov 22, 2021

Conversation

juncaipeng
Copy link
Collaborator

@juncaipeng juncaipeng commented Nov 19, 2021

预测时,如果只想进行缩放scale,会默认使用flip。

val.py Outdated
if args.flip_vertical:
test_config['flip_vertical'] = args.flip_vertical
test_config['flip_horizontal'] = args.flip_horizontal
test_config['flip_vertical'] = args.flip_vertical
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

缩进跟test_config['aug_eval'] = args.aug_eval 对齐好一些哈

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

Copy link
Collaborator

@wuyefeilin wuyefeilin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@michaelowenliu michaelowenliu merged commit f06e34d into PaddlePaddle:develop Nov 22, 2021
@juncaipeng juncaipeng deleted the fix_val_aug branch November 22, 2021 02:27
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

Successfully merging this pull request may close these issues.

3 participants