The present disclosure relates to texture decompression for computer graphics.
In computer graphics, texture refers to a type of surface, including the material characteristics, that can be applied to an object in an image. A texture may be defined using numerous parameters, such as color(s), roughness, glossiness, etc. In some implementations, a texture may be represented as an image that can be placed on a three-dimensional (3D) model of an object to give surface details to the 3D object. Textures can accordingly be used to provide photorealism in computer graphics, but they also have certain storage, bandwidth, and memory demands. Thus, limited disk storage, download bandwidth, and memory size constraints must be addressed to continuously improve photorealism in computer graphics via more detailed and available textures.
As a solution to reduce these resource demands, textures can be compressed (i.e. reduced in size using some preconfigured compression algorithm) prior to storage and/or network transmission. However, current texture compression methods are lacking. For example, traditional block-based texture compression methods, which rely on fixed sized blocks, are designed only for moderate compression rates. Block-based compression methods are also limited in the number of material properties that can be compressed together per texture, and as a result require multiple textures to cover all the desired material properties.
Neural image compression, which has been introduced more recently for compressing textures, incorporates non-linear transformations in the form of neural networks to aid compression and decompression. Neural image compression methods require large-scale image data sets and expensive training. They are also not suitable for real-time rendering because of their lack of random access and their inability to compress non-color material properties and a high decompression cost.
There is thus a need for addressing these issues and/or other issues associated with the prior art.
A method, computer readable medium, and system are disclosed to transcode a compressed texture set to textures with a hardware-supported compression format. At least a portion of a single texture representation of a plurality of textures in a set of textures is transcoded into at least a portion of the plurality of textures with a hardware-supported compression format. The at least a portion of the plurality of textures with the hardware-supported compression format is output.
In operation 102, at least a portion of a single texture representation of a plurality of textures in a set of textures is transcoded by at least one neural network into at least a portion of the plurality of textures with a hardware-supported compression format. With respect to the present description, a texture refers to a data representation of at least one property of an object surface. The data representation may be in two-dimensions (2D), three-dimensions (3D) [e.g. 2D with also a time dimension, or volumetric], four-dimensions (4D) [e.g. volumetric with also a time dimension), or in other embodiments even a greater number of dimensions. The property(ies) may be of a physical material (e.g. metal, wood, ceramic, glass, etc.), in an embodiment. In various examples, each property may indicate ambient occlusion, roughness, metalness, diffuse color, normals maps, height maps, glossiness, other Bidirectional Reflectance Distribution Function (BRDF) information, subsurface scattering properties, anisotropy, transmittance, etc.
In an embodiment, the texture may be represented as an image. The texture can be applied to a surface of an object (e.g. in an image) to give surface details to the object. The object may be a 2D object or a 3D object.
As mentioned, the present operation 102 relates to transcoding a single texture representation of a set of textures. In an embodiment, the set of textures may include a plurality of textures. In an embodiment, the set of textures (or “texture set”) may represent a (particular) material. For example, each texture in the texture set may represent a different property of the material. In an embodiment, the textures in the texture set may be layered or otherwise combined to represent a specific material, such that when applied to an object the surface of the object appears to be of the material.
In an embodiment, at least one texture in the texture set may include a plurality of channels. In this embodiment, each channel of the texture may store data for a different property of the object surface. Thus, as noted above, each texture may store one or more properties of the object surface. Of course, in other embodiments, at least one texture in the texture set may include a single channel.
The single texture representation refers to a single data structure that has been generated to represent the set of textures. In an embodiment, the single texture representation may be a compressed representation of a plurality of textures included in the set of textures. The single texture representation may be smaller in size (memory-wise) than the original texture set.
In an embodiment, the single texture representation may be generated by exploiting correlations (e.g. redundancies) across the plurality of textures in the texture set and/or across a plurality of channels of the plurality of textures in the texture set. In embodiments, the single texture representation may be generated by exploiting correlations spatially across each texture in the set of textures and/or across mip levels. In general, exploiting correlations refers to at least partially reducing the correlated (e.g. redundant) data during compression.
In an embodiment, the single texture representation may be generated using at least one compression method. In another embodiment, the single texture representation may be generated using at least two compression methods. In an embodiment, the single texture representation may be learned using a neural network. In another embodiment, the single texture representation may be further generated by applying an entropy encoding to an output of the neural network. One exemplary embodiment of generating a compressed representation of a plurality of textures included in a set of textures is disclosed in U.S. application Ser. No. 18/420,625, filed Jan. 23, 2024 and entitled “COMPRESSION OF TEXTURE SETS USING A NON-LINEAR FUNCTION AND QUANTIZATION,” which is hereby incorporated by reference in its entirety.
In an embodiment, the single texture representation may be a pyramid of a plurality of feature levels, where each feature level of the plurality of feature levels includes a plurality of grids, which may be in 2D, 3D, etc. corresponding to the dimensions of the original textures. In an embodiment, the grids may store data that can be used during the transcoding of operation 102. An embodiment of the pyramid structure of the single texture representation will be described in more detail below with reference to
Returning to operation 102, at least a portion of the single texture representation is transcoded by at least one neural network into at least a portion of the plurality of textures with a hardware-supported compression format. Transcoding refers to directly converting from the single texture representation to the hardware-supported compression format. In an embodiment, the transcoding may be performed using a single neural network, for example as disclosed in detail below with reference to
In an embodiment, the hardware-supported compression format is a block compression format, which may be a select (e.g. predefined, predicted, determined, etc.) block compression format. BCx (e.g. BC1-BC7) are exemplary block compression formats, while other block compression formats may include ETx (e.g. ETC1-ETC2), ASTC, etc. In an embodiment, the hardware-supported compression format may be a compression format that is supported by hardware that performs rendering. A compression format is supported by the hardware when the hardware is configured to be able to decompress data in the compression format. In the present embodiment, the single texture representation may be in a format that is not supported by the hardware (i.e. that cannot be directly decompressed by the hardware). Thus, transcoding the single texture representation to textures in the hardware-supported compression format allows the hardware to be able to utilize the textures. With respect to the present description, the hardware may be a processing unit, such as a graphics processing unit (GPU) or a special-purpose hardware.
In an embodiment, the single texture representation, such as in the pyramid format mentioned above, may enable random access such that only a portion (i.e. less than an entirety) of the single texture representation is transcoded. In some embodiments, this portion may be a texel, a block of texels, or another rectangular part of a 2D texture set or may be a 3D box within a 3D texture set. In another embodiment, an entirety of the single texture representation may be transcoded.
In an embodiment, the transcoding may be performed at load time when loading graphics data to memory for use by a processing unit during rendering. In this embodiment, an entirety of the single texture representation may be transcoded at load time. In an embodiment, the transcoding may be performed at install time when an application has been downloaded and installed onto a storage device of a computer. In an embodiment, at least a portion of the single texture representation may be streamed to a memory for transcoding. In an embodiment, such streaming may occur while another portion of the plurality of textures is being rendered.
In operation 104, the at least a portion of the plurality of textures with the hardware-supported compression format is output. In an embodiment, the at least a portion of the plurality of textures with the hardware-supported compression format may be output to storage. The storage may be memory local to the device that performed the transcoding or memory remote from the device that performed the transcoding. In an embodiment, the at least a portion of the plurality of textures with the hardware-supported compression format may be output to the hardware for decompression. The hardware may filter the decompressed at least a portion of the plurality of textures. The hardware may further render the decompressed at least a portion of the plurality of textures (e.g. apply the decompressed portion of textures to an object in an image when rendering the image). In an embodiment, the decompression may be performed in real-time.
In an embodiment, the at least a portion of the plurality of textures may be output for further processing. For example, the output at least a portion of the plurality of textures may be interleaved to form at least one interleaved texture. In an embodiment, the output may include two or more textures (e.g. in different hardware-supported compressed formats), and the interleaving may be applied to the two or more textures to form the at least one interleaved texture. In an embodiment, the output may include two or more portions of at least one texture (e.g. in different hardware-supported compressed formats), and the interleaving may be applied to the two or more portions to form the at least one interleaved texture. In an embodiment, the hardware may access the at least one interleaved texture. In an embodiment, the hardware may access the at least one interleaved texture for rendering.
In an embodiment, shader code (or likewise software on the hardware) may identify an interleaved texture to access. The shader code can compute the locations of the texels to access in the interleaved texture. The shader code may then send these locations to the hardware. The hardware may then fetch the texels determined by the shader code and then may filter the fetched texels.
With respect to the present description of the method 100, the single texture representation may provide a higher compression ratio in comparison with the hardware-supported compression format, which may reduce the memory resources required to store the texture set and which may reduce the computing resources required for streaming any portions of the texture set. However, transcoding the single texture representation to textures in the hardware-supported compression format(s) may allow the hardware to be able to utilize the textures, including during real-time rendering.
Further embodiments will now be provided in the description of the subsequent figures. It should be noted that the embodiments disclosed herein with reference to the method 100 of
In the example shown, the texture set includes four different textures, consisting of a diffuse map, a normal map, an ARM (ambient occlusion, roughness, metalness) texture, and a displacement map. The texture set represents a ceramic roof material. This exemplary texture set may be compressed to form a single (compressed) representation of the texture set, which in turn may be transcoded in accordance with the method 100 of
As mentioned, the compressed representation 300 is a pyramid of multiple feature levels Fj, with each level, j, comprising a pair of 2D grids, G0j and G1j. The grids' cells store feature vectors of quantized latent values, which are utilized to predict multiple mip levels of the original texture set. In an embodiment, each feature level of the plurality of feature levels may represent a plurality of mip levels. The sharing of features across two or more mip levels lowers the storage cost of a traditional mipmap chain. Furthermore, within a feature level, grid G0 is at a higher resolution, which helps preserve high-frequency details, while G1 is at a lower resolution, improving the reconstruction of low-frequency content, such as color and smooth gradients. To this end, in an embodiment, a resolution of the grids may be reduced across the plurality of feature levels, from a top feature level of the pyramid to a bottom feature level of the pyramid. In an embodiment, a resolution of the grids may be less than a resolution of the plurality of textures in the texture set prior to compression.
Table 1 illustrates the exemplary feature levels and grid resolutions for a 1024×1024 texture set. The resolution of the grids is significantly lower than the texture resolution, resulting in a highly compressed representation of the entire mip chain. Typically, a feature level represents two mip levels, with some exceptions; the first feature level must represent all higher resolution mips (levels 0 to 3), and the last feature level represents the bottom three mip levels, as it cannot be further downsampled.
In an embodiment, the 2D grids may store data that can be used during the texture transcoding of the method 100 of
In operation 402, a single texture representation of a plurality of textures in a set of textures is transcoded into the plurality of textures with a hardware-supported compression format. This may be performed according to operation 102 of
In operation 404, the plurality of textures in the hardware-supported compression format are output. This may be performed according to operation 104 of
In an embodiment, a single texture representation decoder runs at texel rate, which means that decompression outputs a single texel worth of material properties, i.e., a decompressed fat texel. Many texture compression formats encode texels in 4×4 texels blocks, independently of other blocks. Each block may store two endpoints, which may be, e.g., colors or gray scale values, depending on format. In addition, each texel inside the 4×4 block stores an n-bit index that encodes the color that each texel will decompress. Assuming the endpoints colors are Co0 and C1, decoding in the very simplest way can be done per Equation 1.
where n is the number of bits for the per-texel index, which is denoted by i (x,y) for a certain texel (x,y) inside the block. This process “creates” 2n colors (or 2n grayscales, or a 2n palette, etc., depending on the format of C0 and C1) from C0 to C1 using linear interpolation, and the per-pixel index, i (x,y), selects one of these for the texel at (x,y). This is presently described in the simplest form, but this type of interpolation can be done with more accuracy as desired. It should also be noted that ASTC, ETC1, and ETC2 may “create” their colors differently, but the present embodiments disclosed herein may be similarly applied thereto.
For BC7, there are 8 different modes. Without loss of generality, but for the sake of simplicity, we will focus just on mode 6 to start with. In general, mode 6 gives the most benefits for typical use cases. Mode 6 in BC7 has RGBA for the endpoints with 7 bits per channel per endpoint, i.e., each endpoint uses 4*7=28 bits, and there is also a shared least significant bit (LSB) for the two endpoints. The per-pixel indices each use 4 bits.
In an embodiment, the decoder may predict BC7 mode 6 blocks, i.e., it may transcode from the single texture representation of the texture set to BC7, mode 6. One way of accomplishing this while still running the decoder per texel mentioned above is to output 3N channels (instead of N) for each texel in a 4×4 block, where the first 2N channels represent the per-block endpoints, and the remaining N channels represent the per-texel indices. The effective per-block endpoints can be then calculated by averaging the 4×4 pairs of N of endpoints into one pair of endpoints, followed by quantization of per-block endpoints and per-texel indices.
In another embodiment, the network may run at a per-4×4-texel-block rate, with a single decoder invocation outputting 4×4*N per-texel indices, and N pairs of endpoints, where N is the number of material channels. However, to achieve good quality this embodiment may significantly increase the size of the last layer, and possibly of the remaining layers too.
In operation 502, a portion of a single texture representation of a plurality of textures in a set of textures is received. In an embodiment, the portion may be received when streamed to hardware. In another embodiment, the portion may be received when requested on-demand by the hardware.
In operation 504, a compression mode for the portion of the single texture representation is predicted. In an embodiment, the compression mode may be predicted using a neural network. In an embodiment, a compression format may first be predicted (e.g. by the neural network) from among a plurality of available compression formats (e.g. BCx, ETCx, etc.) and then a mode of that compression format may further be predicted. In an embodiment, the compression mode may be predicted from among a plurality of available compression modes for a select compression format (e.g. available compression modes for BC7).
In operation 506, the portion of the single texture representation is transcoded into a portion of the plurality of textures with a hardware-supported compression format corresponding to the compression mode. In an embodiment, the transcoding may be performed using the neural network that made the prediction or using an additional neural network.
In operation 508, the portion of the plurality of textures with the hardware-supported compression format is output. For example, the portion of the plurality of textures with the hardware-supported compression format may be output to a storage (e.g. for access by the hardware, or for subsequent interleaving per
It is then determined in decision 510 whether a next portion of the single texture representation has been received for transcoding. In response to determining that a next portion of the single texture representation has been received for transcoding (i.e. operation 502 has been repeated for a new portion of the single texture representation), the method 500 returns to operation 504 to predict a compression mode for newly received portion of the single texture representation, and then on to operation 506 to transcode the newly received portion of the single texture representation accordingly, and further on to operation 508 to output a result of the transcoding. In this way, different portions of the single texture representation may be transcoded to different portions of the textures (e.g. in a streaming or on-demand manner). Further, the different portions of the textures may or may not be transcoded with different hardware-supported compression formats, per the configured implementation.
Following the exemplary transcoding process for the single texture representation disclosed above, supporting all modes for BC7 should also be possible, especially if the neural network runs at per-BC-block rate. In this embodiment, the neural network may be trained to predict the block mode, with the rest of the channels may then be “interpreted” on a case-by-case basis, depending on the selected mode. As another option, a primary neural network could predict the mode for each block, and then a specialized secondary neural network could be trained/invoked to predict the data for all of the blocks with a specific block type.
In operation 602, at least a portion of a single texture representation of a plurality of textures in a set of textures is transcoded into at least a portion of the plurality of textures with a hardware-supported compression format. This may include transcoding an entirety of the single texture representation into the plurality of textures with the hardware-supported compression format (per
In operation 604, the at least a portion of the plurality of textures with the hardware-supported compression format are interleaved to form at least one interleaved texture. Interleaving refers to alternating portions (e.g. blocks) from the textures that are compressed in the hardware-supported compression formats. One example of interleaving textures is disclosed in U.S. Pat. No. 11,823,318, filed Jun. 4, 2021 and entitled “Techniques for interleaving textures,” which is hereby incorporated by reference in its entirety.
In operation 606, the at least one interleaved texture is output. For example, the at least one interleaved texture may be output to a storage, for example to be accessed by the hardware. In an embodiment, the at least one interleaved texture may be output directly to the hardware. In any case, the hardware is configured to access one or more select portions of the at least one interleaved texture, decompress the accessed portion(s), and then render the decompressed portion(s). By interleaving the textures as described above, incoherent accesses may become faster when different textures or texture portions are accessed. For example, instead of requiring separate texture accesses to a same texel coordinate (x,y) of the different textures, the texture unit of the hardware can be configured to accept a specialized lookup that returns values for all of the textures at the texel coordinate (x,y) with just a single request to the texture unit.
In
In
Deep neural networks (DNNs), including deep learning models, developed on processors have been used for diverse use cases, from self-driving cars to faster drug development, from automatic image captioning in online image databases to smart real-time language translation in video chat applications. Deep learning is a technique that models the neural learning process of the human brain, continually learning, continually getting smarter, and delivering more accurate results more quickly over time. A child is initially taught by an adult to correctly identify and classify various shapes, eventually being able to identify shapes without any coaching. Similarly, a deep learning or neural learning system needs to be trained in object recognition and classification for it get smarter and more efficient at identifying basic objects, occluded objects, etc., while also assigning context to objects.
At the simplest level, neurons in the human brain look at various inputs that are received, importance levels are assigned to each of these inputs, and output is passed on to other neurons to act upon. An artificial neuron or perceptron is the most basic model of a neural network. In one example, a perceptron may receive one or more inputs that represent various features of an object that the perceptron is being trained to recognize and classify, and each of these features is assigned a certain weight based on the importance of that feature in defining the shape of an object.
A deep neural network (DNN) model includes multiple layers of many connected nodes (e.g., perceptrons, Boltzmann machines, radial basis functions, convolutional layers, etc.) that can be trained with enormous amounts of input data to quickly solve complex problems with high accuracy. In one example, a first layer of the DNN model breaks down an input image of an automobile into various sections and looks for basic patterns such as lines and angles. The second layer assembles the lines to look for higher level patterns such as wheels, windshields, and mirrors. The next layer identifies the type of vehicle, and the final few layers generate a label for the input image, identifying the model of a specific automobile brand.
Once the DNN is trained, the DNN can be deployed and used to identify and classify objects or patterns in a process known as inference. Examples of inference (the process through which a DNN extracts useful information from a given input) include identifying handwritten numbers on checks deposited into ATM machines, identifying images of friends in photos, delivering movie recommendations to over fifty million users, identifying and classifying different types of automobiles, pedestrians, and road hazards in driverless cars, or translating human speech in real-time.
During training, data flows through the DNN in a forward propagation phase until a prediction is produced that indicates a label corresponding to the input. If the neural network does not correctly label the input, then errors between the correct label and the predicted label are analyzed, and the weights are adjusted for each feature during a backward propagation phase until the DNN correctly labels the input and other inputs in a training dataset. Training complex neural networks requires massive amounts of parallel computing performance, including floating-point multiplications and additions. Inferencing is less compute-intensive than training, being a latency-sensitive process where a trained neural network is applied to new inputs it has not seen before to classify images, translate speech, and generally infer new information.
As noted above, a deep learning or neural learning system needs to be trained to generate inferences from input data. Details regarding inference and/or training logic 815 for a deep learning or neural learning system are provided below in conjunction with
In at least one embodiment, inference and/or training logic 815 may include, without limitation, a data storage 801 to store forward and/or output weight and/or input/output data corresponding to neurons or layers of a neural network trained and/or used for inferencing in aspects of one or more embodiments. In at least one embodiment data storage 801 stores weight parameters and/or input/output data of each layer of a neural network trained or used in conjunction with one or more embodiments during forward propagation of input/output data and/or weight parameters during training and/or inferencing using aspects of one or more embodiments. In at least one embodiment, any portion of data storage 801 may be included with other on-chip or off-chip data storage, including a processor's L1, L2, or L3 cache or system memory.
In at least one embodiment, any portion of data storage 801 may be internal or external to one or more processors or other hardware logic devices or circuits. In at least one embodiment, data storage 801 may be cache memory, dynamic randomly addressable memory (“DRAM”), static randomly addressable memory (“SRAM”), non-volatile memory (e.g., Flash memory), or other storage. In at least one embodiment, choice of whether data storage 801 is internal or external to a processor, for example, or comprised of DRAM, SRAM, Flash or some other storage type may depend on available storage on-chip versus off-chip, latency requirements of training and/or inferencing functions being performed, batch size of data used in inferencing and/or training of a neural network, or some combination of these factors.
In at least one embodiment, inference and/or training logic 815 may include, without limitation, a data storage 805 to store backward and/or output weight and/or input/output data corresponding to neurons or layers of a neural network trained and/or used for inferencing in aspects of one or more embodiments. In at least one embodiment, data storage 805 stores weight parameters and/or input/output data of each layer of a neural network trained or used in conjunction with one or more embodiments during backward propagation of input/output data and/or weight parameters during training and/or inferencing using aspects of one or more embodiments. In at least one embodiment, any portion of data storage 805 may be included with other on-chip or off-chip data storage, including a processor's L1, L2, or L3 cache or system memory. In at least one embodiment, any portion of data storage 805 may be internal or external to on one or more processors or other hardware logic devices or circuits. In at least one embodiment, data storage 805 may be cache memory, DRAM, SRAM, non-volatile memory (e.g., Flash memory), or other storage. In at least one embodiment, choice of whether data storage 805 is internal or external to a processor, for example, or comprised of DRAM, SRAM, Flash or some other storage type may depend on available storage on-chip versus off-chip, latency requirements of training and/or inferencing functions being performed, batch size of data used in inferencing and/or training of a neural network, or some combination of these factors.
In at least one embodiment, data storage 801 and data storage 805 may be separate storage structures. In at least one embodiment, data storage 801 and data storage 805 may be same storage structure. In at least one embodiment, data storage 801 and data storage 805 may be partially same storage structure and partially separate storage structures. In at least one embodiment, any portion of data storage 801 and data storage 805 may be included with other on-chip or off-chip data storage, including a processor's L1, L2, or L3 cache or system memory.
In at least one embodiment, inference and/or training logic 815 may include, without limitation, one or more arithmetic logic unit(s) (“ALU(s)”) 810 to perform logical and/or mathematical operations based, at least in part on, or indicated by, training and/or inference code, result of which may result in activations (e.g., output values from layers or neurons within a neural network) stored in an activation storage 820 that are functions of input/output and/or weight parameter data stored in data storage 801 and/or data storage 805. In at least one embodiment, activations stored in activation storage 820 are generated according to linear algebraic and or matrix-based mathematics performed by ALU(s) 810 in response to performing instructions or other code, wherein weight values stored in data storage 805 and/or data 801 are used as operands along with other values, such as bias values, gradient information, momentum values, or other parameters or hyperparameters, any or all of which may be stored in data storage 805 or data storage 801 or another storage on or off-chip. In at least one embodiment, ALU(s) 810 are included within one or more processors or other hardware logic devices or circuits, whereas in another embodiment, ALU(s) 810 may be external to a processor or other hardware logic device or circuit that uses them (e.g., a co-processor). In at least one embodiment, ALUs 810 may be included within a processor's execution units or otherwise within a bank of ALUs accessible by a processor's execution units either within same processor or distributed between different processors of different types (e.g., central processing units, graphics processing units, fixed function units, etc.). In at least one embodiment, data storage 801, data storage 805, and activation storage 820 may be on same processor or other hardware logic device or circuit, whereas in another embodiment, they may be in different processors or other hardware logic devices or circuits, or some combination of same and different processors or other hardware logic devices or circuits. In at least one embodiment, any portion of activation storage 820 may be included with other on-chip or off-chip data storage, including a processor's L1, L2, or L3 cache or system memory. Furthermore, inferencing and/or training code may be stored with other code accessible to a processor or other hardware logic or circuit and fetched and/or processed using a processor's fetch, decode, scheduling, execution, retirement and/or other logical circuits.
In at least one embodiment, activation storage 820 may be cache memory, DRAM, SRAM, non-volatile memory (e.g., Flash memory), or other storage. In at least one embodiment, activation storage 820 may be completely or partially within or external to one or more processors or other logical circuits. In at least one embodiment, choice of whether activation storage 820 is internal or external to a processor, for example, or comprised of DRAM, SRAM, Flash or some other storage type may depend on available storage on-chip versus off-chip, latency requirements of training and/or inferencing functions being performed, batch size of data used in inferencing and/or training of a neural network, or some combination of these factors. In at least one embodiment, inference and/or training logic 815 illustrated in
In at least one embodiment, each of data storage 801 and 805 and corresponding computational hardware 802 and 806, respectively, correspond to different layers of a neural network, such that resulting activation from one “storage/computational pair 801/802” of data storage 801 and computational hardware 802 is provided as an input to next “storage/computational pair 805/806” of data storage 805 and computational hardware 806, in order to mirror conceptual organization of a neural network. In at least one embodiment, each of storage/computational pairs 801/802 and 805/806 may correspond to more than one neural network layer. In at least one embodiment, additional storage/computation pairs (not shown) subsequent to or in parallel with storage computation pairs 801/802 and 805/806 may be included in inference and/or training logic 815.
In at least one embodiment, untrained neural network 906 is trained using supervised learning, wherein training dataset 902 includes an input paired with a desired output for an input, or where training dataset 902 includes input having known output and the output of the neural network is manually graded. In at least one embodiment, untrained neural network 906 is trained in a supervised manner processes inputs from training dataset 902 and compares resulting outputs against a set of expected or desired outputs. In at least one embodiment, errors are then propagated back through untrained neural network 906. In at least one embodiment, training framework 904 adjusts weights that control untrained neural network 906. In at least one embodiment, training framework 904 includes tools to monitor how well untrained neural network 906 is converging towards a model, such as trained neural network 908, suitable to generating correct answers, such as in result 914, based on known input data, such as new data 912. In at least one embodiment, training framework 904 trains untrained neural network 906 repeatedly while adjust weights to refine an output of untrained neural network 906 using a loss function and adjustment algorithm, such as stochastic gradient descent. In at least one embodiment, training framework 904 trains untrained neural network 906 until untrained neural network 906 achieves a desired accuracy. In at least one embodiment, trained neural network 908 can then be deployed to implement any number of machine learning operations.
In at least one embodiment, untrained neural network 906 is trained using unsupervised learning, wherein untrained neural network 906 attempts to train itself using unlabeled data. In at least one embodiment, unsupervised learning training dataset 902 will include input data without any associated output data or “ground truth” data. In at least one embodiment, untrained neural network 906 can learn groupings within training dataset 902 and can determine how individual inputs are related to untrained dataset 902. In at least one embodiment, unsupervised training can be used to generate a self-organizing map, which is a type of trained neural network 908 capable of performing operations useful in reducing dimensionality of new data 912. In at least one embodiment, unsupervised training can also be used to perform anomaly detection, which allows identification of data points in a new dataset 912 that deviate from normal patterns of new dataset 912.
In at least one embodiment, semi-supervised learning may be used, which is a technique in which in training dataset 902 includes a mix of labeled and unlabeled data. In at least one embodiment, training framework 904 may be used to perform incremental learning, such as through transferred learning techniques. In at least one embodiment, incremental learning enables trained neural network 908 to adapt to new data 912 without forgetting knowledge instilled within network during initial training.
In at least one embodiment, as shown in
In at least one embodiment, grouped computing resources 1014 may include separate groupings of node C.R.s housed within one or more racks (not shown), or many racks housed in data centers at various geographical locations (also not shown). Separate groupings of node C.R.s within grouped computing resources 1014 may include grouped compute, network, memory or storage resources that may be configured or allocated to support one or more workloads. In at least one embodiment, several node C.R.s including CPUs or processors may grouped within one or more racks to provide compute resources to support one or more workloads. In at least one embodiment, one or more racks may also include any number of power modules, cooling modules, and network switches, in any combination.
In at least one embodiment, resource orchestrator 1022 may configure or otherwise control one or more node C.R.s 1016(1)-1016(N) and/or grouped computing resources 1014. In at least one embodiment, resource orchestrator 1022 may include a software design infrastructure (“SDI”) management entity for data center 1000. In at least one embodiment, resource orchestrator may include hardware, software or some combination thereof.
In at least one embodiment, as shown in
In at least one embodiment, software 1032 included in software layer 1030 may include software used by at least portions of node C.R.s 1016(1)-1016(N), grouped computing resources 1014, and/or distributed file system 1038 of framework layer 1020. one or more types of software may include, but are not limited to, Internet web page search software, e-mail virus scan software, database software, and streaming video content software.
In at least one embodiment, application(s) 1042 included in application layer 1040 may include one or more types of applications used by at least portions of node C.R.s 1016(1)-1016(N), grouped computing resources 1014, and/or distributed file system 1038 of framework layer 1020. one or more types of applications may include, but are not limited to, any number of a genomics application, a cognitive compute, and a machine learning application, including training or inferencing software, machine learning framework software (e.g., PyTorch, TensorFlow, Caffe, etc.) or other machine learning applications used in conjunction with one or more embodiments.
In at least one embodiment, any of configuration manager 1034, resource manager 1036, and resource orchestrator 1012 may implement any number and type of self-modifying actions based on any amount and type of data acquired in any technically feasible fashion. In at least one embodiment, self-modifying actions may relieve a data center operator of data center 1000 from making possibly bad configuration decisions and possibly avoiding underutilized and/or poor performing portions of a data center.
In at least one embodiment, data center 1000 may include tools, services, software or other resources to train one or more machine learning models or predict or infer information using one or more machine learning models according to one or more embodiments described herein. For example, in at least one embodiment, a machine learning model may be trained by calculating weight parameters according to a neural network architecture using software and computing resources described above with respect to data center 1000. In at least one embodiment, trained machine learning models corresponding to one or more neural networks may be used to infer or predict information using resources described above with respect to data center 1000 by using weight parameters calculated through one or more training techniques described herein.
In at least one embodiment, data center may use CPUs, application-specific integrated circuits (ASICs), GPUs, FPGAs, or other hardware to perform training and/or inferencing using above-described resources. Moreover, one or more software and/or hardware resources described above may be configured as a service to allow users to train or performing inferencing of information, such as image recognition, speech recognition, or other artificial intelligence services.
Inference and/or training logic 815 are used to perform inferencing and/or training operations associated with one or more embodiments. In at least one embodiment, inference and/or training logic 815 may be used in system
As described herein, a method, computer readable medium, and system are disclosed to provide for transcoding of a single texture representation of a texture set. At least one neural network may be used for transcoding the single texture representation, involving the performance of inferencing operations and for providing inferenced data. The neural network may be stored (partially or wholly) in one or both of data storage 801 and 805 in inference and/or training logic 815 as depicted in
This application claims the benefit of U.S. Provisional Application No. 63/466,206 (Attorney Docket No. NVIDP1377+/23-RE-0071US02) titled “RANDOM-ACCESS NEURAL COMPRESSION OF MATERIAL TEXTURES,” filed May 12, 2023, the entire contents of which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
63466206 | May 2023 | US |