This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |