代码拉取完成,页面将自动刷新
同步操作将从 mirrors_cbovar/ConvNetDraw 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
<script src="jquery-3.2.1.min.js"></script>
<script src="convnetdraw.js"></script>
<script type="text/javascript">
var Timer;
var drawing;
$(window).on('load', function () {
drawing = new convnetdraw.drawing("net");
drawing.draw(document.getElementById("script").value);
});
function smallDelay() {
clearTimeout(Timer);
Timer = setTimeout(function () {
drawing.draw(document.getElementById("script").value);
}, 500);
};
</script>
</head>
<body>
<header>
<div class="container">
<div class="flex-1">
<form>
<label for="ratio1">Ratio 1</label>
<input id="ratio1" type="range" value="300" min="0" max="1000">
<label for="ratio2">Ratio 2</label>
<input id="ratio2" type="range" value="500" min="0" max="1000">
<label for="zoomx">Zoom X</label>
<input id="zoomx" type="range" value="4" min="0" max="20">
<label for="zoomy">Zoom Y</label>
<input id="zoomy" type="range" value="4" min="0" max="20">
<label for="zoomz">Zoom Z</label>
<input id="zoomz" type="range" value="4" min="0" max="20">
<input type="checkbox" id="blackandwhite">
<label for="blackandwhite">Black and white</label>
<a href="javascript:drawing.save()">Export</a>
</form>
</div>
<div class="flex-2">
<div class="flex-2-child">
<textarea onkeyup="smallDelay()" id="script">
# Some example
input(28, 28, 1)
conv(24, 24, 8)
relu(24, 24, 8)
pool(12, 12, 8)
conv(10, 10, 16)
relu(10, 10, 16)
pool(4, 4, 16)
fullyconn(1, 1, 10)
softmax(1, 1, 10)
</textarea>
</div>
<div class="flex-3-child" id="net"></div>
</div>
</div>
</header>
<a href="https://github.com/cbovar/ConvNetDraw"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。