def get_config_and_model(conf): if conf == "DAModel": return DAModel, CONFIG.DAConfig() elif conf == "IAAModel": return IAAModel, CONFIG.IAAConfig() elif conf == "AdaptiveIAAModel": return AdaptiveIAAModel, CONFIG.AdaptiveIAAConfig() elif conf == "AdaptiveReader": return AdaptiveReader, CONFIG.IAAConfig()
def get_config_and_model(conf): if conf == "DAModel": return DAModel, CONFIG.DAConfig() elif conf == "IAAModel": return IAAModel, CONFIG.IAAConfig() elif conf == "AdaptiveIAAModel": return AdaptiveAnalysisModel, CONFIG.AdaptiveIAAConfig() elif conf == "ACTAttentionModel": return ActAttnAnalysisModel, CONFIG.ACTAttentionConfig() elif conf == "ACTDAModel": return ACTDAAnalysisModel, CONFIG.ACTDAConfig()
def get_config_and_model(conf): if conf == "DAModel": return DAModel, CONFIG.DAConfig()