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

ValueError: zero-size array to reduction operation minimum which has no identity #19

Open
gyc521zsc opened this issue May 8, 2019 · 0 comments

Comments

@gyc521zsc
Copy link

File "/home/gyc/GYC_Python_Work/Multiple-People-Tracking-by-Lifted-Multicut-and-Person-Re-identification.py", line 16, in
execute_multiple_people_tracking(video_folder, X, Dt, video_name, dmax, settings_file)
File "/home/gyc/GYC_Python_Work/cabbage/MultiplePeopleTracking.py", line 57, in execute_multiple_people_tracking
gg.build(Dt, X, W, batch_size=batch_size)
File "/home/gyc/GYC_Python_Work/cabbage/MultiplePeopleTracking.py", line 95, in build
lookup = AABBLookup(Dt, X)
File "/home/gyc/GYC_Python_Work/cabbage/features/combined.py", line 40, in init
im = get_element(X[frame-1], (x,y,w,h), (W, H), True)
File "/home/gyc/GYC_Python_Work/cabbage/features/ReId.py", line 23, in get_element
I = resize(I, shape, mode='constant').copy()
File "/home/gyc/anaconda3/lib/python3.6/site-packages/skimage/transform/_warps.py", line 135, in resize
preserve_range=preserve_range)
File "/home/gyc/anaconda3/lib/python3.6/site-packages/skimage/transform/_warps.py", line 819, in warp
_clip_warp_output(image, warped, order, mode, cval, clip)
File "/home/gyc/anaconda3/lib/python3.6/site-packages/skimage/transform/_warps.py", line 570, in _clip_warp_output
min_val = input_image.min()
File "/home/gyc/anaconda3/lib/python3.6/site-packages/numpy/core/_methods.py", line 29, in _amin
return umr_minimum(a, axis, None, out, keepdims)
ValueError: zero-size array to reduction operation minimum which has no identity

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

1 participant