-
-
+
-
- ACL (Preview)
-
- ArmNN (Preview)
+
+
+ OpenVINO
+
+
+ ACL (Preview)
+
+ ArmNN (Preview)
+
+ CoreML (Preview)
MIGraphX (Preview)
NNAPI (Preview)
-
- OpenVINO
+
NUPHAR (Preview)
Rockchip NPU (Preview)
-
Vitis AI (Preview)
@@ -264,7 +267,7 @@
- Please select a combination of resources.
+ Please select a combination of resources
@@ -282,13 +285,13 @@
OS
-
OS list contains one item
+
OS list contains three items
-
- Linux
-
+
Linux
+
Windows
+
Mac
@@ -301,7 +304,7 @@
PyTorch
-
TensorFlow
+
C++
@@ -322,13 +325,14 @@
Hardware Acceleration
-
Hardware Acceleration list contains one item
+
Hardware Acceleration list contains four items
@@ -341,7 +345,7 @@
- Please select a combination of resources.
+ Please select a combination of resources
diff --git a/js/script.js b/js/script.js
index 937947503b..71abe80d73 100644
--- a/js/script.js
+++ b/js/script.js
@@ -10,10 +10,10 @@ var supportedOperatingSystemsNew = [
]
var opts = {
- os: getAnchorSelectedOS() || getDefaultSelectedOS(),
- architecture: 'X64',
- language: 'Python(3.6-3.9)',
- hardwareAcceleration: 'DefaultCPU',
+ os: '',
+ architecture: '',
+ language: '',
+ hardwareAcceleration: '',
};
var ot_opts = {
// os: getAnchorSelectedOS() || getDefaultSelectedOS(),
@@ -30,11 +30,15 @@ var language = $(".language > .r-option");
var hardwareAcceleration = $(".hardwareAcceleration > .r-option");
var ot_os = $(".ot_os > .r-option");
+var ot_tab = $('#OT_tab');
var ot_architecture = $(".ot_architecture > .r-option");
var ot_language = $(".ot_language > .r-option");
var ot_hardwareAcceleration = $(".ot_hardwareAcceleration > .r-option");
+var supported = true;
+var ot_defaultSelection = true;
+
function checkKeyPress(event) {
var keycode = (event.keyCode ? event.keyCode : event.which);
if (keycode == '13' || keycode == '32' || (keycode >= '37' && keycode <= '40')) {
@@ -45,9 +49,10 @@ function checkKeyPress(event) {
}
+
os.on("click", function () {
selectedOption(os, this, "os");
-
+
});
os.on("keypress keyup", function (event) {
if (checkKeyPress(event)) {
@@ -56,13 +61,15 @@ os.on("keypress keyup", function (event) {
});
ot_os.on("click", function () {
ot_selectedOption(ot_os, this, "ot_os");
-
});
ot_os.on("keypress keyup", function (event) {
if (checkKeyPress(event)) {
ot_selectedOption(ot_os, this, "ot_os");
}
});
+ot_tab.on("click", function() {
+ ot_commandMessage(ot_buildMatcher());
+});
architecture.on("click", function () {
selectedOption(architecture, this, "architecture");
});
@@ -111,64 +118,376 @@ ot_hardwareAcceleration.on("keypress keyup", function (event) {
ot_selectedOption(ot_hardwareAcceleration, this, "ot_hardwareAcceleration");
}
});
-// Pre-select user's operating system
-$(document).ready(function () {
- var userOsOption = document.getElementById(opts.os);
- var ot_userOsOption = document.getElementById(ot_opts.ot_os);
- if (userOsOption) {
- selectedOption(os, userOsOption, "os");
- }
- if (ot_userOsOption) {
- ot_selectedOption(ot_os, ot_userOsOption, "ot_os");
- }
-});
+
+
+// Pre-select user's operating system
+// $(document).ready(function () {
+// var userOsOption = document.getElementById(opts.os);
+// var ot_userOsOption = document.getElementById(ot_opts.ot_os);
+// if (userOsOption) {
+// selectedOption(os, userOsOption, "os");
+
+// }
+// if (ot_userOsOption) {
+// ot_selectedOption(ot_os, ot_userOsOption, "ot_os");
+// }
+// });
// determine os (mac, linux, windows) based on user's platform
-function getDefaultSelectedOS() {
- var platform = navigator.platform.toLowerCase();
- for (var idx = 0; idx < supportedOperatingSystemsNew.length; idx++ ) {
- if (platform.indexOf(supportedOperatingSystemsNew[idx].key) !== -1) {
- return supportedOperatingSystemsNew[idx].value;
- }
- }
- // Just return something if user platform is not in our supported map
- return supportedOperatingSystemsNew[0].value;
-}
+// function getDefaultSelectedOS() {
+// var platform = navigator.platform.toLowerCase();
+// for (var idx = 0; idx < supportedOperatingSystemsNew.length; idx++ ) {
+// if (platform.indexOf(supportedOperatingSystemsNew[idx].key) !== -1) {
+// return supportedOperatingSystemsNew[idx].value;
+// }
+// }
+// // Just return something if user platform is not in our supported map
+// return supportedOperatingSystemsNew[0].value;
+// }
// determine os based on location hash
-function getAnchorSelectedOS() {
- var anchor = location.hash;
- var ANCHOR_REGEX = /^#[^ ]+$/;
- // Look for anchor in the href
- if (!ANCHOR_REGEX.test(anchor)) {
- return false;
- }
- // Look for anchor with OS in the first portion
- var testOS = anchor.slice(1).split("-")[0];
- for (var idx = 0; idx < supportedOperatingSystemsNew.length; idx++ ) {
- if (testOS.indexOf(supportedOperatingSystemsNew[idx].key) !== -1) {
- return supportedOperatingSystemsNew[idx].value;
+// function getAnchorSelectedOS() {
+// var anchor = location.hash;
+// var ANCHOR_REGEX = /^#[^ ]+$/;
+// // Look for anchor in the href
+// if (!ANCHOR_REGEX.test(anchor)) {
+// return false;
+// }
+// // Look for anchor with OS in the first portion
+// var testOS = anchor.slice(1).split("-")[0];
+// for (var idx = 0; idx < supportedOperatingSystemsNew.length; idx++ ) {
+// if (testOS.indexOf(supportedOperatingSystemsNew[idx].key) !== -1) {
+// return supportedOperatingSystemsNew[idx].value;
+// }
+// }
+// return false;
+// }
+
+function checkValidity(){
+ var current_os = opts['os'];
+ var current_lang = opts['language'];
+ var current_arch = opts['architecture'];
+ var current_hw = opts['hardwareAcceleration'];
+
+ // console.log("current: "+current_os);
+ // console.log("current: "+current_arch);
+ // console.log("current: "+current_lang);
+ // console.log("current: "+current_hw);
+
+ var valid = Object.getOwnPropertyNames(validCombos);
+
+ //os section
+ for(var i =0; i
here",
+var ot_validCombos = {
+ //linux
+ "ot_linux,ot_PyTorch,ot_X64,ot_CUDA":
+ "Follow sample notebook from here",
- "ot_linux,ot_TensorFlow,ot_X64,ot_CUDA":
- "Coming Soon",
- };
- if (!ot_object.hasOwnProperty(key)) {
+ "ot_linux,ot_PyTorch,ot_X64,ot_DefaultCPU":
+ "Follow sample notebook from here",
+
+ "ot_linux,ot_PyTorch,ot_X64,ot_AMD":
+ "This combination of resources is not fully tested. It may be possible to build from source.",
+
+ "ot_linux,ot_PyTorch,ot_X64,ot_DNNL":
+ "This combination of resources is not fully tested. It may be possible to build from source.",
+
+ "ot_linux,ot_C++,ot_X64,ot_CUDA":
+ "This combination of resources is not fully tested. It may be possible to build from source.",
+
+ "ot_linux,ot_C++,ot_X64,ot_DefaultCPU":
+ "This combination of resources is not fully tested. It may be possible to build from source.",
+
+ //windows
+ "ot_windows,ot_PyTorch,ot_X64,ot_CUDA":
+ "This combination of resources is not fully tested. It may be possible to build from source.",
+
+ "ot_windows,ot_PyTorch,ot_X64,ot_DefaultCPU":
+ "This combination of resources is not fully tested. It may be possible to build from source.",
+
+ "ot_windows,ot_C++,ot_X64,ot_DefaultCPU":
+ "This combination of resources is not fully tested. It may be possible to build from source.",
+
+ "ot_windows,ot_C++,ot_X64,ot_CUDA":
+ "This combination of resources is not fully tested. It may be possible to build from source.",
+
+ //mac
+ "ot_mac,ot_PyTorch,ot_X64,ot_DefaultCPU":
+ "This combination of resources is not fully tested. It may be possible to build from source.",
+
+ "ot_mac,ot_C++,ot_X64,ot_DefaultCPU":
+ "This combination of resources is not fully tested. It may be possible to build from source."
+};
+
+function ot_commandMessage(key) {
+ $("#ot_command").removeClass("valid");
+ $("#ot_command").removeClass("invalid");
+
+ if(ot_opts['ot_os']=='' || ot_opts['ot_architecture'] == '' || ot_opts['ot_language']=='' || ot_opts['ot_hardwareAcceleration'] == ''){
+ // console.log(ot_opts);
$("#ot_command span").html(
- "Coming Soon"
- );
- } else {
- $("#ot_command span").html(ot_object[key]);
+ "Please select a combination of resources"
+ )
}
+ else if (!ot_validCombos.hasOwnProperty(key)) {
+ $("#ot_command span").html(
+ "This combination is not supported. De-select to make another selection."
+ )
+ $("#ot_command").addClass("invalid");
+ return false;
+ }
+ else {
+ $("#ot_command span").html(ot_validCombos[key]);
+ $("#ot_command").addClass("valid");
+ return true;
+ }
+
+ // //console.log('key- '+key);
+ // var ot_object = {
+ // "ot_linux,ot_PyTorch,ot_X64,ot_CUDA":
+ // "Follow sample notebook from here",
+
+ // "ot_linux,ot_TensorFlow,ot_X64,ot_CUDA":
+ // "Coming Soon",
+ // };
+ // if (!ot_object.hasOwnProperty(key)) {
+ // $("#ot_command span").html(
+ // "Coming Soon"
+ // );
+ // } else {
+ // $("#ot_command span").html(ot_object[key]);
+ // }
}
+var validCombos = {
+
+ "windows,C-API,X64,CUDA":
+ "Install Nuget package Microsoft.ML.OnnxRuntime.Gpu",
+
+ "windows,C++,X64,CUDA":
+ "Install Nuget package Microsoft.ML.OnnxRuntime.Gpu",
+
+ "windows,C#,X64,CUDA":
+ "Install Nuget package Microsoft.ML.OnnxRuntime.Gpu",
+
+ "windows,Python(3.6-3.9),X64,CUDA":
+ "pip install onnxruntime-gpu",
+
+ "linux,Python(3.6-3.9),ARM64,CUDA":
+ "For Jetpack 4.4+, follow installation instructions from here",
+
+ "linux,C-API,X64,CUDA":
+ "Download .tgz file from Github",
+
+ "linux,C++,X64,CUDA":
+ "Install Nuget package Microsoft.ML.OnnxRuntime.Gpu",
+
+ "linux,C#,X64,CUDA":
+ "Install Nuget package Microsoft.ML.OnnxRuntime.Gpu",
+
+ "linux,Python(3.6-3.9),X64,CUDA":
+ "pip install onnxruntime-gpu",
+
+ "linux,C-API,ARM32,DefaultCPU":
+ "Follow build instructions from here",
+
+ "linux,C++,ARM32,DefaultCPU":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),ARM32,DefaultCPU":
+ "Follow build instructions from here",
+
+ "windows,C-API,X64,DefaultCPU":
+ "Install Nuget package Microsoft.ML.OnnxRuntime",
+
+ "windows,C-API,X86,DefaultCPU":
+ "Install Nuget package Microsoft.ML.OnnxRuntime",
+
+ "windows,C-API,ARM32,DefaultCPU":
+ "Install Nuget package Microsoft.ML.OnnxRuntime",
+
+ "windows,C++,ARM32,DefaultCPU":
+ "Install Nuget package Microsoft.ML.OnnxRuntime",
+
+ "windows,C#,ARM32,DefaultCPU":
+ "Install Nuget package Microsoft.ML.OnnxRuntime",
+
+ "windows,C-API,ARM64,DefaultCPU":
+ "Install Nuget package Microsoft.ML.OnnxRuntime",
+
+ "windows,C++,ARM64,DefaultCPU":
+ "Install Nuget package Microsoft.ML.OnnxRuntime",
+
+ "windows,C#,ARM64,DefaultCPU":
+ "Install Nuget package Microsoft.ML.OnnxRuntime",
+
+ "windows,C++,X64,DefaultCPU":
+ "Install Nuget package Microsoft.ML.OnnxRuntime",
+
+ "windows,C++,X86,DefaultCPU":
+ "Install Nuget package Microsoft.ML.OnnxRuntime",
+
+ "windows,C#,X64,DefaultCPU":
+ "Install Nuget package Microsoft.ML.OnnxRuntime",
+
+ "windows,C#,X86,DefaultCPU":
+ "Install Nuget package Microsoft.ML.OnnxRuntime",
+
+ "linux,C-API,X64,DefaultCPU":
+ "Download .tgz file from Github",
+
+ "linux,C++,X64,DefaultCPU":
+ "Download .tgz file from Github",
+
+ "linux,C#,X64,DefaultCPU":
+ "Install Nuget package Microsoft.ML.OnnxRuntime",
+
+ "mac,C-API,X64,DefaultCPU":
+ "Download .tgz file from Github",
+
+ "mac,C++,X64,DefaultCPU":
+ "Download .tgz file from Github",
+
+ "mac,C#,X64,DefaultCPU":
+ "Download .tgz file from Github",
+
+ "windows,Python(3.6-3.9),X64,DefaultCPU":
+ "pip install onnxruntime",
+
+ "mac,Python(3.6-3.9),X64,DefaultCPU":
+ "pip install onnxruntime",
+
+ "linux,Python(3.6-3.9),X64,DefaultCPU":
+ "pip install onnxruntime",
+
+ "linux,Python(3.6-3.9),ARM64,DefaultCPU":
+ "pip install onnxruntime",
+
+ "windows,C-API,X64,DNNL":
+ "Follow build instructions from here",
+
+ "windows,C++,X64,DNNL":
+ "Follow build instructions from here",
+
+ "windows,C#,X64,DNNL":
+ "Follow build instructions from here",
+
+ "windows,Python(3.6-3.9),X64,DNNL":
+ "Follow build instructions from here",
+
+ "linux,C-API,X64,DNNL":
+ "Follow build instructions from here",
+
+ "linux,C++,X64,DNNL":
+ "Follow build instructions from here",
+
+ "linux,C#,X64,DNNL":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),X64,DNNL":
+ "Follow build instructions from here",
+
+ "linux,C-API,X64,nGraph":
+ "Follow build instructions from here",
+
+ "linux,C++,X64,nGraph":
+ "Follow build instructions from here",
+
+ "linux,C#,X64,nGraph":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),X64,nGraph":
+ "Follow build instructions from here",
+
+ "windows,C-API,X64,nGraph":
+ "Follow build instructions from here",
+
+ "windows,C++,X64,nGraph":
+ "Follow build instructions from here",
+
+ "windows,C#,X64,nGraph":
+ "Follow build instructions from here",
+
+ "windows,Python(3.6-3.9),X64,nGraph":
+ "Follow build instructions from here",
+
+ "windows,C-API,X64,NUPHAR":
+ "Follow build instructions from here",
+
+ "windows,C++,X64,NUPHAR":
+ "Follow build instructions from here",
+
+ "windows,C#,X64,NUPHAR":
+ "Follow build instructions from here",
+
+ "windows,Python(3.6-3.9),X64,NUPHAR":
+ "Follow build instructions from here",
+
+ "linux,C-API,X64,NUPHAR":
+ "Follow build instructions from here",
+
+ "linux,C++,X64,NUPHAR":
+ "Follow build instructions from here",
+
+ "linux,C#,X64,NUPHAR":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),X64,NUPHAR":
+ "Follow build instructions from here",
+
+ "linux,C-API,X64,OpenVINO":
+ "Follow build instructions from here",
+
+ "linux,C++,X64,OpenVINO":
+ "Follow build instructions from here",
+
+ "linux,C#,X64,OpenVINO":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),X64,OpenVINO":
+ "Follow build instructions from here",
+
+ "windows,C-API,X64,OpenVINO":
+ "Follow build instructions from here",
+
+ "windows,C++,X64,OpenVINO":
+ "Follow build instructions from here",
+
+ "windows,C#,X64,OpenVINO":
+ "Follow build instructions from here",
+
+ "windows,Python(3.6-3.9),X64,OpenVINO":
+ "Follow build instructions from here",
+
+ "windows,C-API,X64,TensorRT":
+ "Follow build instructions from here",
+
+ "windows,C++,X64,TensorRT":
+ "Follow build instructions from here",
+
+ "windows,C#,X64,TensorRT":
+ "Follow build instructions from here",
+
+ "windows,Python(3.6-3.9),X64,TensorRT":
+ "Follow build instructions from here",
+
+ "linux,C-API,X64,TensorRT":
+ "Follow build instructions from here",
+
+ "linux,C++,X64,TensorRT":
+ "Follow build instructions from here",
+
+ "linux,C#,X64,TensorRT":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),X64,TensorRT":
+ "Follow build instructions from here",
+
+ "linux,C-API,ARM64,TensorRT":
+ "Follow build instructions from here",
+
+ "linux,C++,ARM64,TensorRT":
+ "Follow build instructions from here",
+
+ "linux,C#,ARM64,TensorRT":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),ARM64,TensorRT":
+ "Follow build instructions from here",
+
+ "mac,C-API,X86,DefaultCPU":
+ "This combination of resources has not yet been tested. It may be possible to build from source.",
+
+ "mac,C++,X86,DefaultCPU":
+ "This combination of resources has not yet been tested. It may be possible to build from source.",
+
+ "mac,C#,X86,DefaultCPU":
+ "This combination of resources has not yet been tested. It may be possible to build from source.",
+
+ "mac,Python(3.6-3.9),X86,DefaultCPU":
+ "This combination of resources has not yet been tested. It may be possible to build from source.",
+
+ "windows,C-API,X86,DirectML":
+ "Install Nuget package Microsoft.ML.OnnxRuntime.DirectML",
+
+ "windows,C++,X86,DirectML":
+ "Install Nuget package Microsoft.ML.OnnxRuntime.DirectML",
+
+ "windows,C#,X86,DirectML":
+ "Install Nuget package Microsoft.ML.OnnxRuntime.DirectML",
+
+ "windows,Python(3.6-3.9),X86,DirectML":
+ "Follow build instructions from here",
+
+ "windows,C-API,X64,DirectML":
+ "Install Nuget package Microsoft.ML.OnnxRuntime.DirectML",
+
+ "windows,C++,X64,DirectML":
+ "Install Nuget package Microsoft.ML.OnnxRuntime.DirectML",
+
+ "windows,C#,X64,DirectML":
+ "Install Nuget package Microsoft.ML.OnnxRuntime.DirectML",
+
+ "windows,Python(3.6-3.9),X64,DirectML":
+ "Follow build instructions from here",
+
+ "linux,Java,X64,DefaultCPU":
+ "Add a dependency on com.microsoft.onnxruntime:onnxruntime using Maven/Gradle",
+
+ "linux,Java,X64,CUDA":
+ "Add a dependency on com.microsoft.onnxruntime:onnxruntime_gpu using Maven/Gradle",
+
+ "linux,Javascript,X64,DefaultCPU":
+ "npm install onnxruntime",
+
+ "mac,Java,X64,DefaultCPU":
+ "Add a dependency on com.microsoft.onnxruntime:onnxruntime using Maven/Gradle",
+
+ "mac,Javascript,X64,DefaultCPU":
+ "npm install onnxruntime",
+
+ "windows,WinRT,X86,DefaultCPU":
+ "Install Nuget package Microsoft.AI.MachineLearning",
+
+ "windows,WinRT,X64,DefaultCPU":
+ "Install Nuget package Microsoft.AI.MachineLearning",
+
+ "windows,WinRT,ARM64,DefaultCPU":
+ "Install Nuget package Microsoft.AI.MachineLearning",
+
+ "windows,WinRT,ARM32,DefaultCPU":
+ "Install Nuget package Microsoft.AI.MachineLearning",
+
+ "windows,WinRT,X86,DirectML":
+ "Install Nuget package Microsoft.AI.MachineLearning",
+
+ "windows,WinRT,X64,DirectML":
+ "Install Nuget package Microsoft.AI.MachineLearning",
+
+ "windows,Java,X64,DefaultCPU":
+ "Add a dependency on com.microsoft.onnxruntime:onnxruntime using Maven/Gradle",
+
+ "windows,Java,X64,CUDA":
+ "Add a dependency on com.microsoft.onnxruntime:onnxruntime_gpu using Maven/Gradle",
+
+ "windows,Java,X64,TensorRT":
+ "Follow build and API instructions",
+
+ "windows,Java,X64,DNNL":
+ "Follow build and API instructions",
+
+ "windows,Java,X64,MKL-ML":
+ "Follow build and API instructions",
+
+ "windows,Java,X64,nGraph":
+ "Follow build and API instructions",
+
+ "windows,Java,X64,NUPHAR":
+ "Follow build and API instructions",
+
+ "windows,Java,X64,OpenVINO":
+ "Follow build and API instructions",
+
+ "linux,Java,X64,TensorRT":
+ "Follow build and API instructions",
+
+ "linux,Java,X64,DNNL":
+ "Follow build and API instructions",
+
+ "linux,Java,X64,MKL-ML":
+ "Follow build and API instructions",
+
+ "linux,Java,X64,nGraph":
+ "Follow build and API instructions",
+
+ "linux,Java,X64,NUPHAR":
+ "Follow build and API instructions",
+
+ "linux,Java,X64,OpenVINO":
+ "Follow build and API instructions",
+
+ "windows,Javascript,X64,DefaultCPU":
+ "npm install onnxruntime",
+
+ "android,C-API,ARM64,NNAPI":
+ "Follow build instructions from here",
+
+ "android,C++,ARM64,NNAPI":
+ "Follow build instructions from here",
+
+ "android,Java,ARM64,NNAPI":
+ "Follow build and API instructions",
+
+ "android,C-API,ARM64,DefaultCPU":
+ "Follow build instructions from here",
+
+ "android,C++,ARM64,DefaultCPU":
+ "Follow build instructions from here",
+
+ "android,Java,ARM64,DefaultCPU":
+ "Follow build and API instructions",
+
+ "android,C-API,ARM32,DefaultCPU":
+ "Follow build instructions from here",
+
+ "android,C++,ARM32,DefaultCPU":
+ "Follow build instructions from here",
+
+ "android,Java,ARM32,DefaultCPU":
+ "Follow build and API instructions",
+
+ "android,C-API,X86,DefaultCPU":
+ "Follow build instructions from here",
+
+ "android,C++,X86,DefaultCPU":
+ "Follow build instructions from here",
+
+ "android,Java,X86,DefaultCPU":
+ "Follow build and API instructions",
+
+ "android,C-API,X64,DefaultCPU":
+ "Follow build instructions from here",
+
+ "android,C++,X64,DefaultCPU":
+ "Follow build instructions from here",
+
+ "android,Java,X64,DefaultCPU":
+ "Follow build and API instructions",
+
+ "ios,C-API,ARM64,DefaultCPU":
+ "Follow build instructions from here",
+
+ "ios,C++,ARM64,DefaultCPU":
+ "Follow build instructions from here",
+
+ "ios,C-API,ARM64,CoreML":
+ "Coming soon!",
+
+ "ios,C++,ARM64,CoreML":
+ "Coming soon!",
+
+ "windows,Python(3.6-3.9),X86,VitisAI":
+ "Follow build instructions from here",
+
+ "windows,C-API,X86,VitisAI":
+ "Follow build instructions from here",
+
+ "windows,C++,X86,VitisAI":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),X86,VitisAI":
+ "Follow build instructions from here",
+
+ "linux,C-API,X86,VitisAI":
+ "Follow build instructions from here",
+
+ "linux,C++,X86,VitisAI":
+ "Follow build instructions from here",
+
+ "windows,Python(3.6-3.9),X86,MIGraphX":
+ "Follow build instructions from here",
+
+ "windows,C-API,X86,MIGraphX":
+ "Follow build instructions from here",
+
+ "windows,C++,X86,MIGraphX":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),X86,MIGraphX":
+ "Follow build instructions from here",
+
+ "linux,C-API,X86,MIGraphX":
+ "Follow build instructions from here",
+
+ "linux,C++,X86,MIGraphX":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),ARM64,ACL":
+ "Follow build instructions from here",
+
+ "linux,C-API,ARM64,ACL":
+ "Follow build instructions from here",
+
+ "linux,C++,ARM64,ACL":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),ARM32,ACL":
+ "Follow build instructions from here",
+
+ "linux,C-API,ARM32,ACL":
+ "Follow build instructions from here",
+
+ "linux,C++,ARM32,ACL":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),ARM64,ArmNN":
+ "Follow build instructions from here",
+
+ "linux,C-API,ARM64,ArmNN":
+ "Follow build instructions from here",
+
+ "linux,C++,ARM64,ArmNN":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),ARM32,ArmNN":
+ "Follow build instructions from here",
+
+ "linux,C-API,ARM32,ArmNN":
+ "Follow build instructions from here",
+
+ "linux,C++,ARM32,ArmNN":
+ "Follow build instructions from here",
+
+ "linux,Python(3.6-3.9),ARM64,RockchipNPU":
+ "Follow build instructions from here",
+
+ "linux,C-API,ARM64,RockchipNPU":
+ "Follow build instructions from here",
+
+ "linux,C++,ARM64,RockchipNPU":
+ "Follow build instructions from here",
+
+ "mac,C-API,ARM64,CoreML":
+ "Coming soon!",
+
+ "mac,C++,ARM64,CoreML":
+ "Coming soon!",
+
+ "mac,Java,ARM64,CoreML":
+ "Coming soon!",
+
+ "mac,C-API,ARM64,CoreML":
+ "Coming soon!"
+
+};
+
function commandMessage(key) {
// console.log('key- '.key);
- var object = {
-
- "windows,C,X64,CUDA":
- "Install Nuget package Microsoft.ML.OnnxRuntime.Gpu",
- "windows,C++,X64,CUDA":
- "Install Nuget package Microsoft.ML.OnnxRuntime.Gpu",
+ $("#command").removeClass("valid");
+ $("#command").removeClass("invalid");
- "windows,C#,X64,CUDA":
- "Install Nuget package Microsoft.ML.OnnxRuntime.Gpu",
- "windows,Python(3.6-3.9),X64,CUDA":
- "pip install onnxruntime-gpu",
-
- "linux,Python(3.6-3.9),ARM64,CUDA":
- "For Jetpack 4.4+, follow installation instructions from here",
-
- "linux,C,X64,CUDA":
- "Download .tgz file from Github",
-
- "linux,C++,X64,CUDA":
- "Install Nuget package Microsoft.ML.OnnxRuntime.Gpu",
-
- "linux,C#,X64,CUDA":
- "Install Nuget package Microsoft.ML.OnnxRuntime.Gpu",
-
- "linux,Python(3.6-3.9),X64,CUDA":
- "pip install onnxruntime-gpu",
-
- "windows,C,ARM32,DirectML":
- "Follow build instructions from here",
-
- "windows,C++,ARM32,DirectML":
- "Follow build instructions from here",
-
- "windows,C#,ARM32,DirectML":
- "Follow build instructions from here",
-
- "windows,Python(3.6-3.9),ARM32,DirectML":
- "Follow build instructions from here",
-
- "mac,C,ARM32,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,ARM32,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,ARM32,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),ARM32,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,C,ARM32,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,C++,ARM32,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,C#,ARM32,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,Python(3.6-3.9),ARM32,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "windows,C,ARM64,DirectML":
- "Follow build instructions from here",
-
- "windows,C++,ARM64,DirectML":
- "Follow build instructions from here",
-
- "windows,C#,ARM64,DirectML":
- "Follow build instructions from here",
-
- "windows,Python(3.6-3.9),ARM64,DirectML":
- "Follow build instructions from here",
-
- "linux,C,ARM32,DefaultCPU":
- "Follow build instructions from here",
-
- "linux,C++,ARM32,DefaultCPU":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),ARM32,DefaultCPU":
- "Follow build instructions from here",
-
- "windows,C,X64,DefaultCPU":
- "Install Nuget package Microsoft.ML.OnnxRuntime",
-
- "windows,C,X86,DefaultCPU":
- "Install Nuget package Microsoft.ML.OnnxRuntime",
-
- "windows,C,ARM32,DefaultCPU":
- "Install Nuget package Microsoft.ML.OnnxRuntime",
-
- "windows,C++,ARM32,DefaultCPU":
- "Install Nuget package Microsoft.ML.OnnxRuntime",
-
- "windows,C#,ARM32,DefaultCPU":
- "Install Nuget package Microsoft.ML.OnnxRuntime",
-
- "windows,C,ARM64,DefaultCPU":
- "Install Nuget package Microsoft.ML.OnnxRuntime",
-
- "windows,C++,ARM64,DefaultCPU":
- "Install Nuget package Microsoft.ML.OnnxRuntime",
-
- "windows,C#,ARM64,DefaultCPU":
- "Install Nuget package Microsoft.ML.OnnxRuntime",
-
- "windows,C++,X64,DefaultCPU":
- "Install Nuget package Microsoft.ML.OnnxRuntime",
- "windows,C++,X86,DefaultCPU":
- "Install Nuget package Microsoft.ML.OnnxRuntime",
-
- "windows,C#,X64,DefaultCPU":
- "Install Nuget package Microsoft.ML.OnnxRuntime",
-
- "windows,C#,X86,DefaultCPU":
- "Install Nuget package Microsoft.ML.OnnxRuntime",
-
-
- "linux,C,X64,DefaultCPU":
- "Download .tgz file from Github",
-
- "linux,C++,X64,DefaultCPU":
- "Download .tgz file from Github",
-
- "linux,C#,X64,DefaultCPU":
- "Install Nuget package Microsoft.ML.OnnxRuntime",
-
- "mac,C,X64,DefaultCPU":
- "Download .tgz file from Github",
-
- "mac,C++,X64,DefaultCPU":
- "Download .tgz file from Github",
-
- "mac,C#,X64,DefaultCPU":
- "Download .tgz file from Github",
-
- "windows,Python(3.6-3.9),X64,DefaultCPU":
- "pip install onnxruntime",
-
- "mac,Python(3.6-3.9),X64,DefaultCPU":
- "pip install onnxruntime",
-
- "linux,Python(3.6-3.9),X64,DefaultCPU":
- "pip install onnxruntime",
-
- "linux,Python(3.6-3.9),ARM64,DefaultCPU":
- "pip install onnxruntime",
-
- "windows,C,X64,DNNL":
- "Follow build instructions from here",
-
- "windows,C++,X64,DNNL":
- "Follow build instructions from here",
-
- "windows,C#,X64,DNNL":
- "Follow build instructions from here",
-
- "windows,Python(3.6-3.9),X64,DNNL":
- "Follow build instructions from here",
-
- "linux,C,X64,DNNL":
- "Follow build instructions from here",
-
- "linux,C++,X64,DNNL":
- "Follow build instructions from here",
-
- "linux,C#,X64,DNNL":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),X64,DNNL":
- "Follow build instructions from here",
-
- "windows,C,X64,MKL-ML":
- "Install Nuget package Microsoft.ML.OnnxRuntime.MKLML",
-
- "windows,C++,X64,MKL-ML":
- "Install Nuget package Microsoft.ML.OnnxRuntime.MKLML",
-
- "windows,C#,X64,MKL-ML": "Install Nuget package Microsoft.ML.OnnxRuntime.MKLML",
-
- "linux,C,X64,MKL-ML":
- "Install Nuget package Microsoft.ML.OnnxRuntime.MKLML",
-
- "linux,C++,X64,MKL-ML":
- "Install Nuget package Microsoft.ML.OnnxRuntime.MKLML",
-
- "linux,C#,X64,MKL-ML":
- "Install Nuget package Microsoft.ML.OnnxRuntime.MKLML",
-
- "mac,C,X64,MKL-ML":
- "Install Nuget package Microsoft.ML.OnnxRuntime.MKLML",
-
- "mac,C++,X64,MKL-ML":
- "Install Nuget package Microsoft.ML.OnnxRuntime.MKLML",
-
- "mac,C#,X64,MKL-ML":
- "Install Nuget package Microsoft.ML.OnnxRuntime.MKLML",
-
- "linux,C,X64,nGraph":
- "Follow build instructions from here",
-
- "linux,C++,X64,nGraph":
- "Follow build instructions from here",
-
- "linux,C#,X64,nGraph":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),X64,nGraph":
- "Follow build instructions from here",
-
- "windows,C,X64,nGraph":
- "Follow build instructions from here",
-
- "windows,C++,X64,nGraph":
- "Follow build instructions from here",
-
- "windows,C#,X64,nGraph":
- "Follow build instructions from here",
-
- "windows,Python(3.6-3.9),X64,nGraph":
- "Follow build instructions from here",
-
- "windows,C,X64,NUPHAR":
- "Follow build instructions from here",
-
- "windows,C++,X64,NUPHAR":
- "Follow build instructions from here",
-
- "windows,C#,X64,NUPHAR":
- "Follow build instructions from here",
-
- "windows,Python(3.6-3.9),X64,NUPHAR":
- "Follow build instructions from here",
-
- "linux,C,X64,NUPHAR":
- "Follow build instructions from here",
-
- "linux,C++,X64,NUPHAR":
- "Follow build instructions from here",
-
- "linux,C#,X64,NUPHAR":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),X64,NUPHAR":
- "Follow build instructions from here",
-
- "linux,C,X64,OpenVINO":
- "Follow build instructions from here",
-
- "linux,C++,X64,OpenVINO":
- "Follow build instructions from here",
-
- "linux,C#,X64,OpenVINO":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),X64,OpenVINO":
- "Follow build instructions from here",
-
- "windows,C,X64,OpenVINO":
- "Follow build instructions from here",
-
- "windows,C++,X64,OpenVINO":
- "Follow build instructions from here",
-
- "windows,C#,X64,OpenVINO":
- "Follow build instructions from here",
-
- "windows,Python(3.6-3.9),X64,OpenVINO":
- "Follow build instructions from here",
-
- "windows,C,X64,TensorRT":
- "Follow build instructions from here",
-
- "windows,C++,X64,TensorRT":
- "Follow build instructions from here",
-
- "windows,C#,X64,TensorRT":
- "Follow build instructions from here",
-
- "windows,Python(3.6-3.9),X64,TensorRT":
- "Follow build instructions from here",
-
- "linux,C,X64,TensorRT":
- "Follow build instructions from here",
-
- "linux,C++,X64,TensorRT":
- "Follow build instructions from here",
-
- "linux,C#,X64,TensorRT":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),X64,TensorRT":
- "Follow build instructions from here",
-
- "linux,C,ARM64,TensorRT":
- "Follow build instructions from here",
-
- "linux,C++,ARM64,TensorRT":
- "Follow build instructions from here",
-
- "linux,C#,ARM64,TensorRT":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),ARM64,TensorRT":
- "Follow build instructions from here",
-
- "mac,C,X64,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,X86,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,ARM32,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,ARM32,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X64,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X86,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,ARM32,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),ARM32,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X64,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X86,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,ARM32,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,ARM32,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X64,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X86,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,ARM32,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),ARM32,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,X64,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,X86,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,ARM32,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,ARM32,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X64,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X86,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,ARM32,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),ARM32,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X64,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X86,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,ARM64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,ARM64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X64,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X86,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,ARM64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),ARM64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,X64,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,X86,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,ARM32,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,ARM32,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X64,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X86,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,ARM32,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),ARM32,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X64,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X86,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,ARM64,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X64,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X86,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,ARM64,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,ARM64,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,C,ARM64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,C++,ARM64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),ARM64,nGraph":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,ARM64,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,C#,ARM64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,Python(3.6-3.9),ARM64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,ARM64,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,ARM64,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "windows,C,X64,DirectML":
- "Install Nuget package Microsoft.ML.OnnxRuntime.DirectML",
-
- "windows,C++,X64,DirectML":
- "Install Nuget package Microsoft.ML.OnnxRuntime.DirectML",
-
- "mac,Python(3.6-3.9),ARM64,CUDA":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,ARM64,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "windows,C#,X64,DirectML":
- "Follow build instructions from here",
-
- "windows,Python(3.6-3.9),X64,DirectML":
- "Follow build instructions from here",
-
- "mac,C++,ARM64,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,ARM64,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,X64,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,X86,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),ARM64,TensorRT":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,X64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X64,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X86,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X64,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X86,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,ARM64,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X64,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X86,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,ARM64,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,ARM64,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),ARM64,OpenVINO":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,X86,NUPHAR":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X86,NUPHAR":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X86,NUPHAR":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X86,NUPHAR":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,X86,DefaultCPU":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X86,DefaultCPU":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X86,DefaultCPU":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X86,DefaultCPU":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,X86,MKL-ML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X86,MKL-ML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X86,MKL-ML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X86,MKL-ML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C,X86,DNNL":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X86,DNNL":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X86,DNNL":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X86,DNNL":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,C,X64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,C++,X64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,C#,X64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,Python(3.6-3.9),X64,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "windows,C,X86,DirectML":
- "Install Nuget package Microsoft.ML.OnnxRuntime.DirectML",
-
- "windows,C++,X86,DirectML":
- "Install Nuget package Microsoft.ML.OnnxRuntime.DirectML",
-
- "windows,C#,X86,DirectML":
- "Follow build instructions from here",
-
- "windows,Python(3.6-3.9),X86,DirectML":
- "Follow build instructions from here",
-
- "mac,C,X86,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C++,X86,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,C#,X86,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "mac,Python(3.6-3.9),X86,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,C,X86,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,C++,X86,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,C#,X86,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,Python(3.6-3.9),X86,DirectML":
- "This combination of resources has not yet been tested. It may be possible to build from source.",
-
- "linux,Java,X64,DefaultCPU":
- "Add a dependency on com.microsoft.onnxruntime:onnxruntime using Maven/Gradle",
-
- "linux,Java,X64,CUDA":
- "Add a dependency on com.microsoft.onnxruntime:onnxruntime_gpu using Maven/Gradle",
-
- "linux,Javascript,X64,DefaultCPU":
- "npm install onnxruntime",
-
- "mac,Java,X64,DefaultCPU":
- "Add a dependency on com.microsoft.onnxruntime:onnxruntime using Maven/Gradle",
-
- "mac,Javascript,X64,DefaultCPU":
- "npm install onnxruntime",
-
- "windows,WinRT,X86,DefaultCPU":
- "Install Nuget package Microsoft.AI.MachineLearning",
-
- "windows,WinRT,X64,DefaultCPU":
- "Install Nuget package Microsoft.AI.MachineLearning",
-
- "windows,WinRT,ARM64,DefaultCPU":
- "Install Nuget package Microsoft.AI.MachineLearning",
-
- "windows,WinRT,ARM32,DefaultCPU":
- "Install Nuget package Microsoft.AI.MachineLearning",
-
- "windows,WinRT,X86,DirectML":
- "Install Nuget package Microsoft.AI.MachineLearning",
-
- "windows,WinRT,X64,DirectML":
- "Install Nuget package Microsoft.AI.MachineLearning",
-
- "windows,Java,X64,DefaultCPU":
- "Add a dependency on com.microsoft.onnxruntime:onnxruntime using Maven/Gradle",
-
- "windows,Java,X64,CUDA":
- "Add a dependency on com.microsoft.onnxruntime:onnxruntime_gpu using Maven/Gradle",
-
- "windows,Java,X64,TensorRT":
- "Follow build and API instructions",
-
- "windows,Java,X64,DNNL":
- "Follow build and API instructions",
-
- "windows,Java,X64,MKL-ML":
- "Follow build and API instructions",
-
- "windows,Java,X64,nGraph":
- "Follow build and API instructions",
-
- "windows,Java,X64,NUPHAR":
- "Follow build and API instructions",
-
- "windows,Java,X64,OpenVINO":
- "Follow build and API instructions",
-
- "linux,Java,X64,TensorRT":
- "Follow build and API instructions",
-
- "linux,Java,X64,DNNL":
- "Follow build and API instructions",
-
- "linux,Java,X64,MKL-ML":
- "Follow build and API instructions",
-
- "linux,Java,X64,nGraph":
- "Follow build and API instructions",
-
- "linux,Java,X64,NUPHAR":
- "Follow build and API instructions",
-
- "linux,Java,X64,OpenVINO":
- "Follow build and API instructions",
-
- "windows,Javascript,X64,DefaultCPU":
- "npm install onnxruntime",
-
- "android,C,X86,DefaultCPU":
- "Follow build instructions from here",
-
- "android,C++,X86,DefaultCPU":
- "Follow build instructions from here",
-
- "android,Java,X86,DefaultCPU":
- "Follow build and API instructions",
-
- "android,C,ARM64,DefaultCPU":
- "Follow build instructions from here",
-
- "android,C++,ARM64,DefaultCPU":
- "Follow build instructions from here",
-
- "android,Java,ARM64,DefaultCPU":
- "Follow build and API instructions",
-
- "android,C,X86,NNAPI":
- "Follow build instructions from here",
-
- "android,C++,X86,NNAPI":
- "Follow build instructions from here",
-
- "android,Java,X86,NNAPI":
- "Follow build and API instructions",
-
- "android,C,ARM64,NNAPI":
- "Follow build instructions from here",
-
- "android,C++,ARM64,NNAPI":
- "Follow build instructions from here",
-
- "android,Java,ARM64,NNAPI":
- "Follow build and API instructions",
-
- "ios,C,ARM64,DefaultCPU":
- "Follow build instructions from here",
-
- "ios,C++,ARM64,DefaultCPU":
- "Follow build instructions from here",
-
- "windows,Python(3.6-3.9),X86,VitisAI":
- "Follow build instructions from here",
-
- "windows,C,X86,VitisAI":
- "Follow build instructions from here",
-
- "windows,C++,X86,VitisAI":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),X86,VitisAI":
- "Follow build instructions from here",
-
- "linux,C,X86,VitisAI":
- "Follow build instructions from here",
-
- "linux,C++,X86,VitisAI":
- "Follow build instructions from here",
-
- "windows,Python(3.6-3.9),X86,MIGraphX":
- "Follow build instructions from here",
-
- "windows,C,X86,MIGraphX":
- "Follow build instructions from here",
-
- "windows,C++,X86,MIGraphX":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),X86,MIGraphX":
- "Follow build instructions from here",
-
- "linux,C,X86,MIGraphX":
- "Follow build instructions from here",
-
- "linux,C++,X86,MIGraphX":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),ARM64,ACL":
- "Follow build instructions from here",
-
- "linux,C,ARM64,ACL":
- "Follow build instructions from here",
-
- "linux,C++,ARM64,ACL":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),ARM32,ACL":
- "Follow build instructions from here",
-
- "linux,C,ARM32,ACL":
- "Follow build instructions from here",
-
- "linux,C++,ARM32,ACL":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),ARM64,ArmNN":
- "Follow build instructions from here",
-
- "linux,C,ARM64,ArmNN":
- "Follow build instructions from here",
-
- "linux,C++,ARM64,ArmNN":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),ARM32,ArmNN":
- "Follow build instructions from here",
-
- "linux,C,ARM32,ArmNN":
- "Follow build instructions from here",
-
- "linux,C++,ARM32,ArmNN":
- "Follow build instructions from here",
-
- "linux,Python(3.6-3.9),ARM64,RockchipNPU":
- "Follow build instructions from here",
-
- "linux,C,ARM64,RockchipNPU":
- "Follow build instructions from here",
-
- "linux,C++,ARM64,RockchipNPU":
- "Follow build instructions from here",
-
-
- };
-
- if (!object.hasOwnProperty(key)) {
+ if(opts['os']=='' || opts['architecture'] == '' || opts['language']=='' || opts['hardwareAcceleration'] == ''){
$("#command span").html(
- "This combination of resources has not yet been tested. It may be possible to build from source."
- );
+ "Please select a combination of resources"
+ )
+
+ }
+ else if (!validCombos.hasOwnProperty(key)) {
+ $("#command span").html(
+ "This combination is not supported. De-select to make another selection."
+ )
+ $("#command").addClass("invalid");
+ return false;
} else {
- $("#command span").html(object[key]);
+ $("#command span").html(validCombos[key]);
+ // console.log(element);
+ $("#command").addClass("valid");
+ return true;
}
}
-
//Accesibility Get started tabel
var KEYCODE = {
DOWN: 40,