Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
create_and_copy() {
file_path="/cns/li-d/home/zhanghan_brain/brain/gan/model_eval_all/"
eval_folder="$file_path$1/eval"
command1="fileutil mkdir -p $eval_folder --gfs_user zhanghan_brain"
echo $command1
$command1
echo
@hanzhanggit
hanzhanggit / gan_normalization.py
Created December 15, 2017 02:00
GAN with normalization
import os
import time
import numpy as np
import tensorflow as tf
from tqdm import tqdm
from depot import inits
from depot.utils import find_trainable_variables, find_variables, iter_data, shuffle