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
#!/usr/bin/env python | |
import argparse | |
import asyncore | |
from email import message_from_string | |
from email.iterators import typed_subpart_iterator | |
from email.mime.text import MIMEText | |
from email.utils import formataddr | |
import getpass | |
import logging |
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
## Refer to http://caffe.berkeleyvision.org/installation.html | |
# Contributions simplifying and improving our build system are welcome! | |
# cuDNN acceleration switch (uncomment to build with cuDNN). | |
# USE_CUDNN := 1 | |
# CPU-only switch (uncomment to build without GPU support). | |
# CPU_ONLY := 1 | |
# To customize your choice of compiler, uncomment and set the following. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Display full path in terminal | |
export PS1="\u@\H:\w$ " | |
# Set architecture flags | |
export ARCHFLAGS="-arch x86_64" | |
# Ensure user-installed binaries take precedence | |
export PATH=/usr/local/bin:$PATH | |
# Load .bashrc if it exists |
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
""" | |
make_cifar10.py: Create training data from raw CIFAR-10 batches. | |
""" | |
import pickle | |
import glob | |
import os | |
import numpy as np | |
from skimage.io import imsave |
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
""" | |
download_pixels.py: A handy utility function for downloading images from URLs. | |
""" | |
import os | |
import shutil | |
import requests | |
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
seqs = []; | |
for n = 0:62 | |
ks = comm.KasamiSequence('Index', n, ... | |
'Polynomial', [12 6 4 1 0], ... | |
'InitialConditions', [zeros(1, 11) 1], ... | |
'SamplesPerFrame',4095); | |
seq = step(ks); | |
seq = 2 * (seq - 0.5); | |
seqs = [seqs seq]; |
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
from __future__ import print_function | |
import math | |
from multiprocessing import Pool | |
import sys | |
def divs_and_mults(num, maxval): |
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
web: | |
image: 'gitlab/gitlab-ee:latest' | |
restart: always | |
hostname: 'gitlab.example.com' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'https://gitlab.example.com' | |
# Add any other gitlab.rb configuration here, each on its own line | |
puma['worker_processes'] = 0 | |
sidekiq['max_concurrency'] = 10 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer