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
""" | |
A StyleGAN PNG data loader. | |
Saves the need for intermediate TFRecords if you have the CPU/GPU for it. | |
Apply the following patch: | |
diff --git a/run_training.py b/run_training.py | |
index bc4c0a2..61e5a33 100755 | |
--- a/run_training.py | |
+++ b/run_training.py |
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 subprocess | |
import os | |
import tempfile | |
import argparse | |
def main(): | |
parser = argparse.ArgumentParser(__name__, usage='multitb <logdir1> <logdir2> ...') | |
parser.add_argument('inputs', nargs='+') | |
args, rest = parser.parse_known_args() |
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
""" | |
1Password is good at a lot of things. Importing CSV is not one of them (as of 5.5.BETA-29). | |
Converts a Meldium CSV to something 1Password will import correctly. | |
To export: http://support.meldium.com/knowledgebase/articles/656755-export-meldium-data-to-a-spreadsheet | |
""" | |
import csv | |
import sys |
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 | |
dir="~/Applications/arcanist/" | |
eval dir=$dir | |
if [ -d "$dir" ]; then | |
printf "arc already installed. Remove and install again? (y/n) " | |
read answer | |
if [ "$answer" != "y" ]; then | |
exit | |
fi | |
rm -fR "$dir" |