-
Notifications
You must be signed in to change notification settings - Fork 0
/
anticipation_train.yaml
35 lines (34 loc) · 1.77 KB
/
anticipation_train.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# @package _group_._name_
_target_: datasets.epic_kitchens.EPICKitchens
version: ${dataset.epic_kitchens100.common.version}
root:
- ${dataset.epic_kitchens.common.data_dir}/train # the old one
# Need test too since some of epic-55 test was added to epic-100 train
- ${dataset.epic_kitchens.common.data_dir}/test # the old one
- ${dataset.epic_kitchens100.common.data_dir_extension}
annotation_path:
- ${dataset.epic_kitchens100.common.annot_dir}/EPIC_100_train.pkl
annotation_dir: ${dataset.epic_kitchens100.common.annot_dir}
rulstm_annotation_dir: ${dataset.epic_kitchens100.common.rulstm_annot_dir} # Needed during computing final outputs to get tail classes etc.
label_type: ${dataset.epic_kitchens100.common.label_type}
embeddings_path: ${dataset.epic_kitchens100.common.embeddings_path}
similarities_path: ${dataset.epic_kitchens100.common.similarities_path}
visual_encodings_path: ${dataset.epic_kitchens100.common.visual_embeddings_path}
tubelets: ${dataset.epic_kitchens100.common.tubelets}
sample_strategy: "random_clip"
action_labels_fpath: ${dataset.epic_kitchens100.common.rulstm_annot_dir}/actions.csv
reader_fn: # Setting it since for EGTEA I mostly use RULSTM features
_target_:
- datasets.reader_fns.DefaultReader
# - datasets.epic_kitchens.EpicRULSTMFeatsReader
# lmdb_path:
# - ${dataset.epic_kitchens.common.rulstm_feats_dir}/flow
# - ${dataset.epic_kitchens.common.rulstm_feats_dir}/igm65m
# - ${dataset.epic_kitchens.common.rulstm_feats_dir}/rgb
# - ${dataset.epic_kitchens.common.rulstm_feats_dir}/obj
# read_type: normal
# warn_if_using_closeby_frame: false
conv_to_anticipate_fn:
_target_: datasets.base_video_dataset.convert_to_anticipation
tau_a: ${dataset.epic_kitchens100.common.tau_a}
tau_o: ${dataset.epic_kitchens100.common.tau_o}