Daikenan / LTMU

CVPR2020 Oral && Best Paper Nomination
GNU General Public License v3.0
256 stars 36 forks source link

LTMU Training on custom objects #54

Open samohadid opened 3 years ago

samohadid commented 3 years ago

Dear Author: Thanks for publishing the source code of Meta updater. After referring to LTR and to read me in AtomMU Iam still confused about the dataset shape and the labels annotation needed. for testing I will train the superdimp on single class from the Lasot dataset. after downloading Lasot dataset the data is separated in multiple files. should I combine the data in one file? and should I change the annotation of the Lasot dataset?

Daikenan commented 3 years ago

The annotation of the original LaSOT dataset does not need any modification. The label of MU is generated based on the tracking result,the tracking results were classified based on IOU.

samohadid commented 3 years ago

@Daikenan thanks for your rapid response. Iam using google colab for testing the framework. I installed the specific environment on colab. and I'm following instructions from file readme in ATOMMU. Moreover I changed the path of Lasot dataset in the file local_path.py image

I downloaded a single category 'bicycle' of the dataset Lasot this is shape of data inside each folder image

The error :

all data

Traceback (most recent call last): File "/content/drive/MyDrive/LTMU/Super_DiMP_MU/run_tracker.py", line 91, in get_groundtruth groundtruth = np.loadtxt(gt_dir, delimiter=',') File "/usr/local/lib/python3.7/dist-packages/numpy/lib/npyio.py", line 981, in loadtxt fh = np.lib._datasource.open(fname, 'rt', encoding=encoding) File "/usr/local/lib/python3.7/dist-packages/numpy/lib/_datasource.py", line 269, in open return ds.open(path, mode, encoding=encoding, newline=newline) File "/usr/local/lib/python3.7/dist-packages/numpy/lib/_datasource.py", line 623, in open raise IOError("%s not found." % path) OSError: /content/drive/MyDrive/Dateset/bicycle/bicycle-1/img/groundtruth.txt not found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "test_tracker.py", line 26, in eval_tracking('lasot', p=p, mode='all') File "/content/drive/MyDrive/LTMU/Super_DiMP_MU/run_tracker.py", line 185, in eval_tracking run_seq_list(Dataset, p, sequence_list, data_dir) File "/content/drive/MyDrive/LTMU/Super_DiMP_MU/run_tracker.py", line 111, in run_seq_list sequence_dir, groundtruth = get_groundtruth(Dataset, data_dir, video) File "/content/drive/MyDrive/LTMU/Super_DiMP_MU/run_tracker.py", line 93, in get_groundtruth groundtruth = np.loadtxt(gt_dir) File "/usr/local/lib/python3.7/dist-packages/numpy/lib/npyio.py", line 981, in loadtxt fh = np.lib._datasource.open(fname, 'rt', encoding=encoding) File "/usr/local/lib/python3.7/dist-packages/numpy/lib/_datasource.py", line 269, in open return ds.open(path, mode, encoding=encoding, newline=newline) File "/usr/local/lib/python3.7/dist-packages/numpy/lib/_datasource.py", line 623, in open raise IOError("%s not found." % path) OSError: /content/drive/MyDrive/Dateset/bicycle/bicycle-1/img/groundtruth.txt not found.

qq1018408006 commented 3 years ago

@samohadid I guess you can find groundtruth.txt from Dataset/bicycle/bicycle-1 rather Dataset/bicycle/bicycle-1/img