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

add information message for arm64 based systems

parent 1d139b10
Branches
Tags
No related merge requests found
...@@ -6,6 +6,7 @@ import java.util.Map; ...@@ -6,6 +6,7 @@ import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import org.bioimageanalysis.icy.deeplearning.utils.Constants;
import org.bioimageanalysis.icy.deeplearning.versionmanagement.AvailableDeepLearningVersions; import org.bioimageanalysis.icy.deeplearning.versionmanagement.AvailableDeepLearningVersions;
import org.bioimageanalysis.icy.deeplearning.versionmanagement.DeepLearningVersion; import org.bioimageanalysis.icy.deeplearning.versionmanagement.DeepLearningVersion;
...@@ -71,6 +72,15 @@ public class DeepLearningVersionSelector extends EzPlug implements EzStoppable, ...@@ -71,6 +72,15 @@ public class DeepLearningVersionSelector extends EzPlug implements EzStoppable,
@Override @Override
protected void initialize() protected void initialize()
{ {
MessageDialog.showDialog("ARM64 chips and compatiblity with Deep Learnign engines",
"This computer uses the ARM64 chip architecture. This architecture" + System.lineSeparator()
+ "is relatively recent, therefore many of the existing Deep Learning" + System.lineSeparator()
+ "engines will not be available on your computer." + System.lineSeparator()
+ "ARM64 chips also provide the possibility of running some x86_64" + System.lineSeparator()
+ "compiled programs using Rosetta. In order to enable Rosetta, change" + System.lineSeparator()
+ "the JAVA_HOME variable to a Java 8 or lower. Using Rosetta will" + System.lineSeparator()
+ "enable more Deep Learning engines, but there will be some still missing." + System.lineSeparator()
+ "For more information, go to the Wiki: " + System.lineSeparator() + Constants.WIKI_LINK, MessageDialog.INFORMATION_MESSAGE);
String[] versionStrings = versions.keySet().stream().sorted().toArray(String[]::new); String[] versionStrings = versions.keySet().stream().sorted().toArray(String[]::new);
varInVersion = new EzVarText("Version", versionStrings, getDefaultVersionIndex(versionStrings), false); varInVersion = new EzVarText("Version", versionStrings, getDefaultVersionIndex(versionStrings), false);
addEzComponent(varInVersion); addEzComponent(varInVersion);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment