Skip to content

fix(model): dropout rate always greater than 1#11

Open
helloeve wants to merge 1 commit intowallarm:masterfrom
helloeve:model-fix
Open

fix(model): dropout rate always greater than 1#11
helloeve wants to merge 1 commit intowallarm:masterfrom
helloeve:model-fix

Conversation

@helloeve
Copy link
Copy Markdown

Hi, I was going through your wonderful blog post of NAS with RL and realized there is a tiny bug within the codebase.

The dropout rate extracted from actions is always greater than 1 because the RNNN's output is multiplied with scalar=100.0. I believe the reason is to convert most of the numbers within actions to be a large integer which will be used as number of filters, etc. However, if we do this to the dropout rate, it will never "drop" anything because it will always be larger than 1. In consequence this makes this dimension in the state has no impact on the reward.

This PR will fix this issue by simply divide the dropout rate with 100.0 before feeding into the CNN training.

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.

1 participant