CPC G06F 18/214 (2023.01) [G06N 20/00 (2019.01); G06T 3/40 (2013.01); G06T 7/50 (2017.01); G06V 10/42 (2022.01); G06T 2207/10028 (2013.01); G06T 2207/20081 (2013.01); G06T 2207/20084 (2013.01)] | 20 Claims |
1. A model training method, comprising:
inputting a first sample image of sample images into a depth information prediction model, and acquiring depth information of the first sample image;
acquiring inter-image posture information based on a second sample image of the sample images and the first sample image;
acquiring a projection image of the first sample image in a view of the second sample image, at least according to the inter-image posture information and the depth information; and
acquiring a loss function by determining a function for calculating a similarity between the second sample image and the projection image, and training the depth information prediction model using the loss function;
wherein, the depth information of the first sample image is acquired by:
concatenating an image feature and a convolutional feature of a same feature size to obtain concatenated features of multiple sizes;
determining intermediate depth information based on the concatenated features of multiple sizes; and
determining the depth information of the first sample image based on the intermediate depth information.
|