This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 | |
2 precision highp float; | |
3 precision highp int; | |
4 varying vec2 resultUV; | |
5 const vec2 halfCR = vec2(0.5, 0.5); | |
6 | |
7 bool isNaN(float val) { | |
8 float v1 = val * val; | |
9 float v2 = val * val; | |
10 return v1 == v2 ? false : true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
</head> | |
<body> | |
<!-- <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@0.10.3"> </script> --> | |
<script src="./tf.js"> </script> | |
<input type="text" id="myAsk" size=40 value="1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0"><br> | |
<input id="myButton123" type="button" value="Convolutional Train and Test" onclick=" | |
{ document.getElementById('myButton123').style.backgroundColor = 'red' // just to show something is happening // Generate some synthetic data for training. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python ./min_repro.py | |
/usr/local/google/home/bileschi/env/a/local/lib/python2.7/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`. | |
from ._conv import register_converters as _register_converters | |
Using TensorFlow backend. | |
WARNING:tensorflow:From /usr/local/google/home/bileschi/env/a/local/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py:198: retry (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version. | |
Instructions for updating: | |
Use the retry module or similar alternatives. | |
loading model... | |
/usr/local/google/home/bileschi/env/a/local/lib/python2.7/site-packages/keras/models.py:255: UserWarning: No training configuration found in save file: the model was *not* compiled. Compile it manually. | |
warnings.warn('No training configuration found in save file: ' |