update user-guide

gh-pages
KaiyangZhou 2019-03-26 18:06:38 +00:00
parent c68fb70bef
commit 58a657f3e2
3 changed files with 17 additions and 3 deletions

View File

@ -208,7 +208,14 @@ Use your own dataset
# All you need to do here is to generate three lists,
# which are train, query and gallery.
# Each list contains tuples of (img_path, pid, camid).
# Each list contains tuples of (img_path, pid, camid),
# where
# - img_path (str): absolute path to an image.
# - pid (int): person ID, e.g. 0, 1.
# - camid (int): camera ID, e.g. 0, 1.
# Note that
# - pid and camid should be 0-based.
# - query and gallery should share the same pid/camid system.
train = ...
query = ...
gallery = ...

File diff suppressed because one or more lines are too long

View File

@ -375,7 +375,14 @@
<span class="c1"># All you need to do here is to generate three lists,</span>
<span class="c1"># which are train, query and gallery.</span>
<span class="c1"># Each list contains tuples of (img_path, pid, camid).</span>
<span class="c1"># Each list contains tuples of (img_path, pid, camid),</span>
<span class="c1"># where</span>
<span class="c1"># - img_path (str): absolute path to an image.</span>
<span class="c1"># - pid (int): person ID, e.g. 0, 1.</span>
<span class="c1"># - camid (int): camera ID, e.g. 0, 1.</span>
<span class="c1"># Note that</span>
<span class="c1"># - pid and camid should be 0-based.</span>
<span class="c1"># - query and gallery should share the same pid/camid system.</span>
<span class="n">train</span> <span class="o">=</span> <span class="o">...</span>
<span class="n">query</span> <span class="o">=</span> <span class="o">...</span>
<span class="n">gallery</span> <span class="o">=</span> <span class="o">...</span>