Skip to content

Instantly share code, notes, and snippets.

@ebattenberg
ebattenberg / dir_sort.sh
Last active January 18, 2018 19:51
Linux: sort directories by size
# sort directories contained in current directory by size
alias dirsort='du -d 1 -h ./ | sort -h -r'
@ebattenberg
ebattenberg / config.json
Created January 23, 2015 23:52
Example JSON config
{
"val_size": 10000,
"data_path": "/home/ebattenberg/data",
"plot_curves": true,
"batch_size": 128,
"learning_rate_schedule": {
"init": 0.1,
"final": 0.0001
},
"momentum_schedule": {
@ebattenberg
ebattenberg / config.yaml
Last active October 5, 2021 08:06
YAML config file example
---
# Dataset Stuff -------------------------------------------------
#
data_path: ~/data
output_path: ~/output
val_size: 10000
train_chunk_size: 40000
#!/bin/bash
watch -t -n 0.1 date "+%Y-%m-%d\ %H:%M:%S"