votchallenge / trax

Reference implementation of the Visual Tracking eXchange protocol.
77 stars 46 forks source link

trax error #51

Open gzhuxiaomogu opened 5 years ago

gzhuxiaomogu commented 5 years ago

Traceback (most recent call last): File "", line 1, in File "vot.py", line 17, in import trax File "/home/wublack/vot-toolkit/native/trax/support/python/trax/init.py", line 2, in from .wrapper import PropertiesWrapper File "/home/wublack/vot-toolkit/native/trax/support/python/trax/wrapper.py", line 4, in from .internal import trax_image_release, trax_region_release, trax_cleanup, trax_properties_release File "/home/wublack/vot-toolkit/native/trax/support/python/trax/internal.py", line 386, in trax_image_list_create = _libraries['trax'].trax_image_list_create File "/home/wublack/anaconda2/lib/python2.7/ctypes/init.py", line 379, in getattr func = self.getitem(name) File "/home/wublack/anaconda2/lib/python2.7/ctypes/init.py", line 384, in getitem func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /usr/lib/x86_64-linux-gnu/libtrax.so: undefined symbol: trax_image_list_create

gzhuxiaomogu commented 5 years ago

But in matlab is ok

Honorisverum commented 5 years ago

Have the same issue and can't solve it! The man who wrote challenge integrating software on MATLAB (what?) should be terribly hate human beings.

lukacu commented 5 years ago

Since the last comment is borderline offensive so I guess I must reply. This may also be useful for someone who is trying to understand why we have developed the toolkit the way we have. It seems that some of the younger researchers do not remember that Matlab was the main language of CV research even a few years ago and it seemed only reasonable to write the toolkit in it then. VOT2013 did not have even one Python submission. Of course this has changed in the last years and we are also considering the switch to Python, but VOT is driven by voluntary work so things move slowly, there are other projects that need our attention too.

Now, the problem with Matlab is that it makes work with processes extremely difficult. You can run another application, but you cannot communicate with it as it runs. This makes more sophisticated tracking evaluation impossible, so we have developed the TraX protocol and library. It is not the only way of solving the problem, but it is one of them. Of course there were many challenges and Matlab did not make any of them easy, I must admit that I hate it as well as you. But the result is a toolkit that can run a lot of different experiments and does not enforce any language constraints on tracker author. As far as I know this is the only such toolkit, there are others that enable this only for Matlab or Python trackers because they are written in the same language and the toolkit simply shares the process with the tracker.

But to also try and answer the original question: we have tested Python integration on many systems with different Python versions and it works. Well, there were some issues with multi-image challenges, but they should be resolved now. My only explanation for the issue that you are having is that the Python wrapper used an older version of libtrax (perhaps you have installed it at some point?) that does not have some functions implemented yet. We have made some changes for this year so you need the same libtrax version.

Bradyeyi commented 5 years ago

@lukaku,I have the same issue. The version of libtrax I installed is 1.2.1。Is it an old version? I installed it by the Trax document。

Bradyeyi commented 5 years ago

I have solved this problem。@lukaku,you are right. The version of libtrax is too old. I download the latest Trax source code, then I compile it and install. Therefore, when you install libtrax, you don't use the command 'sudo apt-get install libtrax0 libtrax-dev', I recommend that you recompile the source code and install libtrax. So, @lukacu , you need to update the repository (ppa:lukacu/trax) for convenience.

lukacu commented 5 years ago

Yes, I have to. I am not sure why I haven't done so before vot2019.

On Tue, Sep 17, 2019, 05:04 yeyi notifications@github.com wrote:

I have solved this problem。@lukaku https://github.com/lukaku,you are right. The version of libtrax is too old. I download the latest Trax source code, then I compile it and install. Therefore, when you install libtrax, you don't use the command 'sudo apt-get install libtrax0 libtrax-dev', I recommend that you recompile the source code and install libtrax. So, @lukacu https://github.com/lukacu , you need to update the repository (ppa:lukacu/trax) for convenience.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/votchallenge/trax/issues/51?email_source=notifications&email_token=AAGVY6LROIXHWWH6TK6ZQJ3QKBCMNA5CNFSM4HNTWT7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD63EI2I#issuecomment-532038761, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGVY6OJ6ZDO2JAMG4VDYSLQKBCMNANCNFSM4HNTWT7A .

gzhuxiaomogu commented 5 years ago

Could you put the VOT2018(the last year) on you Releases?

------------------ 原始邮件 ------------------ 发件人: "Luka Čehovin Zajc"<notifications@github.com>; 发送时间: 2019年9月17日(星期二) 中午1:04 收件人: "votchallenge/trax"<trax@noreply.github.com>; 抄送: "围城"<2361576922@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [votchallenge/trax] trax error (#51)

Yes, I have to. I am not sure why I haven't done so before vot2019.

On Tue, Sep 17, 2019, 05:04 yeyi <notifications@github.com> wrote:

> I have solved this problem。@lukaku <https://github.com/lukaku&gt;,you are > right. The version of libtrax is too old. I download the latest Trax source > code, then I compile it and install. Therefore, when you install libtrax, > you don't use the command 'sudo apt-get install libtrax0 libtrax-dev', I > recommend that you recompile the source code and install libtrax. > So, @lukacu <https://github.com/lukacu&gt; , you need to update the > repository (ppa:lukacu/trax) for convenience. > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/votchallenge/trax/issues/51?email_source=notifications&amp;email_token=AAGVY6LROIXHWWH6TK6ZQJ3QKBCMNA5CNFSM4HNTWT7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD63EI2I#issuecomment-532038761&gt;, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AAGVY6OJ6ZDO2JAMG4VDYSLQKBCMNANCNFSM4HNTWT7A&gt; > . >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.