-
Notifications
You must be signed in to change notification settings - Fork 9
/
dataset.py
38 lines (36 loc) · 1.27 KB
/
dataset.py
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
36
37
dataset_params = dict(
data_path = "/app/data/",
version = "triplane",
train_data_loader = dict(
pickled = True, # If True, first run 'python utils/pickles_generator.py --dataset-config <path to this file> --py-config <path to config.py>' to preprocess the dataset and save as pickles for faster data loading
phase = "train",
batch_size = 1,
shuffle = True,
num_workers = 12,
town = ["Town01", "Town03", "Town04", "Town05", "Town06", "Town07", "Town10HD"],
weather = ["ClearNoon"],
vehicle = ["vehicle.tesla.invisible"],
spawn_point = ["all"],
step = ["all"],
selection = ["input_images", "sphere_dataset"],
factor = 0.08,
whole_image = True,
num_imgs = 3,
depth=True
),
val_data_loader = dict(
pickled = False, # True is unsupported
phase = "test", # "train", "test", "full"
batch_size = 1,
shuffle = False,
num_workers = 12,
town = ["Town02"],
weather = ["ClearNoon"],
vehicle = ["vehicle.tesla.invisible"],
spawn_point = [3, 7, 12, 48, 98, 66],
step = ["all"],
selection = ["input_images", "sphere_dataset"],
factor = 0.25,
depth = True,
),
)