summaryrefslogtreecommitdiff
path: root/utils/configuration.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2020-12-27 14:57:14 +0800
committerJordan Gong <jordan.gong@protonmail.com>2020-12-27 14:57:14 +0800
commit27fb972354c69bf61845ae21f842855e762318d8 (patch)
tree1b65620cfa514072d68f6e6259eb4ac28cebcf3a /utils/configuration.py
parent3a8c48c722f687a47180221f807bd0a59c9f616e (diff)
Make naming scheme consistent
Use `dir` instead of `path`
Diffstat (limited to 'utils/configuration.py')
-rw-r--r--utils/configuration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/configuration.py b/utils/configuration.py
index 445badd..e6bfaf2 100644
--- a/utils/configuration.py
+++ b/utils/configuration.py
@@ -8,12 +8,12 @@ from utils.dataset import ClipLabels, ClipConditions, ClipViews
class SystemConfiguration(TypedDict):
device: torch.device
CUDA_VISIBLE_DEVICES: str
- save_path: str
+ save_dir: str
class DatasetConfiguration(TypedDict):
name: str
- path: str
+ root_dir: str
train_size: int
num_sampled_frames: int
discard_threshold: int