diff --git a/AWESOME_REID.html b/AWESOME_REID.html
index 4962ccc..d60ae6b 100644
--- a/AWESOME_REID.html
+++ b/AWESOME_REID.html
@@ -8,7 +8,7 @@
-
ImageNet pretrained models
diff --git a/_modules/index.html b/_modules/index.html
index e66b2b5..971555e 100644
--- a/_modules/index.html
+++ b/_modules/index.html
@@ -8,7 +8,7 @@
-
Overview: module code — torchreid 1.0.1 documentation
+
Overview: module code — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datamanager.html b/_modules/torchreid/data/datamanager.html
index 8cd13de..63c05f1 100644
--- a/_modules/torchreid/data/datamanager.html
+++ b/_modules/torchreid/data/datamanager.html
@@ -8,7 +8,7 @@
-
torchreid.data.datamanager — torchreid 1.0.1 documentation
+
torchreid.data.datamanager — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/__init__.html b/_modules/torchreid/data/datasets/__init__.html
index be62e61..012259e 100644
--- a/_modules/torchreid/data/datasets/__init__.html
+++ b/_modules/torchreid/data/datasets/__init__.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.__init__ — torchreid 1.0.1 documentation
+
torchreid.data.datasets.__init__ — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/dataset.html b/_modules/torchreid/data/datasets/dataset.html
index c46fe36..05e9109 100644
--- a/_modules/torchreid/data/datasets/dataset.html
+++ b/_modules/torchreid/data/datasets/dataset.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.dataset — torchreid 1.0.1 documentation
+
torchreid.data.datasets.dataset — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/image/cuhk01.html b/_modules/torchreid/data/datasets/image/cuhk01.html
index 6ab0d66..5920832 100644
--- a/_modules/torchreid/data/datasets/image/cuhk01.html
+++ b/_modules/torchreid/data/datasets/image/cuhk01.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.image.cuhk01 — torchreid 1.0.1 documentation
+
torchreid.data.datasets.image.cuhk01 — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/image/cuhk03.html b/_modules/torchreid/data/datasets/image/cuhk03.html
index 69507d2..290bd60 100644
--- a/_modules/torchreid/data/datasets/image/cuhk03.html
+++ b/_modules/torchreid/data/datasets/image/cuhk03.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.image.cuhk03 — torchreid 1.0.1 documentation
+
torchreid.data.datasets.image.cuhk03 — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/image/dukemtmcreid.html b/_modules/torchreid/data/datasets/image/dukemtmcreid.html
index e82691c..1940d9d 100644
--- a/_modules/torchreid/data/datasets/image/dukemtmcreid.html
+++ b/_modules/torchreid/data/datasets/image/dukemtmcreid.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.image.dukemtmcreid — torchreid 1.0.1 documentation
+
torchreid.data.datasets.image.dukemtmcreid — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/image/grid.html b/_modules/torchreid/data/datasets/image/grid.html
index 15303f2..713f173 100644
--- a/_modules/torchreid/data/datasets/image/grid.html
+++ b/_modules/torchreid/data/datasets/image/grid.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.image.grid — torchreid 1.0.1 documentation
+
torchreid.data.datasets.image.grid — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/image/ilids.html b/_modules/torchreid/data/datasets/image/ilids.html
index dceb761..030bf62 100644
--- a/_modules/torchreid/data/datasets/image/ilids.html
+++ b/_modules/torchreid/data/datasets/image/ilids.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.image.ilids — torchreid 1.0.1 documentation
+
torchreid.data.datasets.image.ilids — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/image/market1501.html b/_modules/torchreid/data/datasets/image/market1501.html
index 78c0195..a47399d 100644
--- a/_modules/torchreid/data/datasets/image/market1501.html
+++ b/_modules/torchreid/data/datasets/image/market1501.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.image.market1501 — torchreid 1.0.1 documentation
+
torchreid.data.datasets.image.market1501 — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/image/msmt17.html b/_modules/torchreid/data/datasets/image/msmt17.html
index 99dcefd..c8f11e1 100644
--- a/_modules/torchreid/data/datasets/image/msmt17.html
+++ b/_modules/torchreid/data/datasets/image/msmt17.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.image.msmt17 — torchreid 1.0.1 documentation
+
torchreid.data.datasets.image.msmt17 — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/image/prid.html b/_modules/torchreid/data/datasets/image/prid.html
index 0a0ac2f..71d7a46 100644
--- a/_modules/torchreid/data/datasets/image/prid.html
+++ b/_modules/torchreid/data/datasets/image/prid.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.image.prid — torchreid 1.0.1 documentation
+
torchreid.data.datasets.image.prid — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/image/sensereid.html b/_modules/torchreid/data/datasets/image/sensereid.html
index 811276b..4691535 100644
--- a/_modules/torchreid/data/datasets/image/sensereid.html
+++ b/_modules/torchreid/data/datasets/image/sensereid.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.image.sensereid — torchreid 1.0.1 documentation
+
torchreid.data.datasets.image.sensereid — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/image/viper.html b/_modules/torchreid/data/datasets/image/viper.html
index e58ef48..9d4f837 100644
--- a/_modules/torchreid/data/datasets/image/viper.html
+++ b/_modules/torchreid/data/datasets/image/viper.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.image.viper — torchreid 1.0.1 documentation
+
torchreid.data.datasets.image.viper — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/video/dukemtmcvidreid.html b/_modules/torchreid/data/datasets/video/dukemtmcvidreid.html
index f236175..cdefaf8 100644
--- a/_modules/torchreid/data/datasets/video/dukemtmcvidreid.html
+++ b/_modules/torchreid/data/datasets/video/dukemtmcvidreid.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.video.dukemtmcvidreid — torchreid 1.0.1 documentation
+
torchreid.data.datasets.video.dukemtmcvidreid — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/video/ilidsvid.html b/_modules/torchreid/data/datasets/video/ilidsvid.html
index bbe2320..456bc97 100644
--- a/_modules/torchreid/data/datasets/video/ilidsvid.html
+++ b/_modules/torchreid/data/datasets/video/ilidsvid.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.video.ilidsvid — torchreid 1.0.1 documentation
+
torchreid.data.datasets.video.ilidsvid — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/video/mars.html b/_modules/torchreid/data/datasets/video/mars.html
index 309fda7..36365bc 100644
--- a/_modules/torchreid/data/datasets/video/mars.html
+++ b/_modules/torchreid/data/datasets/video/mars.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.video.mars — torchreid 1.0.1 documentation
+
torchreid.data.datasets.video.mars — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/datasets/video/prid2011.html b/_modules/torchreid/data/datasets/video/prid2011.html
index d9fd8f2..69d253b 100644
--- a/_modules/torchreid/data/datasets/video/prid2011.html
+++ b/_modules/torchreid/data/datasets/video/prid2011.html
@@ -8,7 +8,7 @@
-
torchreid.data.datasets.video.prid2011 — torchreid 1.0.1 documentation
+
torchreid.data.datasets.video.prid2011 — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/sampler.html b/_modules/torchreid/data/sampler.html
index aa0b989..f446184 100644
--- a/_modules/torchreid/data/sampler.html
+++ b/_modules/torchreid/data/sampler.html
@@ -8,7 +8,7 @@
-
torchreid.data.sampler — torchreid 1.0.1 documentation
+
torchreid.data.sampler — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/data/transforms.html b/_modules/torchreid/data/transforms.html
index 8faa449..d4de5e6 100644
--- a/_modules/torchreid/data/transforms.html
+++ b/_modules/torchreid/data/transforms.html
@@ -8,7 +8,7 @@
-
torchreid.data.transforms — torchreid 1.0.1 documentation
+
torchreid.data.transforms — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
@@ -173,6 +173,7 @@
import random
import numpy as np
import math
+
from collections import deque
import torch
from torchvision.transforms import *
@@ -298,6 +299,82 @@
return tensor
+[docs]def build_transforms(height, width, transforms='random_flip', norm_mean=[0.485, 0.456, 0.406],
norm_std=[0.229, 0.224, 0.225], **kwargs):
"""Builds train and test transform functions.
@@ -339,6 +416,9 @@
print('+ random crop (enlarge to {}x{} and ' \
'crop {}x{})'.format(int(round(height*1.125)), int(round(width*1.125)), height, width))
transform_tr += [Random2DTranslation(height, width)]
+
if 'random_patch' in transforms:
+
print('+ random patch')
+
transform_tr += [RandomPatch()]
if 'color_jitter' in transforms:
print('+ color jitter')
transform_tr += [ColorJitter(brightness=0.2, contrast=0.15, saturation=0, hue=0)]
diff --git a/_modules/torchreid/engine/engine.html b/_modules/torchreid/engine/engine.html
index a20dfab..e1b59de 100644
--- a/_modules/torchreid/engine/engine.html
+++ b/_modules/torchreid/engine/engine.html
@@ -8,7 +8,7 @@
-
torchreid.engine.engine — torchreid 1.0.1 documentation
+
torchreid.engine.engine — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/engine/image/softmax.html b/_modules/torchreid/engine/image/softmax.html
index 2b90001..13c7c7c 100644
--- a/_modules/torchreid/engine/image/softmax.html
+++ b/_modules/torchreid/engine/image/softmax.html
@@ -8,7 +8,7 @@
-
torchreid.engine.image.softmax — torchreid 1.0.1 documentation
+
torchreid.engine.image.softmax — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/engine/image/triplet.html b/_modules/torchreid/engine/image/triplet.html
index 840f9b0..f2baf08 100644
--- a/_modules/torchreid/engine/image/triplet.html
+++ b/_modules/torchreid/engine/image/triplet.html
@@ -8,7 +8,7 @@
-
torchreid.engine.image.triplet — torchreid 1.0.1 documentation
+
torchreid.engine.image.triplet — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/engine/video/softmax.html b/_modules/torchreid/engine/video/softmax.html
index 2e2d665..fab097c 100644
--- a/_modules/torchreid/engine/video/softmax.html
+++ b/_modules/torchreid/engine/video/softmax.html
@@ -8,7 +8,7 @@
-
torchreid.engine.video.softmax — torchreid 1.0.1 documentation
+
torchreid.engine.video.softmax — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/engine/video/triplet.html b/_modules/torchreid/engine/video/triplet.html
index 0f8942a..b149e2c 100644
--- a/_modules/torchreid/engine/video/triplet.html
+++ b/_modules/torchreid/engine/video/triplet.html
@@ -8,7 +8,7 @@
-
torchreid.engine.video.triplet — torchreid 1.0.1 documentation
+
torchreid.engine.video.triplet — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/losses/cross_entropy_loss.html b/_modules/torchreid/losses/cross_entropy_loss.html
index d34c00b..cec4400 100644
--- a/_modules/torchreid/losses/cross_entropy_loss.html
+++ b/_modules/torchreid/losses/cross_entropy_loss.html
@@ -8,7 +8,7 @@
-
torchreid.losses.cross_entropy_loss — torchreid 1.0.1 documentation
+
torchreid.losses.cross_entropy_loss — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/losses/hard_mine_triplet_loss.html b/_modules/torchreid/losses/hard_mine_triplet_loss.html
index 491b62a..42c912c 100644
--- a/_modules/torchreid/losses/hard_mine_triplet_loss.html
+++ b/_modules/torchreid/losses/hard_mine_triplet_loss.html
@@ -8,7 +8,7 @@
-
torchreid.losses.hard_mine_triplet_loss — torchreid 1.0.1 documentation
+
torchreid.losses.hard_mine_triplet_loss — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/metrics/accuracy.html b/_modules/torchreid/metrics/accuracy.html
index bb97ecd..373e7f2 100644
--- a/_modules/torchreid/metrics/accuracy.html
+++ b/_modules/torchreid/metrics/accuracy.html
@@ -8,7 +8,7 @@
-
torchreid.metrics.accuracy — torchreid 1.0.1 documentation
+
torchreid.metrics.accuracy — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/metrics/distance.html b/_modules/torchreid/metrics/distance.html
index 0597b6d..5bdf44e 100644
--- a/_modules/torchreid/metrics/distance.html
+++ b/_modules/torchreid/metrics/distance.html
@@ -8,7 +8,7 @@
-
torchreid.metrics.distance — torchreid 1.0.1 documentation
+
torchreid.metrics.distance — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/metrics/rank.html b/_modules/torchreid/metrics/rank.html
index 78f8992..b99e974 100644
--- a/_modules/torchreid/metrics/rank.html
+++ b/_modules/torchreid/metrics/rank.html
@@ -8,7 +8,7 @@
-
torchreid.metrics.rank — torchreid 1.0.1 documentation
+
torchreid.metrics.rank — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/__init__.html b/_modules/torchreid/models/__init__.html
index b07413c..d2da643 100644
--- a/_modules/torchreid/models/__init__.html
+++ b/_modules/torchreid/models/__init__.html
@@ -8,7 +8,7 @@
-
torchreid.models.__init__ — torchreid 1.0.1 documentation
+
torchreid.models.__init__ — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/densenet.html b/_modules/torchreid/models/densenet.html
index 803c49d..3cebac8 100644
--- a/_modules/torchreid/models/densenet.html
+++ b/_modules/torchreid/models/densenet.html
@@ -8,7 +8,7 @@
-
torchreid.models.densenet — torchreid 1.0.1 documentation
+
torchreid.models.densenet — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/hacnn.html b/_modules/torchreid/models/hacnn.html
index 498e9e6..df81025 100644
--- a/_modules/torchreid/models/hacnn.html
+++ b/_modules/torchreid/models/hacnn.html
@@ -8,7 +8,7 @@
-
torchreid.models.hacnn — torchreid 1.0.1 documentation
+
torchreid.models.hacnn — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/inceptionresnetv2.html b/_modules/torchreid/models/inceptionresnetv2.html
index 64a58ad..6f76277 100644
--- a/_modules/torchreid/models/inceptionresnetv2.html
+++ b/_modules/torchreid/models/inceptionresnetv2.html
@@ -8,7 +8,7 @@
-
torchreid.models.inceptionresnetv2 — torchreid 1.0.1 documentation
+
torchreid.models.inceptionresnetv2 — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/inceptionv4.html b/_modules/torchreid/models/inceptionv4.html
index bdd3a2e..cba1e67 100644
--- a/_modules/torchreid/models/inceptionv4.html
+++ b/_modules/torchreid/models/inceptionv4.html
@@ -8,7 +8,7 @@
-
torchreid.models.inceptionv4 — torchreid 1.0.1 documentation
+
torchreid.models.inceptionv4 — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/mlfn.html b/_modules/torchreid/models/mlfn.html
index 03763fc..d03ead7 100644
--- a/_modules/torchreid/models/mlfn.html
+++ b/_modules/torchreid/models/mlfn.html
@@ -8,7 +8,7 @@
-
torchreid.models.mlfn — torchreid 1.0.1 documentation
+
torchreid.models.mlfn — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/mobilenetv2.html b/_modules/torchreid/models/mobilenetv2.html
index f017815..6f17d7d 100644
--- a/_modules/torchreid/models/mobilenetv2.html
+++ b/_modules/torchreid/models/mobilenetv2.html
@@ -8,7 +8,7 @@
-
torchreid.models.mobilenetv2 — torchreid 1.0.1 documentation
+
torchreid.models.mobilenetv2 — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/mudeep.html b/_modules/torchreid/models/mudeep.html
index 2198019..6a41f6a 100644
--- a/_modules/torchreid/models/mudeep.html
+++ b/_modules/torchreid/models/mudeep.html
@@ -8,7 +8,7 @@
-
torchreid.models.mudeep — torchreid 1.0.1 documentation
+
torchreid.models.mudeep — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/nasnet.html b/_modules/torchreid/models/nasnet.html
index 15911b0..5d44f1d 100644
--- a/_modules/torchreid/models/nasnet.html
+++ b/_modules/torchreid/models/nasnet.html
@@ -8,7 +8,7 @@
-
torchreid.models.nasnet — torchreid 1.0.1 documentation
+
torchreid.models.nasnet — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/osnet.html b/_modules/torchreid/models/osnet.html
index 835b0bb..fa65632 100644
--- a/_modules/torchreid/models/osnet.html
+++ b/_modules/torchreid/models/osnet.html
@@ -8,7 +8,7 @@
-
torchreid.models.osnet — torchreid 1.0.1 documentation
+
torchreid.models.osnet — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/pcb.html b/_modules/torchreid/models/pcb.html
index 07d24ff..598e198 100644
--- a/_modules/torchreid/models/pcb.html
+++ b/_modules/torchreid/models/pcb.html
@@ -8,7 +8,7 @@
-
torchreid.models.pcb — torchreid 1.0.1 documentation
+
torchreid.models.pcb — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/resnet.html b/_modules/torchreid/models/resnet.html
index 7e5e5ad..bd80b47 100644
--- a/_modules/torchreid/models/resnet.html
+++ b/_modules/torchreid/models/resnet.html
@@ -8,7 +8,7 @@
-
torchreid.models.resnet — torchreid 1.0.1 documentation
+
torchreid.models.resnet — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/resnetmid.html b/_modules/torchreid/models/resnetmid.html
index 6fca9fe..bbe9542 100644
--- a/_modules/torchreid/models/resnetmid.html
+++ b/_modules/torchreid/models/resnetmid.html
@@ -8,7 +8,7 @@
-
torchreid.models.resnetmid — torchreid 1.0.1 documentation
+
torchreid.models.resnetmid — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/senet.html b/_modules/torchreid/models/senet.html
index cba704b..676a724 100644
--- a/_modules/torchreid/models/senet.html
+++ b/_modules/torchreid/models/senet.html
@@ -8,7 +8,7 @@
-
torchreid.models.senet — torchreid 1.0.1 documentation
+
torchreid.models.senet — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/shufflenet.html b/_modules/torchreid/models/shufflenet.html
index 25684b8..f744841 100644
--- a/_modules/torchreid/models/shufflenet.html
+++ b/_modules/torchreid/models/shufflenet.html
@@ -8,7 +8,7 @@
-
torchreid.models.shufflenet — torchreid 1.0.1 documentation
+
torchreid.models.shufflenet — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/shufflenetv2.html b/_modules/torchreid/models/shufflenetv2.html
index 0176563..0386617 100644
--- a/_modules/torchreid/models/shufflenetv2.html
+++ b/_modules/torchreid/models/shufflenetv2.html
@@ -8,7 +8,7 @@
-
torchreid.models.shufflenetv2 — torchreid 1.0.1 documentation
+
torchreid.models.shufflenetv2 — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/squeezenet.html b/_modules/torchreid/models/squeezenet.html
index 22953bb..fb2cf8c 100644
--- a/_modules/torchreid/models/squeezenet.html
+++ b/_modules/torchreid/models/squeezenet.html
@@ -8,7 +8,7 @@
-
torchreid.models.squeezenet — torchreid 1.0.1 documentation
+
torchreid.models.squeezenet — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/models/xception.html b/_modules/torchreid/models/xception.html
index 90a1863..0a504df 100644
--- a/_modules/torchreid/models/xception.html
+++ b/_modules/torchreid/models/xception.html
@@ -8,7 +8,7 @@
-
torchreid.models.xception — torchreid 1.0.1 documentation
+
torchreid.models.xception — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/optim/lr_scheduler.html b/_modules/torchreid/optim/lr_scheduler.html
index dd0ac8a..0f7da61 100644
--- a/_modules/torchreid/optim/lr_scheduler.html
+++ b/_modules/torchreid/optim/lr_scheduler.html
@@ -8,7 +8,7 @@
-
torchreid.optim.lr_scheduler — torchreid 1.0.1 documentation
+
torchreid.optim.lr_scheduler — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/optim/optimizer.html b/_modules/torchreid/optim/optimizer.html
index 69f04be..2b7718c 100644
--- a/_modules/torchreid/optim/optimizer.html
+++ b/_modules/torchreid/optim/optimizer.html
@@ -8,7 +8,7 @@
-
torchreid.optim.optimizer — torchreid 1.0.1 documentation
+
torchreid.optim.optimizer — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/utils/avgmeter.html b/_modules/torchreid/utils/avgmeter.html
index e9c692e..3a56e6e 100644
--- a/_modules/torchreid/utils/avgmeter.html
+++ b/_modules/torchreid/utils/avgmeter.html
@@ -8,7 +8,7 @@
-
torchreid.utils.avgmeter — torchreid 1.0.1 documentation
+
torchreid.utils.avgmeter — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/utils/loggers.html b/_modules/torchreid/utils/loggers.html
index 2ce0a57..63ca0d7 100644
--- a/_modules/torchreid/utils/loggers.html
+++ b/_modules/torchreid/utils/loggers.html
@@ -8,7 +8,7 @@
-
torchreid.utils.loggers — torchreid 1.0.1 documentation
+
torchreid.utils.loggers — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/utils/model_complexity.html b/_modules/torchreid/utils/model_complexity.html
index 629a245..ecfabe7 100644
--- a/_modules/torchreid/utils/model_complexity.html
+++ b/_modules/torchreid/utils/model_complexity.html
@@ -8,7 +8,7 @@
-
torchreid.utils.model_complexity — torchreid 1.0.1 documentation
+
torchreid.utils.model_complexity — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/utils/reidtools.html b/_modules/torchreid/utils/reidtools.html
index 0f1a177..10543dc 100644
--- a/_modules/torchreid/utils/reidtools.html
+++ b/_modules/torchreid/utils/reidtools.html
@@ -8,7 +8,7 @@
-
torchreid.utils.reidtools — torchreid 1.0.1 documentation
+
torchreid.utils.reidtools — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/utils/tools.html b/_modules/torchreid/utils/tools.html
index b899758..19430d8 100644
--- a/_modules/torchreid/utils/tools.html
+++ b/_modules/torchreid/utils/tools.html
@@ -8,7 +8,7 @@
-
torchreid.utils.tools — torchreid 1.0.1 documentation
+
torchreid.utils.tools — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_modules/torchreid/utils/torchtools.html b/_modules/torchreid/utils/torchtools.html
index 53131ff..1272717 100644
--- a/_modules/torchreid/utils/torchtools.html
+++ b/_modules/torchreid/utils/torchtools.html
@@ -8,7 +8,7 @@
-
torchreid.utils.torchtools — torchreid 1.0.1 documentation
+
torchreid.utils.torchtools — torchreid 1.0.2 documentation
@@ -59,7 +59,7 @@
- 1.0.1
+ 1.0.2
diff --git a/_static/ajax-loader.gif b/_static/ajax-loader.gif
deleted file mode 100644
index 61faf8c..0000000
Binary files a/_static/ajax-loader.gif and /dev/null differ
diff --git a/_static/basic.css b/_static/basic.css
index 0807176..ea6972d 100644
--- a/_static/basic.css
+++ b/_static/basic.css
@@ -231,6 +231,16 @@ a.headerlink {
visibility: hidden;
}
+a.brackets:before,
+span.brackets > a:before{
+ content: "[";
+}
+
+a.brackets:after,
+span.brackets > a:after {
+ content: "]";
+}
+
h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
@@ -279,6 +289,12 @@ img.align-center, .figure.align-center, object.align-center {
margin-right: auto;
}
+img.align-default, .figure.align-default {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
.align-left {
text-align: left;
}
@@ -287,6 +303,10 @@ img.align-center, .figure.align-center, object.align-center {
text-align: center;
}
+.align-default {
+ text-align: center;
+}
+
.align-right {
text-align: right;
}
@@ -358,6 +378,11 @@ table.align-center {
margin-right: auto;
}
+table.align-default {
+ margin-left: auto;
+ margin-right: auto;
+}
+
table caption span.caption-number {
font-style: italic;
}
@@ -391,6 +416,16 @@ table.citation td {
border-bottom: none;
}
+th > p:first-child,
+td > p:first-child {
+ margin-top: 0px;
+}
+
+th > p:last-child,
+td > p:last-child {
+ margin-bottom: 0px;
+}
+
/* -- figures --------------------------------------------------------------- */
div.figure {
@@ -460,11 +495,58 @@ ol.upperroman {
list-style: upper-roman;
}
+li > p:first-child {
+ margin-top: 0px;
+}
+
+li > p:last-child {
+ margin-bottom: 0px;
+}
+
+dl.footnote > dt,
+dl.citation > dt {
+ float: left;
+}
+
+dl.footnote > dd,
+dl.citation > dd {
+ margin-bottom: 0em;
+}
+
+dl.footnote > dd:after,
+dl.citation > dd:after {
+ content: "";
+ clear: both;
+}
+
+dl.field-list {
+ display: grid;
+ grid-template-columns: fit-content(30%) auto;
+}
+
+dl.field-list > dt {
+ font-weight: bold;
+ word-break: break-word;
+ padding-left: 0.5em;
+ padding-right: 5px;
+}
+
+dl.field-list > dt:after {
+ content: ":";
+}
+
+dl.field-list > dd {
+ padding-left: 0.5em;
+ margin-top: 0em;
+ margin-left: 0em;
+ margin-bottom: 0em;
+}
+
dl {
margin-bottom: 15px;
}
-dd p {
+dd > p:first-child {
margin-top: 0px;
}
@@ -537,6 +619,12 @@ dl.glossary dt {
font-style: oblique;
}
+.classifier:before {
+ font-style: normal;
+ margin: 0.5em;
+ content: ":";
+}
+
abbr, acronym {
border-bottom: dotted 1px;
cursor: help;
diff --git a/_static/comment-bright.png b/_static/comment-bright.png
deleted file mode 100644
index 15e27ed..0000000
Binary files a/_static/comment-bright.png and /dev/null differ
diff --git a/_static/comment-close.png b/_static/comment-close.png
deleted file mode 100644
index 4d91bcf..0000000
Binary files a/_static/comment-close.png and /dev/null differ
diff --git a/_static/comment.png b/_static/comment.png
deleted file mode 100644
index dfbc0cb..0000000
Binary files a/_static/comment.png and /dev/null differ
diff --git a/_static/doctools.js b/_static/doctools.js
index 344db17..b33f87f 100644
--- a/_static/doctools.js
+++ b/_static/doctools.js
@@ -87,14 +87,13 @@ jQuery.fn.highlightText = function(text, className) {
node.nextSibling));
node.nodeValue = val.substr(0, pos);
if (isInSVG) {
- var bbox = span.getBBox();
var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
- rect.x.baseVal.value = bbox.x;
+ var bbox = node.parentElement.getBBox();
+ rect.x.baseVal.value = bbox.x;
rect.y.baseVal.value = bbox.y;
rect.width.baseVal.value = bbox.width;
rect.height.baseVal.value = bbox.height;
rect.setAttribute('class', className);
- var parentOfText = node.parentNode.parentNode;
addItems.push({
"parent": node.parentNode,
"target": rect});
diff --git a/_static/documentation_options.js b/_static/documentation_options.js
index ccedf66..289b69c 100644
--- a/_static/documentation_options.js
+++ b/_static/documentation_options.js
@@ -1,10 +1,10 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
- VERSION: '1.0.1',
+ VERSION: '1.0.2',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt',
- NAVIGATION_WITH_KEYS: false,
+ NAVIGATION_WITH_KEYS: false
};
\ No newline at end of file
diff --git a/_static/down-pressed.png b/_static/down-pressed.png
deleted file mode 100644
index 5756c8c..0000000
Binary files a/_static/down-pressed.png and /dev/null differ
diff --git a/_static/down.png b/_static/down.png
deleted file mode 100644
index 1b3bdad..0000000
Binary files a/_static/down.png and /dev/null differ
diff --git a/_static/jquery-3.2.1.js b/_static/jquery-3.4.1.js
similarity index 89%
rename from _static/jquery-3.2.1.js
rename to _static/jquery-3.4.1.js
index d2d8ca4..773ad95 100644
--- a/_static/jquery-3.2.1.js
+++ b/_static/jquery-3.4.1.js
@@ -1,5 +1,5 @@
/*!
- * jQuery JavaScript Library v3.2.1
+ * jQuery JavaScript Library v3.4.1
* https://jquery.com/
*
* Includes Sizzle.js
@@ -9,7 +9,7 @@
* Released under the MIT license
* https://jquery.org/license
*
- * Date: 2017-03-20T18:59Z
+ * Date: 2019-05-01T21:04Z
*/
( function( global, factory ) {
@@ -71,16 +71,70 @@ var ObjectFunctionString = fnToString.call( Object );
var support = {};
+var isFunction = function isFunction( obj ) {
+
+ // Support: Chrome <=57, Firefox <=52
+ // In some browsers, typeof returns "function" for HTML