Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #761

filter visualization error

Newsgroups comp.os.linux.development.apps
Date 2014-10-08 11:39 -0700
Message-ID <ff99470a-f54d-4d2e-a0f9-8ce6f9fd5cb2@googlegroups.com> (permalink)
Subject filter visualization error
From murthy.pramod@gmail.com

Show all headers | View raw


Hi!

I get following error when i try to run the ipython sheet.

import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline

# Make sure that caffe is on the python path:
caffe_root = '../'  # this file is expected to be in {caffe_root}/examples
import sys
sys.path.insert(0, caffe_root + 'python')

import caffe

plt.rcParams['figure.figsize'] = (10, 10)
plt.rcParams['image.interpolation'] = 'nearest'
plt.rcParams['image.cmap'] = 'gray'



ImportError                               Traceback (most recent call last)
<ipython-input-4-b0ae32841d34> in <module>()
      8 sys.path.insert(0, caffe_root + 'python')
      9 
---> 10 import caffe
     11 
     12 plt.rcParams['figure.figsize'] = (10, 10)

/home/pramod/caffe.git/trunk/python/caffe/__init__.py in <module>()
----> 1 from .pycaffe import Net, SGDSolver
      2 from .classifier import Classifier
      3 from .detector import Detector
      4 import io

/home/pramod/caffe.git/trunk/python/caffe/pycaffe.py in <module>()
      9 
     10 from ._caffe import Net, SGDSolver
---> 11 import caffe.io
     12 
     13 # We directly update methods from Net here (rather than using composition or

/home/pramod/caffe.git/trunk/python/caffe/io.py in <module>()
      4 from skimage.transform import resize
      5 
----> 6 from caffe.proto import caffe_pb2
      7 
      8 

/home/pramod/caffe.git/trunk/python/caffe/proto/caffe_pb2.py in <module>()
      2 # source: caffe.proto
      3 
----> 4 from google.protobuf.internal import enum_type_wrapper
      5 from google.protobuf import descriptor as _descriptor
      6 from google.protobuf import message as _message

ImportError: No module named google.protobuf.internal

Back to comp.os.linux.development.apps | Previous | Next | Find similar


Thread

filter visualization error murthy.pramod@gmail.com - 2014-10-08 11:39 -0700

csiph-web