abewley / sort

Simple, online, and realtime tracking of multiple objects in a video sequence.
GNU General Public License v3.0
4k stars 1.1k forks source link

AttributeError: 'module' object has no attribute 'nancumprod' #90

Open LLplane opened 4 years ago

LLplane commented 4 years ago

hi,when run python sort.py,it can result the inf:

Traceback (most recent call last): File "sorttt.py", line 25, in from skimage import io File "/home/lz/.local/lib/python2.7/site-packages/skimage/init.py", line 157, in from .util.dtype import * File "/home/lz/.local/lib/python2.7/site-packages/skimage/util/init.py", line 6, in from .apply_parallel import apply_parallel File "/home/lz/.local/lib/python2.7/site-packages/skimage/util/apply_parallel.py", line 8, in import dask.array as da File "/home/lz/.local/lib/python2.7/site-packages/dask/array/init.py", line 5, in from .core import (Array, block, concatenate, stack, from_array, store, File "/home/lz/.local/lib/python2.7/site-packages/dask/array/core.py", line 29, in from . import chunk File "/home/lz/.local/lib/python2.7/site-packages/dask/array/chunk.py", line 73, in nancumprod = npcompat.nancumprod AttributeError: 'module' object has no attribute 'nancumprod'

kunal8kabi commented 4 years ago

Hello @LLplane for this try install Sci-Kit image.

pip install -U scikit-image

or if you have Anaconda installed in your system

conda install -c conda-forge scikit-image