继续#
如果运行中断或提前结束,SMAC 可以自动恢复中断时的状态。为此,它会读取旧文件(这些文件基于场景名称、输出目录和种子生成),并从中获取先前运行的场景信息以继续运行。
可以通过在外观 (facade) 中将参数 overwrite
分别设置为 True
或 False
来控制此行为。
- 如果设置为
True
,并且找到与当前设置元数据一致的先前运行,SMAC 将覆盖运行结果。 -
如果设置为
False
,并且找到一个先前运行,该运行 -
在元数据上是一致的,则继续运行。
- 在元数据上不一致,则询问用户确切行为(完全覆盖还是先重命名旧运行)。
.. 警告:
If you changed any code affecting the run's meta data and specified a name, SMAC will ask you whether you still
want to overwrite the old run or rename the old run first. If you did not specify a name, SMAC generates a new name
and the old run is not affected.
请参阅我们的继续示例。