fengyang95 / pyCFTrackers

Python re-implementation of some correlation filter based tracker
MIT License
524 stars 115 forks source link

while installing the requirements, this error is popping up !! #8

Closed prerit1998jain closed 5 years ago

prerit1998jain commented 5 years ago

ERROR: mxnet-cu90 1.4.1 has requirement numpy<1.15.0,>=1.8.2, but you'll have numpy 1.16.2 which is incompatible.

fengyang95 commented 5 years ago

You can install older version of numpy to fix it.

prerit1998jain commented 5 years ago

Ya I did it!!

Can you tell me why is this error coming up? File "cf_demo.py", line 2, in from examples.pytracker import PyTracker ModuleNotFoundError: No module named 'examples'

prerit1998jain commented 5 years ago

The above problem is solved, it seems there was some problem with the building part. Please help me with this error Traceback (most recent call last): File "cf_demo.py", line 2, in from examples.pytracker import PyTracker File "/home/prerit/Desktop/Silo.Ai/pyCFTrackers/examples/pytracker.py", line 6, in from cftracker.kcf import KCF File "/home/prerit/Desktop/Silo.Ai/pyCFTrackers/cftracker/kcf.py", line 7, in from .feature import extract_hog_feature,extract_cn_feature File "/home/prerit/Desktop/Silo.Ai/pyCFTrackers/cftracker/feature.py", line 3, in from lib.eco.features.features import fhog,TableFeature File "/home/prerit/Desktop/Silo.Ai/pyCFTrackers/lib/eco/init.py", line 1, in from .tracker import ECOTracker File "/home/prerit/Desktop/Silo.Ai/pyCFTrackers/lib/eco/tracker.py", line 11, in from .features import GrayFeature,FHogFeature, TableFeature, mround, ResNet50Feature, VGG16Feature File "/home/prerit/Desktop/Silo.Ai/pyCFTrackers/lib/eco/features/init.py", line 1, in from .features import GrayFeature,FHogFeature, TableFeature, fhog, mround, ResNet50Feature, VGG16Feature File "/home/prerit/Desktop/Silo.Ai/pyCFTrackers/lib/eco/features/features.py", line 1, in import mxnet as mx File "/home/prerit/anaconda3/envs/computervision/lib/python3.7/site-packages/mxnet/init.py", line 24, in from .context import Context, current_context, cpu, gpu, cpu_pinned File "/home/prerit/anaconda3/envs/computervision/lib/python3.7/site-packages/mxnet/context.py", line 24, in from .base import classproperty, with_metaclass, _MXClassPropertyMetaClass File "/home/prerit/anaconda3/envs/computervision/lib/python3.7/site-packages/mxnet/base.py", line 213, in _LIB = _load_lib() File "/home/prerit/anaconda3/envs/computervision/lib/python3.7/site-packages/mxnet/base.py", line 204, in _load_lib lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL) File "/home/prerit/anaconda3/envs/computervision/lib/python3.7/ctypes/init.py", line 356, in init self._handle = _dlopen(self._name, mode) OSError: libcudart.so.10.1: cannot open shared object file: No such file or directory

fengyang95 commented 5 years ago

It seems that something wrong with your cuda environment.

prerit1998jain commented 5 years ago

Can you suggest something? Which Cuda version did you use?

fengyang95 commented 5 years ago

I used cuda 9.0 The mxnet version should be matched with cuda version.

prerit1998jain commented 5 years ago

Will it work if I use cuda 10.0 and the mxnet version which match it? Or there will be compatibility issues with other packages?

fengyang95 commented 5 years ago

I just tested on cuda 9.0.

prerit1998jain commented 5 years ago

Thanks for the answers. I guess it is working now. I build an environment with mxnet90 and cuda9.0. And it is running in it. Thanks for your help!!