Skip to content

Instantly share code, notes, and snippets.

# git clone from https://github.com/tkarras/progressive_growing_of_gans
# download the snapshot from their Google drive
# use the following code in the same directory to generate random faces
import os
import sys
import time
import glob
import shutil
import operator
import theano
@linwoodc3
linwoodc3 / polyglotOnMacOSXPython27.sh
Last active September 1, 2018 14:32
Bash script that successfully installs the polyglot multilingual text (NLP) processing toolkit on a MacOSX computer with Python 2.7 and Anaconda.
#!/bin/bash
# Author:
# Linwood Creekmore
# email: valinvescap@gmail.com
# navigate to home directory; just for clean start
cd ~ &&
# exit out of whatever conda environment you are in
@mayhewsw
mayhewsw / makeall.sh
Last active August 16, 2022 19:17
Data Preparer for Bible Corpus
#!/bin/sh
for f in *.xml.gz; do
if [ $f == "English.xml.gz" ] ; then
continue;
fi
python makeplaintext.py $f English.xml.gz;
done