Skip to content

Instantly share code, notes, and snippets.

@eldar
eldar / tf-resnet-fcn.py
Last active September 11, 2017 06:20
import datetime as dt
import tensorflow as tf
import tensorflow.contrib.slim as slim
from tensorflow.contrib.slim.nets import resnet_v1
import threading
from PoseDataset import PoseDataset
from TrainParams import TrainParams
@eldar
eldar / ldc_jit_api.d
Created April 3, 2012 18:20
API for LDC JIT
import ldc.JIT;
void main()
{
Compiler compiler = new Compiler();
compiler.importPaths = [ "/home/eldar/ldc/druntime/import",
"/home/eldar/mylib/" ];
compiler.emitModuleInfo = false;
Module mod = compiler.compile("extern(C) int helloWorld() { return 15; }");