-
Notifications
You must be signed in to change notification settings - Fork 17
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
min_frames and frames_per_block can not have different values! #512
Comments
@Lexelius thanks for producing this report and sorry for the long wait. Not sure if I would describe the behaviour that you observed as unexpected - the BlockScan model together with the GPU-accelerated PyCUDA/CuPy engines has been designed in a way that it expects block-wise loading where each block is of size Let me quickly explain the two specific cases mentioned above before suggesting a potential solution to your use case.
To solve your specific issue, there are two possible solutions: A) making the
Hope this makes sense? |
When running reconstructions with the min_frames set to a value that is not the same as frames_per_block, there is unexpected behaviour, with different outcomes depending on which of the parameter values are larger!
The reconstructions were run on GPU with the dev branch (and the livescan subclass available in the livescan_maxiv branch).
These parameters:
gives the following error just when the iterations are about to start:
Whereas running with these parameter:
does not produce an error, but the loading does not start until end_of_scan = True, assuming because the input 'frames' in the check() function is equal to p.frames_per_block but since min_frames has a higher value the code gets stuck at line 619-620 in /ptypy/core/data.py ;
The text was updated successfully, but these errors were encountered: