use of com.sri.ai.praise.core.representation.classbased.modelscontainer.PagedModelContainer in project aic-praise by aic-sri-international.
the class AbstractEvaluationApplication method setModelsInEvaluationConfiguration.
private void setModelsInEvaluationConfiguration(EvaluationConfigurationFromCommandLineOptions evaluationConfiguration) throws IOException {
PagedModelContainer modelsContainer = getModelsContainer(evaluationConfiguration);
evaluationConfiguration.setModelsContainer(modelsContainer);
}
use of com.sri.ai.praise.core.representation.classbased.modelscontainer.PagedModelContainer in project aic-praise by aic-sri-international.
the class EvaluationApplication method getModelsContainer.
@Override
protected PagedModelContainer getModelsContainer(EvaluationConfigurationFromCommandLineOptions evaluationConfiguration) throws IOException {
File file = getModelsFileFromEvaluationConfiguration((EvaluationConfigurationFromCommandLineOptionsAddingFileOption) evaluationConfiguration);
PagedModelContainer result = new PagedModelContainer(file);
return result;
}
Aggregations