Search in sources :

Example 1 with PagedModelContainer

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);
}
Also used : PagedModelContainer(com.sri.ai.praise.core.representation.classbased.modelscontainer.PagedModelContainer)

Example 2 with PagedModelContainer

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;
}
Also used : File(java.io.File) PagedModelContainer(com.sri.ai.praise.core.representation.classbased.modelscontainer.PagedModelContainer)

Aggregations

PagedModelContainer (com.sri.ai.praise.core.representation.classbased.modelscontainer.PagedModelContainer)2 File (java.io.File)1