Skip to content

Instantly share code, notes, and snippets.

@mdraw
mdraw / neuro_data_zxy_to_neuro_data_cdhw.py
Created January 4, 2018 18:57
How to convert to elektronn3's expected hdf5 data set layout
#!/usr/bin/env python3
# Example script to (in-place!) convert a data set from the standard layout
# expected by ELEKTRONN2 (z, x, y) to the new layout that elektronn3 uses
# (C, D, H, W).
# Remember to make a backup of your hdf5s before running this.
# The new data set format can still be read by ELEKTRONN2.
# This example assumes you want to convert the neuro_data_zxy example data set
# and execute the script in its directory.
@mdraw
mdraw / PKGBUILD
Last active March 22, 2016 23:37
Vigra 1.11.0 with vigranumpy for Python 3
# $Id: PKGBUILD 257065 2015-12-21 17:09:42Z foutrelis $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: Martin Drawitsch <mdraw.gh at gmail.com>
pkgbase=vigra
pkgname=('vigra' 'vigra-doc')
pkgver=1.11.0
_pkgver='Version-1-11-0'
pkgrel=1