got-10k / toolkit

Official Python toolkit for generic object tracking benchmark GOT-10k and beyond
http://got-10k.aitestunion.com/
MIT License
557 stars 95 forks source link

[SERIOUS PROBLEM]Compilation error in got10k/datasets/lasot.py #32

Open fzh0917 opened 5 years ago

fzh0917 commented 5 years ago

As the title said, there is a compilation error in the file got10k/datasets/lasot.py. The code is self._check_integrity(root_dir, subset) at the line # 31, passing 2 parameters into the function self._check_integrity. However, it just receives one argument in its definition. So, a compilation error happened when I run my code. The error info is as the following.

Traceback (most recent call last):
  File "train.py", line 18, in <module>
    main()
  File "train.py", line 14, in main
    tracker.train1(data_path, net_storage_dir)
  File ".../.../xxx.py", line 177, in train1
    LaSOT(os.path.join(data_path, 'LaSOT/LaSOTBenchmark'), subset='train')
  File ".../.../anaconda3/lib/python3.6/site-packages/got10k/datasets/lasot.py", line 31, in __init__
    self._check_integrity(root_dir, subset)
TypeError: _check_integrity() takes 2 positional arguments but 3 were given
wWHWw commented 3 years ago

@fzh0917 hi i met the same problem, any idea how to solve it?

wWHWw commented 3 years ago

i also want to know where i can get lasot.json for training?