Model training method and device
The embodiment of the invention provide a model training method and device and relates to the technical field of computers, and the method comprises the steps: obtaining a first sample scene image comprising a pre-calibrated calibration object; obtaining the calibration depth of a preset calibration...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
19.01.2021
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The embodiment of the invention provide a model training method and device and relates to the technical field of computers, and the method comprises the steps: obtaining a first sample scene image comprising a pre-calibrated calibration object; obtaining the calibration depth of a preset calibration object, calculating the depth value of each pixel point in the first sample scene image according to the calibration depth, obtaining a first depth map, inputting the first sample scene image into a to-be-trained depth estimation model, and outputting a second depth map; calculating a first depth loss according to the depth value of each pixel point in the first depth map and the depth value of each pixel point in the second depth map; and training a depth estimation model according to the first depth loss and a preset training algorithm. By adopting electronic equipment, the depth true value of the sample scene image can be calculated in a calibration mode. A depth estimation model is trained by the depth true va |
---|---|
Bibliography: | Application Number: CN201910655547 |