-
Notifications
You must be signed in to change notification settings - Fork 132
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
trackpy.batch only works with processes = 1 #771
Comments
Thanks for this report. Do you know what version of pims you have, and which package is installed for reading tiffs? (usually libtiff or tifffile)
On Aug 8, 2024, at 7:01 PM, ggomes-altos ***@***.***> wrote:
Python 3.12.4
trackpy 0.6.4
The following runs without error:
f = tp.batch(frames, 11, invert=False, minmass=500, processes=1)
whereas processes = 2 gives a long error message ultimately ending in TiffFileError: corrupted tag list at offset 254920375
and processes = 'auto' gives a warning ( ValueError: need at most 63 handles, got a sequence of length 66 ) which disappears and is replaced with the Frame number 1 and number of features, but the computation never ends.
Happy to include full error messages if necessary.
—
Reply to this email directly, view it on GitHub<#771>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAWY23NWV4XON3CF3IULEZTZQP2DRAVCNFSM6AAAAABMHMNIRKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2TMNZYGE4DIOA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hi sorry for the delayed response. I have pims 0.7 I think tiffffile is doing the tiff reading since in the lowest level of the error message it seems to be using the tifffile package: ValueError Traceback (most recent call last) A_path\Lib\site-packages\trackpy\feature.py in ?(frames, diameter, output, meta, processes, after_locate, **kwargs) A_path\Lib\site-packages\slicerator_init_.py in ?(self, i) A_path\Lib\site-packages\pims\base_frames.py in ?(self, key) A_path\Lib\site-packages\pims\tiff_stack.py in ?(self, j) A_path\Lib\site-packages\tifffile\tifffile.py in ?(self, out, squeeze, lock, maxworkers) A_apth\Lib\site-packages\tifffile\tifffile.py in ?(self, dtype, count, offset, out)
|
Python 3.12.4
trackpy 0.6.4
The following runs without error:
f = tp.batch(frames, 11, invert=False, minmass=500, processes=1)
whereas processes = 2 gives a long error message ultimately ending in TiffFileError: corrupted tag list at offset 254920375
and processes = 'auto' gives a warning ( ValueError: need at most 63 handles, got a sequence of length 66 ) which disappears and is replaced with the Frame number 1 and number of features, but the computation never ends.
Happy to include full error messages if necessary.
The text was updated successfully, but these errors were encountered: