Skip to content

Instructions given to make kfkd.py run seem to fail #5

@shashankchaudhry

Description

@shashankchaudhry

Hi
Im not sure if you are still supporting this code, but I just wanted to inform you that the code doesn't seem to be working. Firstly, matplotlib was not installing, which I fixed by installing the following two packages before running setup.sh:
sudo apt-get install libpng-dev
sudo apt-get install libfreetype6-dev
But even despite this when I follow your steps of using the community AMI, and running the shell script, I get the following error:
Traceback (most recent call last):
File "AWSGPU_DeepLearning/kfkd.py", line 116, in
net2.fit(X, y)
File "/usr/local/lib/python2.7/dist-packages/nolearn/lasagne/base.py", line 290, in fit
self.initialize()
File "/usr/local/lib/python2.7/dist-packages/nolearn/lasagne/base.py", line 149, in initialize
out = self._output_layer = self.initialize_layers()
File "/usr/local/lib/python2.7/dist-packages/nolearn/lasagne/base.py", line 226, in initialize_layers
chain_exception(TypeError(msg), e)
File "/usr/local/lib/python2.7/dist-packages/nolearn/_compat.py", line 11, in chain_exception
exec("raise exc1, None, sys.exc_info()[2]")
File "/usr/local/lib/python2.7/dist-packages/nolearn/lasagne/base.py", line 221, in initialize_layers
layer = layer_factory(**layer_kw)
TypeError: Failed to instantiate <class 'lasagne.layers.cuda_convnet.MaxPool2DCCLayer'> with args {'incoming': <lasagne.layers.cuda_convnet.Conv2DCCLayer object at 0x7f2dc82c0b90>, 'name': 'pool1', 'ds': (2, 2)}.
Maybe parameter names have changed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions