Skip to content

Instantly share code, notes, and snippets.

@priyapaul
priyapaul / combine.py
Created Apr 21, 2017 — forked from FranciscoCanas/combine.py
Combining Pre-trained Left and Right nets into a single joint model
View combine.py
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: