Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while running python try_convnet_cc_multirotflip_3x69r45_maxout2048_extradense.py #7

Closed
great-thoughts opened this issue Oct 29, 2015 · 1 comment

Comments

@great-thoughts
Copy link

Hi,
I was trying to run python try_convnet_cc_multirotflip_3x69r45_maxout2048_extradense.py however, I am getting some errors. I am running this on an amazon instant with GPU 4Gb.

ubuntu@ip-172-31-19-167:~/kaggle-galaxies$ python try_convnet_cc_multirotflip_3x69r45_maxout2048_extradense.py
Using gpu device 0: GRID K520
Set up data loading
Preprocess validation data upfront
Process Process-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/home/ubuntu/kaggle-galaxies/load_data.py", line 563, in _buffered_generation_process
    data = source_gen.next()
  File "/home/ubuntu/kaggle-galaxies/realtime_augmentation.py", line 337, in realtime_fixed_augmented_data_gen
    for k, imgs_aug in enumerate(gen):
  File "/usr/lib/python2.7/multiprocessing/pool.py", line 269, in <genexpr>
    return (item for chunk in result for item in chunk)
  File "/usr/lib/python2.7/multiprocessing/pool.py", line 659, in next
    raise value
AttributeError: 'builtin_function_or_method' object has no attribute 'iterkeys'
Traceback (most recent call last):
  File "try_convnet_cc_multirotflip_3x69r45_maxout2048_extradense.py", line 138, in <module>
    xs_valid = [np.vstack(x_valid) for x_valid in xs_valid]
  File "/usr/local/lib/python2.7/dist-packages/numpy/core/shape_base.py", line 228, in vstack
    return _nx.concatenate([atleast_2d(_m) for _m in tup], 0)
ValueError: need at least one array to concatenate
@benanne
Copy link
Owner

benanne commented Oct 29, 2015

No idea what's going on here. Maybe you're using the latest numpy version or so? This code is about 1.5 years old and has not been updated (nor will it be), so you might have to use older versions of some packages to get it to run out of the box. I recommend looking into virtualenv for that purpose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants