I hereby claim:
- I am aboucaud on github.
- I am aboucaud (https://keybase.io/aboucaud) on keybase.
- I have a public key whose fingerprint is EDD1 74D9 AC29 33A9 0778 84D8 80EF DA9F C744 ED5C
To claim this, I am signing this object:
from keras import backend as K | |
num_cores = 4 | |
num_GPU = 1 | |
num_CPU = 1 | |
config = K.tf.ConfigProto( | |
intra_op_parallelism_threads=num_cores, | |
inter_op_parallelism_threads=num_cores, | |
allow_soft_placement=True, |
#!/bin/bash | |
# | |
# Setup a RAMP backend architecture for a given RAMP project | |
set -e | |
# Script help | |
usage() | |
{ | |
echo " |
# !/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# ----------------------------------------------------------------------------------------------- | |
# Original script from @anokas: https://www.kaggle.com/anokas/py3-image-downloader-w-progress-bar | |
# ----------------------------------------------------------------------------------------------- | |
# Note: requires the tqdm package (pip install tqdm) | |
# Note to Kagglers: This script will not run directly in Kaggle kernels. You |
I hereby claim:
To claim this, I am signing this object:
import numpy as np | |
import matplotlib.pyplot as plt | |
N = 10 | |
colors = plt.cm.viridis(np.linspace(0.25, 1.0, N)) | |
x = np.linspace(0, 1, 30) | |
powers = np.arange(N) + 1 | |
for power, color in zip(powers, colors): |
# https://pandas.pydata.org/pandas-docs/stable/reference/style.html | |
# https://towardsdatascience.com/style-pandas-dataframe-like-a-master-6b02bf6468b0 | |
import pandas as pd | |
# Option examples | |
pd.set_option('precision', 4) | |
pd.set_option('max_rows', 10) | |
pd.set_option('max_columns', 7) | |
pd.set_option("display.max_colwidth", -1) |