microsoft/archai

[BUG] idea to reduce duplicate code in algos.ipynb

lovettchris opened this issue · 2 comments

Describe the bug

When going through the notebooks in the intended order, there is a lot of duplicate code in algos.ipynb, you could eliminate that duplicate code using this trick:

import nbimporter
from search_space import MyModel, CNNSearchSpaceExt as CNNSearchSpace

But alas you have actually made some changes, can we sync the code so they are not different? Looks like you modified this one for single channel black and white mnist data and I see indeed you added get_archid to the model which is what I was talking about in previous bug report...

image

Great idea. Fixed on #173