Skip to content

Instantly share code, notes, and snippets.

😍
🐰 🦊

Shu W. Nakamura woodyZootopia

😍
🐰 🦊
Block or report user

Report or block woodyZootopia

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@woodyZootopia
woodyZootopia / vovnet.py
Created Jul 9, 2019
Keras Implementation of VoVNet
View vovnet.py
# define VoVNet
# If you use TPU, only compatible with TensorFlow v.1.13 or earlier
import os
import tensorflow as tf
from tensorflow.contrib.tpu.python.tpu import keras_support
from tensorflow.keras.layers import Conv2D, BatchNormalization, Activation, MaxPooling2D, Dense, GlobalAveragePooling2D, Concatenate, Input
from tensorflow.keras.models import Model
from tensorflow.keras.optimizers import Adam
from tensorflow.keras.preprocessing.image import ImageDataGenerator
from tensorflow.keras.callbacks import History, LearningRateScheduler
@woodyZootopia
woodyZootopia / .bashrc
Last active Jan 10, 2019
latexmk creates pdf and bring it to the directory where .tex file exists.
View .bashrc
fetchlatexpdf ()
{
~/.zsh_functions/fetchlatexpdf.sh $@
}
ltxmkandfetchpdf ()
{
~/.zsh_functions/latexmk.sh $@
}
alias cleantextmp="rm -rf ~/.tmp/tex"
@woodyZootopia
woodyZootopia / .latexmkrc
Last active Nov 21, 2018
latexmk creates pdf in the current directory automatically.
View .latexmkrc
#!/usr/bin/perl
$latex = 'platex -interaction=nonstopmode -synctex=1 -halt-on-error';
$latex_silent = 'platex -interaction=batchmode';
$dvips = 'dvips';
$bibtex = 'pbibtex';
$makeindex = 'mendex -r -c -s jind.ist';
$dvipdf = 'dvipdfmx %O -o %D %S';
$pdf_previewer = 'open -a Skim %S';
$preview_continuous_mode = 1;
$pdf_mode = 3;
You can’t perform that action at this time.