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

Transform state error #28

Open
ardila opened this issue Sep 2, 2014 · 1 comment
Open

Transform state error #28

ardila opened this issue Sep 2, 2014 · 1 comment

Comments

@ardila
Copy link
Member

ardila commented Sep 2, 2014

@yamins81 Here is the error. It can be reproduced by trying to render image
1105108

of the rosch dataset. i.e.

import dldata.stimulus_sets.synthetic.synthetic_datasets as sd
import numpy as np
preproc = {'crop': None,
            'crop_rand': None,
            'dtype': 'float32',
            'mask': None,
            'mode': 'RGB',
            'normalize': False,
            'resize_to': (256, 256, 3),
            'seed': 0}
dataset = sd.RoschDataset()   
I = dataset.get_images(preproc)
I[1105108]
Assertion failed: !pos.is_nan() at line 381 of panda/src/pgraph/transformState.cxx
Traceback (most recent call last):
  File "render_rosch.py", line 25, in <module>
    render_results = [render_index(i, I) for i in inds[-1000:]]
  File "render_rosch.py", line 14, in render_index
    I[ind]
  File "/mindhive/dicarlolab/u/ardila/virtual_environments/default/src/skdata/skdata/larray.py", line 450, in __getitem__
    obj_item = self.obj[item]
  File "/mindhive/dicarlolab/u/ardila/virtual_environments/default/src/skdata/skdata/larray.py", line 146, in __getitem__
    return self.fn(*[o[idx] for o in self.objs])
  File "/mindhive/dicarlolab/u/ardila/virtual_environments/default/src/genthor/genthor/renderer/imager.py", line 136, in __call__
    raise e
AssertionError: !pos.is_nan() at line 381 of panda/src/pgraph/transformState.cxx
@yamins81
Copy link
Contributor

yamins81 commented Sep 7, 2014

I haven't been able to reproduce this problem. I'm generating the stimuli (hopefully with all the images this time) and hope to start training shortly.

In terms of figuring out what the problem is, I'm going to look into what the differences are between your setup and mine.

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