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

Inquiry about the Possibility of Duplicate Retouching Operations in Reinforcement Learning Mode #59

Open
a2108870 opened this issue Jul 18, 2023 · 1 comment

Comments

@a2108870
Copy link

Dear Dr. Hu,

I hope this message finds you well. I am writing to inquire about your reinforcement learning model designed for retouching images. Specifically, I am interested in understanding whether the model is capable of selecting duplicate retouching operations for a single image. For instance, I would like to know if the model can make decisions that result in the following sequence of retouching operations: gamma, contrast, exposure, contrast, with the contrast operation being repeated twice within this sequence.

Thank you for your time and consideration. I look forward to your response.

@milleniums
Copy link

milleniums commented Aug 18, 2023

You can find the RL Parameters named filter_usage_penalty in config.
If you set it to 1 and each time the agent reuse a filter, a penalty is subtracted from the reward.
So the model will not make decisions you discribed.
image

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

No branches or pull requests

2 participants