Input tensor (Inference Overlay): Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
* What the data of the prequel represents;  
* What the data of the prequel represents;  
** When it is a color, you can specify which color channel should be used; '''R'''ed, '''G'''reen, '''B'''lue or '''A'''lpha
** When it is a color, you can specify which color channel should be used; '''R'''ed, '''G'''reen, '''B'''lue or '''A'''lpha
** When it is a floating point value, simple specify ''DEFAULT''.
** When it is a floating point value, simple specify ''DEFAULT''''.
* Whether the value should be normalized; Color channels are always normalized between 0 and 255. Floating point values are normalized using the calculated min- and max-value of the specified input [[prequel]] overlay.
* Whether the value should be normalized; Color channels are always normalized between 0 and 255. Floating point values are normalized using the calculated min- and max-value of the specified input [[prequel]] overlay.



Revision as of 08:27, 9 October 2024

An Input tensor is a multi-dimensional data array that serves as input for neural networks. Generally these input tensors are filled with (parts of) one or more images, of a given width and height and with one more more color channels. These images will be processed by the neural network to classify the image or detect features in the image.

In the Tygron Platform, also Grid Overlays, often Satellite Overlays or WMS Overlays, can serve as input for neural networks. How an input tensor of a neural network is filled by an Inference Overlay is configured using Tensor Links.

A tensor link references:

  • The input tensor, identified by the n (images) and c (channel) tuple, which are mentioned in the name of the tensor link.
  • The prequel of an Inference Overlay that should be used to obtain values from
  • What the data of the prequel represents;
    • When it is a color, you can specify which color channel should be used; Red, Green, Blue or Alpha
    • When it is a floating point value, simple specify DEFAULT''.
  • Whether the value should be normalized; Color channels are always normalized between 0 and 255. Floating point values are normalized using the calculated min- and max-value of the specified input prequel overlay.

Notes

  • The inference overlay wizard will report an issue when a prequel is referenced by a tensor link and it is not yet specified for the Inference Overlay.