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
import chainer | |
import chainer.functions as F | |
import chainer.links as L | |
class ResNet(chainer.Chain): | |
def __init__(self, n_layers, class_labels): | |
super(ResNet, self).__init__() | |
w = chainer.initializers.HeNormal() |
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
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 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
import os | |
import numpy as np | |
import six | |
import cv2 | |
import chainer | |
def _read_video_as_array(path, dtype): | |
video = [] |
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
import os | |
from mpi4py import MPI | |
comm = MPI.COMM_WORLD | |
size = comm.Get_size() | |
rank = comm.Get_rank() | |
for i in range(size): | |
if i == rank: |
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
x | y | data | |
---|---|---|---|
10 | 8.04 | 0 | |
8 | 6.95 | 0 | |
13 | 7.58 | 0 | |
9 | 8.81 | 0 | |
11 | 8.33 | 0 | |
14 | 9.96 | 0 | |
6 | 7.24 | 0 | |
4 | 4.26 | 0 | |
12 | 10.84 | 0 |
NewerOlder