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 in Sources2D/initComponents_parallel #33

Open
akim5651 opened this issue Nov 21, 2018 · 3 comments
Open

Error in Sources2D/initComponents_parallel #33

akim5651 opened this issue Nov 21, 2018 · 3 comments

Comments

@akim5651
Copy link

Hi PC -

I've been encountering a sporadic error (throws this error consistently for only some .avi files):

Error using Sources2D/initComponents_parallel (line 310)
Size arguments must be real integers.

Error in CNMFEpipeline1 (line 128)
[center, Cn, PNR] = neuron.initComponents_parallel(K, frame_range, save_initialization, use_parallel);

Any ideas on how to bypass this? Thanks!

@zhoupc
Copy link
Owner

zhoupc commented Feb 5, 2019

@akim5651 sorry for such a late reply. If you still have this problem, please share your avi file with me and I can debug the issue. this was probably due to my function of loading avi files.

Pengcheng

@akim5651
Copy link
Author

akim5651 commented Feb 6, 2019 via email

@przemyslawj
Copy link

I hit a similar issue with type errors. The error I get is:

Size inputs must be integers.
Error in get_patch_data (line 70)
Y = zeros(nr, nc, nframes, 'like', cast(0,dtype));
Error in Sources2D/initComponents_parallel (line 386)

nframes was double, I fixed the error by making sure dims variable is an integer and changing Sources2D/initComponents_parallel (line 24) to:
dims = int32(mat_data.dims);

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

3 participants