jutanke / cabbage

Unofficial Implementation of the paper: Multiple People Tracking by Lifted Multicut and Person Re-identification
MIT License
93 stars 25 forks source link

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

Open gyc521zsc opened 5 years ago

gyc521zsc commented 5 years ago

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