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
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see https://i3wm.org/docs/userguide.html for a complete reference! |
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 numpy as np | |
import tensorflow as tf | |
from time import time | |
#n = 8000 | |
#m = 256 | |
#b = 128 | |
#N = 1000 |
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 python2 | |
import tensorflow as tf | |
import tensorflow.contrib.slim as slim | |
x = tf.placeholder(shape=(None,), dtype = tf.float32) | |
x_ = tf.reshape(x, (-1, 1)) | |
with tf.variable_scope('foo', reuse = False): | |
ytrain = slim.batch_norm(x_, is_training = True, decay = 0.9) |
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
sstat $(squeue -u $USER -t RUNNING --format="%F" | tail -n 1) --format="JobID,MaxRSS" |
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 bpy | |
import numpy as np | |
from mathutils import Vector | |
pth = "/home/ricson/Downloads/BAC_Batman70s_rocksteady/batman.obj" | |
out = "/home/ricson/Downloads/BAC_Batman70s_rocksteady/batman_out.obj" | |
#first clear everything | |
bpy.ops.wm.read_factory_settings(use_empty=True) |
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 subprocess | |
from collections import defaultdict | |
def split_jobs(stuff): | |
jobs = [] | |
while stuff: | |
job = [] | |
while stuff: | |
line = stuff.pop() |