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 argparse | |
import os | |
import time | |
import numpy as np | |
import tensorflow as tf | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--opt', default='a', choices=['a', 'b']) | |
parser.add_argument('--batch_size', type=int, default=32) |
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
firstName | total | female | male | totalFound | prFemale | |
---|---|---|---|---|---|---|
0SEAS | 1 | 0 | 1 | 1 | 0.0000000000 | |
0SMAR | 1 | 0 | 1 | 1 | 0.0000000000 | |
A | 1 | 0 | 1 | 1 | 0.0000000000 | |
AARAO | 2 | 0 | 2 | 2 | 0.0000000000 | |
DIARONE | 6 | 0 | 6 | 6 | 0.0000000000 | |
DIARONI | 4 | 0 | 4 | 4 | 0.0000000000 | |
DIASIS | 1 | 0 | 1 | 1 | 0.0000000000 | |
DIASLINS | 1 | 0 | 1 | 1 | 0.0000000000 |
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 tensorflow as tf | |
from keras.callbacks import TensorBoard | |
from keras.datasets import cifar100 | |
from keras.layers import Dense, Conv2D, MaxPooling2D, GlobalAveragePooling2D, BatchNormalization, Activation, Dropout | |
from keras.layers import Input | |
from keras.models import Model | |
from keras.preprocessing.image import ImageDataGenerator | |
from sacred import Experiment | |
ex = Experiment('tb-efficiency') |
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 tensorflow as tf | |
from keras.callbacks import TensorBoard | |
from keras.datasets import cifar100 | |
from keras.layers import Dense, Conv2D, MaxPooling2D, GlobalAveragePooling2D, BatchNormalization, Activation, Dropout | |
from keras.layers import Input | |
from keras.models import Model | |
from keras.preprocessing.image import ImageDataGenerator | |
from sacred import Experiment | |
ex = Experiment('tb-efficiency') |
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 tensorflow as tf | |
from keras.callbacks import TensorBoard | |
from keras.datasets import cifar100 | |
from keras.layers import Dense, Conv2D, MaxPooling2D, GlobalAveragePooling2D, BatchNormalization, Activation, Dropout | |
from keras.layers import Input | |
from keras.models import Model | |
from sacred import Experiment | |
ex = Experiment('tb-efficiency') |
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 numpy as np | |
from keras import Input | |
from keras.layers import Dense | |
from keras.models import Model | |
from keras import callbacks | |
from sklearn.datasets import load_digits | |
from sklearn.model_selection import train_test_split | |
def build_model(shape, name=None): | |
x = Input(shape) |
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 numpy as np | |
from keras import backend as K | |
from keras.datasets import cifar10 | |
from keras.engine import Input, Model | |
from keras.models import Sequential | |
from keras.layers import Dense, Lambda | |
def build_model(x_shape): | |
b_net = Sequential([ |