caffe icon indicating copy to clipboard operation
caffe copied to clipboard

AttributeError: 'module' object has no attribute 'CaffeNet'

Open wzq12138 opened this issue 11 years ago • 2 comments

I have done the ./examples/imagenet/create_imagenet.sh ./examples/imagenet/make_imagenet_mean.sh and ./examples_training.sh. and then I want to test this test.py.

!/usr/bin/env python

"""wrapper.py implements an end-to-end wrapper that classifies an image read from disk, using the imagenet classifier. """

the error is that
Traceback (most recent call last): File "test.py", line 110, in net = ImageNetClassifier(MODEL_FILE, PRETRAINED) File "test.py", line 96, in init self.caffenet = _caffe.CaffeNet(model_def_file, pretrained_model) AttributeError: 'module' object has no attribute 'CaffeNet'

what did I do wrong , can you help me

wzq12138 avatar Jan 04 '15 02:01 wzq12138

没人知道怎么回事吗

wzq12138 avatar Jan 13 '15 01:01 wzq12138

Duplicate of #1712.

shelhamer avatar Jan 15 '15 07:01 shelhamer