Skip to content

Instantly share code, notes, and snippets.

@priyapaul
priyapaul / combine.py
Created April 21, 2017 14:55 — forked from FranciscoCanas/combine.py
Combining Pre-trained Left and Right nets into a single joint model
import numpy as np
import sys, os
# Edit the paths as needed:
caffe_root = '../caffe/'
sys.path.insert(0, caffe_root + 'python')
import caffe
# Path to your combined net prototxt files: