101
for Keras.js
2017/8/1
ARCANA Meetup #27@
Keras
WebAPI
Processing + Flask
N
Keras.js
Keras.js
Tensor ow
Keras (GPU !)
Keras
JSON
HDF5
Node.js (CPU )
https://github.com/transcranial/keras-js
Keras.js encoder.py
HDF5
Keras.js
const model = new KerasJS.Model({
filepaths: {
model: 'url/path/to/model.json',
weights: 'url/path/to/model_weights.buf',
metadata: 'url/path/to/model_metadata.json'
},
gpu: true
})
model.ready().then(
function () {
const inputData = {
'input': new Float32Array(testData)
};
console.log(inputData);
return model.predict(inputData)
}).then(
function (outputData) {
console.log(outputData);
}
).catch(
function (err) {
console.log(err);
}
);
https://github.com/endoh0509/MachineLearningRPS
人間では判定できない101すくみじゃんけんをコンピュータに判定させたい for Keras.js

人間では判定できない101すくみじゃんけんをコンピュータに判定させたい for Keras.js