CLICK ME
yes, even hidden code blocks!
print("hello world!")| # @Author: xiewenqian <int> | |
| # @Date: 2016-11-28T20:35:09+08:00 | |
| # @Email: wixb50@gmail.com | |
| # @Last modified by: int | |
| # @Last modified time: 2016-12-01T19:32:48+08:00 | |
| import pandas as pd | |
| from pymongo import MongoClient |
| #!/usr/bin/python3 | |
| from sys import exit | |
| from sys import stdout | |
| from sys import path as syspath | |
| from os import path as osp | |
| from os import stat, makedirs | |
| import argparse | |
| from shutil import copyfile |
| import sys, getopt | |
| 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' | |
| def rename(checkpoint_dir, replace_from, replace_to, add_prefix, dry_run): | |
| checkpoint = tf.train.get_checkpoint_state(checkpoint_dir) |