579
edits
No edit summary |
No edit summary |
||
Line 1,630: | Line 1,630: | ||
</html> | </html> | ||
== Jetson TX2 == | |||
=== FPS Measurements === | |||
<html> | |||
<style> | |||
.button { | |||
background-color: #008CBA; | |||
border: none; | |||
color: white; | |||
padding: 15px 32px; | |||
text-align: center; | |||
text-decoration: none; | |||
display: inline-block; | |||
font-size: 16px; | |||
margin: 4px 2px; | |||
cursor: pointer; | |||
} | |||
</style> | |||
<div id="chart_fps_tx2" style="margin: auto; width: 800px; height: 500px;"></div> | |||
<script> | |||
google.charts.load('current', {'packages':['corechart', 'bar']}); | |||
google.charts.setOnLoadCallback(drawStuffTx2Fps); | |||
function drawStuffTx2Fps() { | |||
var chartDiv_Fps_Tx2 = document.getElementById('chart_fps_tx2'); | |||
var table_models_fps_tx2 = google.visualization.arrayToDataTable([ | |||
['Model', //Column 0 | |||
'TensorRT \n TX2'], //Column 1 | |||
['InceptionV1', 62.5], //row 1 | |||
['InceptionV2', 0], //row 2 | |||
['InceptionV3', 20.2], //row 3 | |||
['InceptionV4', 11.22], //row 4 | |||
['TinyYoloV2', 33.8], //row 5 | |||
['TinyYoloV3', 0] //row 6 | |||
]); | |||
var Tx2_materialOptions_fps = { | |||
width: 500, | |||
chart: { | |||
title: 'Model Vs FPS per backend', | |||
}, | |||
series: { | |||
}, | |||
axes: { | |||
y: { | |||
distance: {side: 'left',label: 'FPS'}, // Left y-axis. | |||
} | |||
} | |||
}; | |||
var materialChart_tx2_fps = new google.charts.Bar(chartDiv_Fps_Tx2); | |||
view_tx2_fps = new google.visualization.DataView(table_models_fps_tx2); | |||
function drawMaterialChart() { | |||
var materialChart_tx2_fps = new google.charts.Bar(chartDiv_Fps_Tx2); | |||
materialChart_tx2_fps.draw(table_models_fps_tx2, google.charts.Bar.convertOptions(Tx2_materialOptions_fps)); | |||
init_charts(); | |||
} | |||
function init_charts(){ | |||
view_tx2_fps.setColumns([0,1]); | |||
materialChart_tx2_fps.draw(view_tx2_fps, Tx2_materialOptions_fps); | |||
} | |||
drawMaterialChart(); | |||
} | |||
</script> | |||
</html> | |||
=== CPU Load Measurements === | |||
<html> | |||
<style> | |||
.button { | |||
background-color: #008CBA; | |||
border: none; | |||
color: white; | |||
padding: 15px 32px; | |||
text-align: center; | |||
text-decoration: none; | |||
display: inline-block; | |||
font-size: 16px; | |||
margin: 4px 2px; | |||
cursor: pointer; | |||
} | |||
</style> | |||
<div id="chart_cpu_tx2" style="margin: auto; width: 800px; height: 500px;"></div> | |||
<script> | |||
google.charts.load('current', {'packages':['corechart', 'bar']}); | |||
google.charts.setOnLoadCallback(drawStuffTx2Cpu); | |||
function drawStuffTx2Cpu() { | |||
var chartDiv_Cpu_Tx2 = document.getElementById('chart_cpu_tx2'); | |||
var table_models_cpu_tx2 = google.visualization.arrayToDataTable([ | |||
['Model', //Column 0 | |||
'TensorRT \n TX2'], //Column 1 | |||
['InceptionV1', 21], //row 1 | |||
['InceptionV2', 0], //row 2 | |||
['InceptionV3', 10], //row 3 | |||
['InceptionV4', 7], //row 4 | |||
['TinyYoloV2', 19], //row 5 | |||
['TinyYoloV3', 0] //row 6 | |||
]); | |||
var Tx2_materialOptions_cpu = { | |||
width: 500, | |||
chart: { | |||
title: 'Model Vs CPU Load per backend', | |||
}, | |||
series: { | |||
}, | |||
axes: { | |||
y: { | |||
distance: {side: 'left',label: 'FPS'}, // Left y-axis. | |||
} | |||
} | |||
}; | |||
var materialChart_tx2_cpu = new google.charts.Bar(chartDiv_Cpu_Tx2); | |||
view_tx2_cpu = new google.visualization.DataView(table_models_cpu_tx2); | |||
function drawMaterialChart() { | |||
var materialChart_tx2_cpu = new google.charts.Bar(chartDiv_Cpu_Tx2); | |||
materialChart_tx2_cpu.draw(table_models_cpu_tx2, google.charts.Bar.convertOptions(Tx2_materialOptions_cpu)); | |||
init_charts(); | |||
} | |||
function init_charts(){ | |||
view_tx2_cpu.setColumns([0,1]); | |||
materialChart_tx2_cpu.draw(view_tx2_cpu, Tx2_materialOptions_cpu); | |||
} | |||
drawMaterialChart(); | |||
} | |||
</script> | |||
</html> | |||
== Jetson Nano == | |||
== Google Coral == | |||
<noinclude> | <noinclude> | ||
{{GstInference/Foot|Example Applications/DispTec|Model Zoo}} | {{GstInference/Foot|Example Applications/DispTec|Model Zoo}} | ||
</noinclude> | </noinclude> |
edits