Skip to content
Snippets Groups Projects
Commit e74d2525 authored by carlosuc3m's avatar carlosuc3m
Browse files

adapt to new jdll refacoring

parent 59a8109d
No related branches found
No related tags found
No related merge requests found
......@@ -48,11 +48,11 @@ public class DeepLearningVersionSelector extends EzPlug implements EzStoppable,
* @return map to let naive users select the wanted DL version
*/
private static Map<String, DeepLearningVersion> getDisplayMapWithoutPythonRepeated() {
List<DeepLearningVersion> allVersions = AvailableEngines.getForCurrentOS().getVersions();
List<DeepLearningVersion> allVersions = AvailableEngines.getForCurrentOS();
List<DeepLearningVersion> vList = AvailableEngines.removeRepeatedPythonVersions(allVersions);
Map<String, DeepLearningVersion> map = vList.stream()
.collect(Collectors.toMap(
v -> v.getEngine() + "-" + v.getPythonVersion()
v -> v.getFramework() + "-" + v.getPythonVersion()
+ (v.getCPU() ? "-" + DeepLearningVersion.cpuKey : "")
+ (v.getGPU() ? "-" + DeepLearningVersion.gpuKey : ""),
Function.identity()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment