Skip to content

Pillow needed for filter_visualization.ipynb #1997

@danielhamngren

Description

@danielhamngren

Hi, I was having some problems when following the ipython notebook examples. I got the error:

AttributeError: 'builtin_function_or_method' object has no attribute 'iterkeys'

when running the following line

scores = net.predict([caffe.io.load_image(caffe_root + 'examples/images/cat.jpg')])

The problem was resolved by installing the package Pillow with pip.
Since I'm new to this project I don't know the process on contributing, can I just add the line

pillow>=2.70

to https://github.com/BVLC/caffe/blob/master/python/requirements.txt and do a pull request?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions