microsoft / archai

Accelerate your Neural Architecture Search (NAS) through fast, reproducible and modular research.
https://microsoft.github.io/archai
MIT License
464 stars 91 forks source link

[BUG] my CNNSearchSpace implementation had to change in order for distributed training to work. #190

Open lovettchris opened 1 year ago

lovettchris commented 1 year ago

Describe the bug I had the quick start CNNSearchSpace to start with, but when I started using it in an AsyncModelEvaluator it started crashing because in that case the mutate and crossover methods are called with ArchaiModel objects that have an uninitialize arch model. All they have is an archid.

To Reproduce

See cnn_search_space.py and compare this with the one in the quickstart notebook.

Expected behavior

We need to change the EvolutionarySearchSpace api so that it encourages the creation of a search space that works in both sync and async modes.

asdafa3 commented 5 months ago

How did you solve it? The linked file does not exist anymore.