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

Maybe there is a mistake in func "_enas_cell" ? #22

Open
mcbearone opened this issue Apr 21, 2024 · 0 comments
Open

Maybe there is a mistake in func "_enas_cell" ? #22

mcbearone opened this issue Apr 21, 2024 · 0 comments

Comments

@mcbearone
Copy link

In the func "_enas_cell" of /NAO-WS/cnn/model_search.py, “num_possible_inputs = curr_cell + 1”. When curr_cell=0, prev_cell can be 0 or 1, num_possible_inputs=curr_cell+1=1, so the shape of "w" will be (1, avg_pool_c * out_filters), the code "w[prev_cell]" may cause a mistake of "out of index".
And I see in the func "_enas_conv", num_possible_inputs = curr_cell + 2. The other parts of these two functions are similar. So i wonder whether "curr_cell+1" should be "curr_cell+2" ? Thank you!

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

1 participant