This file contains hidden or 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
| // 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'; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| # -*- 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 |
This file contains hidden or 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
| # 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 * | |