Navigation
API > API/Plugins > API/Plugins/AnimGen
Class containing all the UAnimGenController Editor window training settings
| Name | UAnimGenControllerTrainingSettings |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Animation/AnimGen/Source/AnimGen/Public/AnimGenController.h |
| Include Path | #include "AnimGenController.h" |
Syntax
UCLASS ()
class UAnimGenControllerTrainingSettings : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAnimGenControllerTrainingSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActivationFunction | EAnimGenActivationFunction | The activation function used by the networks | AnimGenController.h |
|
| AutoEncoder | TSoftObjectPtr< UAnimGenAutoEncoder > | Input autoencoder to train the network with | AnimGenController.h |
|
| BatchSize | int32 | Batch size to use for training. | AnimGenController.h |
|
| Behavior | TObjectPtr< UAnimGenBehavior > | Input Behavior to train the network on | AnimGenController.h |
|
| bEnableLogging | bool | If to enable logging to the UE log in the training subprocess. | AnimGenController.h |
|
| bEnableTensorboard | bool | If to enable logging to TensorBoard in the intermediate directory. | AnimGenController.h |
|
| bForceRefresh | bool | Flag to force refresh the query during update | AnimGenController.h | |
| bUseCompressedLinearLayers | bool | If the controller should use compressed learning layers. | AnimGenController.h |
|
| ControlNoiseScale | float | Scale of noise to apply to the control inputs. Larger values may improve generalization a little. | AnimGenController.h |
|
| ControlObject | FAnimGenControlObject | Current Control Object | AnimGenController.h | |
| ControlSchema | FAnimGenControlSchema | Current Control Schema | AnimGenController.h | |
| ControlSchemaElement | FAnimGenControlSchemaElement | Current Control Schema Element | AnimGenController.h | |
| ControlSets | TArray< FAnimGenControlSet > | Current Control Sets | AnimGenController.h | |
| Database | TSoftObjectPtr< UAnimDatabase > | Input database to train the network with | AnimGenController.h |
|
| DatabaseContentHash | int32 | This hash is used to detect when the database might have changed and re-generate the control sets | AnimGenController.h | |
| DebugDrawer | TObjectPtr< UAnimDatabaseDebugDraw > | Custom debug draw object that can be used to add additional debug draw behavior | AnimGenController.h |
|
| DenoiserHiddenUnitNum | int32 | The number of hidden units used by the denoiser network on each layer | AnimGenController.h |
|
| DenoiserLayerNum | int32 | The number of layers used by the denoiser network | AnimGenController.h |
|
| DenoiserSteps | int32 | Number of denoising steps to use during training of distilled LODs. | AnimGenController.h |
|
| Device | EAnimGenTrainingDevice | The device to train on. Training on CPU, while possible, will typically be extremely slow. | AnimGenController.h |
|
| FrameRanges | TObjectPtr< UAnimDatabaseFrameRangesFunction > | Frame ranges in the database to use for training. Leave this as None to train on the full database | AnimGenController.h |
|
| LearningRate | float | Learning rate. | AnimGenController.h |
|
| LOD0HiddenUnitNum | int32 | The number of hidden units used by the LOD0 network on each layer | AnimGenController.h |
|
| LOD0LayerNum | int32 | The number of layers used by the LOD0 network | AnimGenController.h |
|
| LOD1HiddenUnitNum | int32 | The number of hidden units used by the LOD1 network on each layer | AnimGenController.h |
|
| LOD1LayerNum | int32 | The number of layers used by the LOD1 network | AnimGenController.h |
|
| LOD2HiddenUnitNum | int32 | The number of hidden units used by the LOD2 network on each layer | AnimGenController.h |
|
| LOD2LayerNum | int32 | The number of layers used by the LOD2 network | AnimGenController.h |
|
| NumberOfDistillationIterations | int32 | The number of iterations to train the distilled LOD networks. | AnimGenController.h |
|
| NumberOfTrainingIterations | int32 | The number of iterations to train the reference flow-matching network. | AnimGenController.h |
|
| PoseNoiseScale | float | The scale of noise to apply to the pose encoding during training. | AnimGenController.h |
|
| QueryEntries | TArray< TSharedPtr< UE::AnimDatabase::Editor::FQueryEntry > > | List of UI entries for the current query | AnimGenController.h | |
| QueryRanges | FAnimDatabaseFrameRanges | Query Ranges object for the current query | AnimGenController.h | |
| RandomPoseSampleRate | float | Rate at which to sample random previous poses during training. | AnimGenController.h |
|
| RandomSeed | int32 | The seed used for any random sampling the trainer will perform, e.g. for weight initialization. | AnimGenController.h |
|
| RangeIndentifierColorSeed | int32 | Seed used for the colors of the range identifiers | AnimGenController.h | |
| SelectedRanges | TArray< int32 > | Indices of all the currently selected ranges | AnimGenController.h | |
| WarmupIterations | int32 | The number of learning rate warm-up iterations to apply. Stabilizes the beginning of training. | AnimGenController.h |
|
| WeightInit | EAnimGenWeightInit | Network weight initialization method | AnimGenController.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForceRefresh() |
Forces the Update function to refresh the internal state | AnimGenController.h |
|
void LoadAutoEncoderAsync() |
Load the current auto-encoder. | AnimGenController.h | |
void LoadDatabaseAsync() |
Load the current database. | AnimGenController.h | |
bool Update () |
Checks if ControlSets needs updating, and if so updates it. | AnimGenController.h |
Public Virtual
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& Event |
We use this async load changes to Database/AutoEncoder | AnimGenController.h |