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
du -sh ./* | sort -nr |
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
{0: 'tench, Tinca tinca', | |
1: 'goldfish, Carassius auratus', | |
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
3: 'tiger shark, Galeocerdo cuvieri', | |
4: 'hammerhead, hammerhead shark', | |
5: 'electric ray, crampfish, numbfish, torpedo', | |
6: 'stingray', | |
7: 'cock', | |
8: 'hen', | |
9: 'ostrich, Struthio camelus', |
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
import pandas as pd | |
def read_aeronet(filename): | |
"""Read a given AERONET AOT data file, and return it as a dataframe. | |
This returns a DataFrame containing the AERONET data, with the index | |
set to the timestamp of the AERONET observations. Rows or columns | |
consisting entirely of missing data are removed. All other columns | |
are left as-is. | |
""" |
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
from __future__ import print_function | |
import argparse | |
import chainer | |
import chainer.functions as F | |
import chainer.links as L | |
from chainer import training | |
from chainer.optimizers import MomentumSGD, Adam | |
from chainer.training import extensions, Trainer | |
from chainer import serializers |
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
kit fox, Vulpes macrotis | |
English setter | |
Australian terrier | |
grey whale, gray whale, devilfish, Eschrichtius gibbosus, Eschrichtius robustus | |
lesser panda, red panda, panda, bear cat, cat bear, Ailurus fulgens | |
Egyptian cat | |
ibex, Capra ibex | |
Persian cat | |
cougar, puma, catamount, mountain lion, painter, panther, Felis concolor | |
gazelle |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import numpy as np | |
import chainer | |
from chainer import cuda | |
from chainer import configuration | |
import chainer.functions as F | |
import chainer.links as L | |
from chainer.initializers import normal |