<!DOCTYPE html>
<html lang="en">

<head>
	<title>MoePhoto {{version}} 系统信息</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="" />
	<script type="application/x-javascript">
		addEventListener("load", function () {
			setTimeout(hideURLbar, 0);
		}, false);

		function hideURLbar() {
			window.scrollTo(0, 1);
		}
	</script>
</head>

<body>
	<!-- banner -->
	{% autoescape true %} {{header| safe}} {% endautoescape %}
	<!-- //banner -->
	<!-- about -->
	<div class="about agileinfo">
		<div class="container">
			<h3 class="agileits-title">系统信息</h3>
			<div class="col-sm-6 about-w3right">
				<img src="static/images/img5.jpg" alt="" />
			</div>
			<div class="col-sm-6 about-w3left">
				<h4>Moe Photo Image Toolbox
					<br> 系统状态</h4>
				<p> CPU物理核心:{{cpu_count_phy}} </p>
				<p> CPU逻辑核心:{{cpu_count_log}} </p>
				<p> CPU频率:{{cpu_freq}} MHz</p>
				<p> 系统总内存:{{mem_total}} MB</p>
				<p> 系统空闲内存:{{mem_free}} MB</p>
				<p> 总工作硬盘空间:{{disk_total}} MB</p>
				<p> 可用工作硬盘空间:{{disk_free}} MB</p>
				<p> MoePhoto版本:{{version}}</p>
				<p> Python版本:{{python}}</p>
				<p> PyTorch版本:{{torch}}</p>
				<p> CUDA版本:{{cuda}}</p>
				<p> CuDNN版本:{{cudnn}}</p>
				<ul>
					{% for gpu in gpus %}
					<li>
						<p> 显卡型号:{{gpu['name']}}</p>
						<p> 显卡CUDA能力:{{gpu['capability']}}</p>
						<p> 处理器数量:{{gpu['processor_count']}}</p>
						<p> 总显存:{{gpu['total_memory']}} MB</p>
						<p> 空余显存:<span class="freeGPUMemory"></span> MB</p>
					</li>
					{% endfor %}
				</ul>
				{% if session %}
				<p> 当前会话:{{session}}</p>
				<p> 当前任务路径:{{path}}</p>
				{% endif %}
			</div>
			<div class="clearfix"> </div>
			<div class="col-md-12 stats-agileinfo agileits-w3layouts">
				<hr>
				<a id="logButton" class="btn btn-primary btn-lg" href="/log">获取后台日志</a>
			</div>
		</div>
	</div>
	<!-- //about -->
	<div class="container" id="progress">
		<p><span class="message"></span></p>
		<p><span class="status"></span><span class="time"></span></p>
		<meter class="progress-bar" value=0 max=100></meter>
		<div class="col-md-12">
			<br>
		</div>
	</div>
	<!-- footer start here -->
	{% autoescape true %} {{footer| safe}} {% endautoescape %}
	<!-- //footer end here -->
	<!-- js -->
	<script src="{{vendorsJs}}"></script>
	<script src="{{commonJs}}"></script>
	<script src="static/js/system.js"></script>
	<!-- //js -->
</body>

</html>