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 when run ‘calculation.run()’ #7

Closed
PhysXu opened this issue Oct 19, 2022 · 3 comments
Closed

Error when run ‘calculation.run()’ #7

PhysXu opened this issue Oct 19, 2022 · 3 comments

Comments

@PhysXu
Copy link

PhysXu commented Oct 19, 2022

have solved

@din14970
Copy link
Owner

your images are very very small, 64x64, so you should not have to do registration at very high levels (power of 2). For some reason it's starting at level 6, so something went wrong creating the config file, because 2^6 is much larger than the number of pixels you have. From the output it seems you already have some folder with data and some config file. Perhaps delete that entire folder created by instantiating MatchSeries and try again. If that doesn't work, maybe share the generated config file here, it might be a bug that the levels are not correctly set.

@din14970
Copy link
Owner

Unfortunately it seems attachments are not forwarded in this way. I also don't see any images. Please copy paste pure text from errors and code in between ``` YOUR TEXT HERE ``` ticks. For sharing files, please upload them to a shared drive or something, e.g. google drive, and share the link.

@din14970
Copy link
Owner

Sorry for the belated reply.

In the first case, the issue is probably that you set numTemplates to 50, when you only have 10 images. You use this when you want to limit the number of images (i.e. if you have more).

In the last case, the issue is that it expects the spectrum map to be of shape [number of frames, x, y, channels], so I think the number of frames axis is in the wrong position for it to work. I should make this more robust, like allowing you to provide your own axis ordering.

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