Overview
Sensor Specifications
Batch Mode
Step Mode
Content
When training optical flow models on synthetic data, it is important to compare the distributions of flow magnitude between the real and synthetic datasets. For each valid pixel in the flow map, calculate the magnitude of the flow vector and look at the distribution of pixels in the dataset (because there are so many pixels, it’s often also useful to calculate the mean flow magnitude per frame and look at the distribution over the frames).
Flow magnitude is largely driven by scene composition: highway scenes have very high flow magnitude (at the edges of the frame and on oncoming vehicles) while residential scenes will have low flow magnitude. We have found that synthetic data is most beneficial in training if the flow magnitude distribution is similar to the distribution in the real data.
The flow magnitude of synthetic data can be altered in a number of ways: