Skip to content

Instantly share code, notes, and snippets.

@none53
none53 / google-search-images.js
Created February 26, 2019 19:20 — forked from aranajhonny/google-search-images.js
google search images for deep learning
// pull down jquery into the JavaScript console
var script = document.createElement('script');
script.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(script);
var urls = $('.rg_di .rg_meta').map(function() { return JSON.parse($(this).text()).ou; });
var textToSave = urls.toArray().join('\n');
var hiddenElement = document.createElement('a');
hiddenElement.href = 'data:attachment/text,' + encodeURI(textToSave);
hiddenElement.target = '_blank';
hiddenElement.download = 'urls.txt';
@none53
none53 / test_total_variation.ipynb
Created November 29, 2018 13:14 — forked from Hvass-Labs/test_total_variation.ipynb
Test for new TensorFlow feature total_variation()
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@none53
none53 / mnist_for_ml_beginners.py
Created October 18, 2018 22:19 — forked from uramonk/mnist_for_ml_beginners.py
TensorFlow MNIST For ML Beginners チュートリアルのコード
# -*- coding: utf-8 -*-
# TensowFlowのインポート
import tensorflow as tf
# MNISTを読み込むためinput_data.pyを同じディレクトリに置きインポートする
# input_data.pyはチュートリアル内にリンクがあるのでそこから取得する
# https://tensorflow.googlesource.com/tensorflow/+/master/tensorflow/examples/tutorials/mnist/input_data.py
import input_data
import time
@none53
none53 / Fast.ai install script
Last active October 10, 2018 08:32 — forked from gilrosenthal/Fast.ai install script
Fast.ai Install on Google Colab
# Install fastai
!pip3 install fastai
#Install pytorch
!pip3 install http://download.pytorch.org/whl/cu92/torch-0.4.1-cp36-cp36m-linux_x86_64.whl
!pip3 install torchvision
from fastai.imports import *