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 models import dist_model as dm | |
from util import util | |
import os | |
import ipdb | |
import glob | |
import csv | |
import cv2 | |
import skimage.io as sio | |
class PercepSimilarity: |
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
class bcolors(object): | |
Endc='\033[0m' | |
Bold='\033[1m' | |
Underlined='\033[4m' | |
Blink='\033[5m' | |
Inverted='\033[7m' | |
Hidden='\033[8m' | |
Black='\033[30m' | |
Red='\033[31m' |
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 tensorflow as tf | |
from torch.autograd import Variable | |
import numpy as np | |
import scipy.misc | |
import os | |
import torch | |
try: | |
from StringIO import StringIO # Python 2.7 | |
except ImportError: |
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
# ==== first setup Vundle ==== | |
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
# Now goto the home folder | |
cd | |
# now clone your dotfiles | |
git clone git@github.com:tm157/dotfiles.git | |
# now link the appropriate files |
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
tensorflow-gpu==1.8.0 | |
torch | |
cython | |
torchvision | |
opencv-python | |
transforms3D | |
scikit-learn | |
pycocotools | |
scikit-image | |
h5py |
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
h1 { font-family: monaco, Consolas, "Lucida Console", monospace; font-size: 24px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 26px; } h3 { font-family: monaco, Consolas, "Lucida Console", monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 15px; } p { font-family: monaco, Consolas, "Lucida Console", monospace; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 20px; } blockquote { font-family: monaco, Consolas, "Lucida Console", monospace; font-size: 21px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 30px; } pre { font-family: monaco, Consolas, "Lucida Console", monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 18px; } |
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
t.prefs_.set('color-palette-overrides',["#002831", "#d11c24", "#6cbe6c", "#a57706", "#2176c7", "#c61c6f", "#259286", "#eae3cb", "#006488", "#f5163b", "#51ef84", "#b27e28", "#178ec8", "#e24d8e", "#00b39e", "#fcf4dc"]); | |
t.prefs_.set('foreground-color', "#b2b2b2"); | |
t.prefs_.set('background-color', "#262626"); | |
t.prefs_.set('cursor-color', 'rgba(208,208,208,0.5)'); |