Skip to content

Instantly share code, notes, and snippets.

@TheBojda
Last active January 31, 2020 11:59
Show Gist options
  • Save TheBojda/364ec4dcb1be8e9297dbae92232ec6e0 to your computer and use it in GitHub Desktop.
Save TheBojda/364ec4dcb1be8e9297dbae92232ec6e0 to your computer and use it in GitHub Desktop.
TensorFlow.js CNN train HTML (used in https://github.com/TheBojda/tensorflow-js-cifar10-cnn-example)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TensorFlow.js Tutorial</title>
<!-- Import TensorFlow.js -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.0.0/dist/tf.min.js"></script>
<!-- Import tfjs-vis -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-vis@1.0.2/dist/tfjs-vis.umd.min.js"></script>
<!-- Import the data file -->
<script src="data.js" type="module"></script>
<!-- Import the main script file -->
<script src="script_train.js" type="module"></script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment