I hereby claim:
- I am flymin on github.
- I am flymin (https://keybase.io/flymin) on keybase.
- I have a public key ASCG-uIeSvPddW9QTSj7jTT9wxjzs4kn4OD2fMLiHEtPBgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| from PyPDF2 import PdfFileWriter, PdfFileReader | |
| import os | |
| def merge_and_delete(files): | |
| output = PdfFileWriter() | |
| outpages = 0 | |
| for file in files: | |
| path = os.path.join("book", file) | |
| print(path) | |
| input1 = PdfFileReader(open(path, 'rb')) |
| import sys, getopt | |
| import os | |
| import pdb | |
| import tensorflow as tf | |
| usage_str = 'python tensorflow_rename_variables.py --checkpoint_dir=path/to/dir/ ' \ | |
| '--replace_from=substr --replace_to=substr --add_prefix=abc --dry_run ' \ | |
| '--output_dir=dir/to/output' |
| from matplotlib import pyplot as plt | |
| import numpy as np | |
| from mpl_toolkits.mplot3d import Axes3D | |
| fig = plt.figure() | |
| ax = Axes3D(fig) | |
| X = np.arange(0, 1, 0.05) | |
| Y = np.arange(0, 1, 0.05) | |
| X, Y = np.meshgrid(X, Y) | |
| #F1 |
original code from here
reference Using_Caffe_to_Create_a_MNIST_Dataset_Recognition_Application/codes/train.py
from __future__ import print_function
import argparse
import torch
import torch.nn as nn
import torch.nn.functional as F| \documentclass{article} | |
| \usepackage[ruled]{algorithm2e} | |
| \usepackage{amssymb,amsmath,caption} | |
| \usepackage[hang,flushmargin]{footmisc} | |
| \usepackage{lipsum} | |
| \makeatletter | |
| \newcommand{\algorithmfootnote}[2][\footnotesize]{% | |
| \let\old@algocf@finish\@algocf@finish% Store algorithm finish macro | |
| \def\@algocf@finish{\old@algocf@finish% Update finish macro to insert "footnote" | |
| \leavevmode\rlap{\begin{minipage}{\linewidth} |
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
| "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,3a,00,1d,00,1d,00,3a,00,\ | |
| 00,00,00,00 |
| #!/bin/bash | |
| set -e | |
| git clone --depth 1 "$1" temp-linecount-repo | |
| printf "('temp-linecount-repo' will be deleted automatically)\n\n\n" | |
| cloc temp-linecount-repo | |
| rm -rf temp-linecount-repo |