Skip to content

Instantly share code, notes, and snippets.

View young-geng's full-sized avatar

Xinyang (Young) Geng young-geng

View GitHub Profile
@young-geng
young-geng / cs182_hw2_env.yml
Created February 1, 2021 06:22
cs182_hw2_env.yml
name: cs182_hw2
channels:
- pytorch
- defaults
dependencies:
- _libgcc_mutex=0.1=main
- argon2-cffi=20.1.0=py37h7b6447c_1
- async_generator=1.10=py37h28b3542_0
- attrs=20.3.0=pyhd3eb1b0_0
- backcall=0.2.0=pyhd3eb1b0_0
bind r source-file ~/.tmux.conf
set -g prefix C-a
set -g set-titles on
set -g set-titles-string '#(whoami)::#h::#(curl ipecho.net/plain;echo)'
set -g default-terminal "screen-256color"
# Status bar customization
@young-geng
young-geng / deconv_problem
Created April 27, 2016 10:07
Code that would trigger the problem of deconv layers in python caffe
#!/usr/bin/env python
from __future__ import division
import argparse
import numpy as np
import os
import tempfile
import time
name: "miniplaces VGG"
layer {
name: "data"
type: "ImageData"
top: "data"
transform_param {
mirror: false
crop_size: 112
mean_value: 104
mean_value: 117
name: "Miniplaces AlexNet"
layer {
name: "data"
type: "ImageData"
top: "data"
top: "label"
transform_param {
mirror: true
crop_size: 96
mean_value: 104