Skip to content

Commit

Permalink
[datamanager] add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiyangZhou committed Jul 3, 2019
1 parent a2abaaf commit 65a8f44
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions torchreid/data/datamanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,12 @@ class VideoDataManager(DataManager):
seq_len=15,
sample_method='evenly'
)
.. note::
The current implementation only supports image-like training. Therefore, each image in a
sampled tracklet will undergo independent transformation functions. To achieve tracklet-aware
training, you need to modify the transformation functions for video reid such that each function
applies the same operation to all images in a tracklet to keep consistency.
"""

def __init__(self, root='', sources=None, targets=None, height=256, width=128, transforms='random_flip',
Expand Down

0 comments on commit 65a8f44

Please sign in to comment.