Generating images for neural network training
Abstract
A plurality of training examples is accessed, each training example comprising an image of a scene and a pose of a viewpoint from which the image was captured. A neural radiance field is trained using the training examples. A plurality of generated images is computed, by, for each of a plurality of randomly selected viewpoints, generating a color image and a depth image of the scene from the neural radiance field. A neural network is trained using the generated images.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method comprising: accessing a plurality of training examples, each training example comprising a color image of a scene, a depth image of the scene, and a pose of a viewpoint from which the color image and depth image were captured; training a neural radiance field using the training examples; computing a plurality of generated images comprising, for a plurality of randomly selected viewpoints, generating a color image and a depth image of the scene from the neural radiance field and for the plurality of generated images, inspecting depth values of the generated image; and training a neural network using the generated images, the training of the neural network including omitting at least one of the generated images according to the depth values being below a threshold.
- Claim 2Depends on #1
The method of claim 1 wherein training the neural network comprises training the neural network with the generated images such that the neural network is able to predict correspondences between two dimensional (2D) image elements of an image of the scene and three-dimensional (3D) locations in a map of the scene comprising a 3D point cloud.
- Claim 3Depends on #2
The method of claim 2 comprising: receiving an image captured by a mobile image capture device in the scene; computing a plurality of correspondences by inputting the received image to the neural network; and computing a 3D position and orientation of the mobile image capture device with respect to the map, by inputting the correspondences to a perspective n point solver.
- Claim 4Depends on #1
The method of claim 1 comprising, pre training the neural network using the plurality of training examples.
- Claim 5Depends on #1
The method of claim 1 further comprising: for the plurality of generated images, computing a color uncertainty map from the neural radiance field; and wherein training the neural network comprises omitting at least one of the generated images according to the color uncertainty map of the omitted image indicating uncertainty over a threshold; and wherein the neural radiance field is trained using a negative log-likelihood loss with a variance-weighting term on color output of the neural radiance field.
- Claim 6Depends on #5
The method of claim 5 wherein the variance-weighting term is an adaptive learning rate.
- Claim 7Depends on #6
The method of claim 6 wherein the variance-weighting term comprises a parameter allowing for interpolation between the negative log-likelihood loss and a mean squared error loss.
- Claim 8Depends on #1
The method of claim 1 comprising, for the plurality of generated images, computing a depth uncertainty map from the neural radiance field; and wherein training the neural network comprises omitting one of the generated images according to the depth uncertainty map of the omitted image indicating uncertainty over a threshold.
- Claim 9Depends on #8
The method of claim 8 comprising training the neural radiance field using a Gaussian negative log-likelihood loss on depth output of the neural radiance field.
- Claim 10Depends on #8
The method of claim 8 comprising training the neural radiance field using a loss computed as a sum over rays projected into the neural radiance field to generate an image of: a logarithm of a square of a standard deviation of a predicted depth for the ray plus the square of an L2 difference between the predicted depth of the ray minus an actual depth of the ray, divided by the square of the standard deviation of the predicted depth for the ray.
- Claim 11Depends on #1
The method of claim 1 comprising training the neural radiance field using a loss function having a color term and a depth term.
- Claim 12Depends on #1
The method of claim 1 wherein the neural network outputs, for a predicted correspondence, an uncertainty value.
- Claim 13Depends on #12
The method of claim 12 wherein the uncertainty value for the predicted correspondence is computed by predicting hyperparameters of a normal inverse-gamma distribution.
- Claim 14Depends on #1
The method of claim 1 comprising, pre training the neural network using the plurality of training examples; and prior to training the neural network using the generated images, predicting correspondences having associated uncertainty values from the generated images using the neural network; and wherein training the neural network comprises omitting one of the generated images according to an uncertainty value of a predicted correspondence for the omitted generated image being above a threshold.
- Claim 15Depends on #1
The method of claim 1 comprising pre training the neural network using the plurality of training examples; and prior to training the neural network using the generated images, predicting correspondences having associated uncertainty values from the generated images using the neural network; and wherein training the neural network comprises using a loss function having terms which weigh pixels according to color uncertainty and depth uncertainty from the neural radiance field.
- Claim 16Independent Claim
An apparatus comprising: a processor; a memory storing instructions that, when executed by the processor, perform a method comprising: accessing a plurality of training examples, each training example comprising a color image of a scene, a depth image of the scene and a pose of a viewpoint from which the color image and depth image were captured; training a neural radiance field using the training examples; computing a plurality of generated images comprising, for a plurality of randomly selected viewpoints, generating a color image and a depth image of the scene from the neural radiance field and computing a color uncertainty map from the neural radiance field; and training a scene coordinate regression neural network using the generated images, the training of the scene coordinate regression neural network including omitting at least one of the generated images according to the color uncertainty map of the omitted image indicating an uncertainty over a threshold.
- Claim 17Independent Claim
A computer storage medium having computer-executable instructions that, when executed by a computing system, direct the computing system to perform operations comprising: accessing a plurality of training examples, each training example comprising a color image of a scene, a depth image of the scene, and a pose of a viewpoint from which the color image and depth image were captured; training a neural radiance field using the training examples; computing a plurality of generated images comprising, for a plurality of randomly selected viewpoints, generating a color image and a depth image of the scene from the neural radiance field; for the plurality of generated images, computing a color uncertainty map from the neural radiance field; and training a neural network using the generated images, the training of the neural network including omitting at least one of the generated images according to the color uncertainty map of the omitted image indicating an uncertainty over a threshold.
- Claim 18Depends on #17
The computer storage medium of claim 17, wherein the computing system further performs operations comprising: training the neural radiance field using a loss function having a color term and a depth term.
- Claim 19Depends on #17
The computer storage medium of claim 17, wherein the computing system further performs operations comprising: receiving an image captured by a mobile image capture device in the scene; computing a plurality of correspondences by inputting the received image to the neural network; and computing a three-dimensional (3D) position and orientation of the mobile image capture device, by inputting the correspondences to a perspective n point solver.
- Claim 20Depends on #17
The computer storage medium of claim 17, wherein training the neural network comprises training the neural network with the generated images such that the neural network is able to predict correspondences between two-dimensional (2D) image elements of an image of the scene and three-dimensional (3D) locations in a map of the scene comprising a 3D point cloud.
Technical Overview & Description
BACKGROUND Neural network training is generally computationally expensive and time consuming especially where training examples are images. Yet there are cases where many neural networks are to be trained, each for a particular situation, and this rapidly increases the amount of training to be done. One approach is to make more computing resources available in order to carry out the neural network training. However, this can be energy and carbon intensive. The embodiments described below are not limited to implementations which solve any or all of the disadvantages of known ways of generating neural network training data. SUMMARY The following presents a simplified summary of the disclosure in order to provide a basic understanding to the reader. This summary is not intended to identify key features or essential features of the claimed subject matter nor is it intended to be used to limit the scope of the claimed subject matter. Its sole purpose is to present a selection of concepts disclosed herein in a simplified form as a prelude to the more detailed description that is presented later. A neural network can be trained to assist in a process of visual localization within a scene. By using a neural radiance field to generate images such neural networks can be trained efficiently whilst being high performing. A plurality of training examples is accessed, each training example comprising a color image of a scene, a depth image of the scene, and a pose of a viewpoint from which color image and depth image were captured. A neural radiance field is trained using the training examples. A plurality of generated images is computed, by, for each of a plurality of randomly selected viewpoints, generating a color image and a depth image of the scene from the neural radiance field. A neural network is trained using the generated images. Many of the attendant features will be more readily appreciated as the same becomes better understood by reference to the following detailed d
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Adamkiewicz, et al.,
- “
- Vision-Only Robot Navigation in a Neural Radiance World
- ”
- , In Journal of IEEE Robotics and Automation Letters, vol. 7, Issue: 2, Feb. 11, 2022, pp. 4606-4613.
- Amini, et al.,
- “
- Deep Evidential Regression
- ”
- , In Journal of Advances in Neural Information Processing Systems, vol. 33, Dec. 6, 2020, pp. 1-11.