microsoft / nni

An open source AutoML toolkit for automate machine learning lifecycle, including feature engineering, neural architecture search, model compression and hyper-parameter tuning.
https://nni.readthedocs.io
MIT License
13.88k stars 1.81k forks source link

Using export_data() not working with DartsStrategy() #5771

Open felix011235 opened 2 months ago

felix011235 commented 2 months ago

Hi,

I want to use export_data() after experiment.run() in the DARTS tutorial (https://nni.readthedocs.io/en/stable/tutorials/darts.html). However, I get a runtime error:

RuntimeError: Experiment is not running

For the "Hello NAS!" (https://nni.readthedocs.io/en/stable/tutorials/hello_nas.html) example, this function works fine.

Do you have any workaround/idea on how to fix this?

Best regards, Felix