Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Error while trying to get outputs of googlenet #5

Description

@iaroslav-ai

I try to get output of googlenet with some randomly generated inputs using a modified version of googlenet_neon.py. I get warning and error messages below. Did I made some mistake or is there a bug? The code that I use is below error messages.

Messages:

2016-04-11 20:42:40,144 - neon.models.model - WARNING - Problems restoring existing RNG state: algorithm must be 'MT19937'
Traceback (most recent call last):
  File "/home/iaroslav/neon-examples/googlenet/demo.py", line 103, in <module>
    model.initialize(test, cost)
  File "/usr/local/lib/python2.7/dist-packages/neon/models/model.py", line 100, in initialize
    prev_input = self.layers.configure(prev_input)
  File "/usr/local/lib/python2.7/dist-packages/neon/layers/container.py", line 257, in configure
    self.layers[0].configure(in_obj)
  File "/usr/local/lib/python2.7/dist-packages/neon/layers/container.py", line 127, in configure
    in_obj = l.configure(in_obj)
  File "/usr/local/lib/python2.7/dist-packages/neon/layers/layer.py", line 615, in configure
    assert isinstance(self.in_shape, tuple)
AssertionError

The code:

https://gist.github.com/iaroslav-ai/949ee0200152236937c4d0b29f70f70e

Assume that googlenet model is located at /home/iaroslav/temp/googlenet.p.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions