huanglianghua / open-vot

Open source visual object tracking library in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug] isinstance('ABC', collections.Container) return true.

mayorx opened this issue · comments

if not isinstance(tracker_names, collections.Container):

tracker_names is string ('SiamFC', for example).

        if not isinstance(tracker_names, collections.Container):
            tracker_names = [tracker_names]

        for name in tracker_names:
            ...

name will iterator 'SiamFC' as 'S' 'i' 'a' 'm' 'F' 'C'

well, you can delete the 'not'

The issue has been fixed.