summaryrefslogtreecommitdiff
path: root/utils/configuration.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-02-10 13:43:15 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-02-10 13:43:56 +0800
commit2f7c09fb4fb985db1cbf6e2bdc6622a2c51ebfc3 (patch)
tree1ca2e3b681a97c2a8065ca976b442febe4bd77b3 /utils/configuration.py
parent4f81e3f44ed60459ddbd311cb7356932974c800d (diff)
Implement new sampling technique mentioned in GaitPart[1]
[1]C. Fan et al., “GaitPart: Temporal Part-Based Model for Gait Recognition,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2020, pp. 14225–14233.
Diffstat (limited to 'utils/configuration.py')
-rw-r--r--utils/configuration.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/configuration.py b/utils/configuration.py
index 4ab1520..435d815 100644
--- a/utils/configuration.py
+++ b/utils/configuration.py
@@ -15,6 +15,7 @@ class DatasetConfiguration(TypedDict):
root_dir: str
train_size: int
num_sampled_frames: int
+ truncate_threshold: int
discard_threshold: int
selector: Optional[dict[str, Union[ClipClasses, ClipConditions, ClipViews]]]
num_input_channels: int