Closed rockywind closed 1 year ago
When training on Kitti-360, we have 4 different camera views at steps
timesteps. -> 4 * steps
frames.
The list of frames is ordered by camera.
imgs = imgs_p_left + imgs_p_right + imgs_f_left + imgs_f_right
(from kitti_360_dataset.py)
To make training more stable, we partition the frames of each cameras separately. This is what happens in the four loop.
frame_perm[0]
is a random number in [0, nv]. -> 50% chance to be even -> start_from is randomly chosen from {0, 1}.
To train on your own dataset, you can try the "default" frame sample mode, which randomly selects n_frames_render
frames from the list of frames for color sampling. The rest of the frames are used to compute the loss.
Just make sure that the n_frames_render
value is set adequately in the config. It should be around 50% of your total frame count.
Hi, I am confusion about the setting of
frame_sample_mode
.