Skip to content

Instantly share code, notes, and snippets.

😃
Focusing

Ken kawashimaken

View GitHub Profile
View tensorflow_simplest_neural_network_program.py
from __future__ import absolute_import, division, print_function, unicode_literals
import tensorflow as tf
# MNISTのデータセットを使う
mnist = tf.keras.datasets.mnist
# データセットをロードする
# アンパックして、それぞれtraine_dataとtest_dataに格納
# train_data:60000個、test_data:10000個
(train_data, train_teacher_labels), (test_data, test_teacher_labels) = mnist.load_data()
View 機械学習と深層学習の勉強用リソース.md
@kawashimaken
kawashimaken / flatpath2jsontree.js
Created Mar 12, 2019
Convert file path string to json tree
View flatpath2jsontree.js
var _ = require('lodash');
var paths = [
'/FolderC/FolderA/FolderQ/ItemA',
'/FolderC/FolderA/Item1',
'/FolderD/FolderF/FolderM/ItemA',
'/FolderD/FolderF/FolderM/ItemB',
'/FolderD/FolderG/ItemD',
'/ItemInRoot'
];
@kawashimaken
kawashimaken / rPi3-ap-setup.sh
Created Mar 12, 2018 — forked from Lewiscowles1986/rPi3-ap-setup.sh
Raspberry Pi 3 access-point-setup
View rPi3-ap-setup.sh
#!/bin/bash
#
# This version uses September 2017 august stretch image, please use this image
#
if [ "$EUID" -ne 0 ]
then echo "Must be root"
exit
fi
@kawashimaken
kawashimaken / app.js
Created Aug 30, 2016 — forked from brianfeister/app.js
Angular Upload with Image Crop
View app.js
angular.module('cropAndUpload', [
'angularFileUpload',
'ngImgCrop'
])
You can’t perform that action at this time.