Navigation
API > API/Plugins > API/Plugins/AnimGen
Class containing all the UAnimGenAutoEncoder Editor window training settings
| Name | UAnimGenAutoEncoderTrainingSettings |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Animation/AnimGen/Source/AnimGen/Public/AnimGenAutoEncoder.h |
| Include Path | #include "AnimGenAutoEncoder.h" |
Syntax
UCLASS ()
class UAnimGenAutoEncoderTrainingSettings :
public UObject ,
public IBoneReferenceSkeletonProvider
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAnimGenAutoEncoderTrainingSettings
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActivationFunction | EAnimGenActivationFunction | The activation function used by the auto-encoder | AnimGenAutoEncoder.h |
|
| AttributeWeightMultiplier | float | Increase this if the attributes are not being accurately reproduced | AnimGenAutoEncoder.h |
|
| AutoEncoderDebugDrawer | TObjectPtr< UAnimGenAutoEncoderDebugDraw > | Custom debug draw object that can be used to add additional debug draw behavior | AnimGenAutoEncoder.h |
|
| BaseWeightMultiplier | float | Increase this if the network is not accurately reproducing bones at the end of joint chains | AnimGenAutoEncoder.h |
|
| BatchSize | int32 | Batch size to use for training. | AnimGenAutoEncoder.h |
|
| bEnableLogging | bool | If to enable logging to the UE log in the training subprocess. | AnimGenAutoEncoder.h |
|
| bEnableTensorboard | bool | If to enable logging to TensorBoard in the intermediate directory. | AnimGenAutoEncoder.h |
|
| bExcludeVirtualBones | bool | If to exclude virtual bones | AnimGenAutoEncoder.h |
|
| bForceRefresh | bool | Flag to force refresh the query during update | AnimGenAutoEncoder.h | |
| bUseCompressedLinearLayers | bool | If the auto-encoder should use compressed learning layers. | AnimGenAutoEncoder.h |
|
| Database | TSoftObjectPtr< UAnimDatabase > | Input database to train the network with | AnimGenAutoEncoder.h |
|
| DatabaseContentHash | int32 | This hash is used to detect when the database might have changed and re-run the query | AnimGenAutoEncoder.h | |
| DatabaseDebugDrawer | TObjectPtr< UAnimDatabaseDebugDraw > | Custom database debug draw object that can be used to add additional debug draw behavior | AnimGenAutoEncoder.h |
|
| Device | EAnimGenTrainingDevice | The device to train on. | AnimGenAutoEncoder.h |
|
| EncodingSize | int32 | The encoding size used by the auto-encoder to compress the pose | AnimGenAutoEncoder.h |
|
| ExcludedBones | TArray< FBoneReference > | List of bones to exclude from training | AnimGenAutoEncoder.h |
|
| FrameAttributes | TArray< FAnimDatabaseFrameAttributeEntry > | List of Frame Attributes to train the network to reproduce | AnimGenAutoEncoder.h |
|
| FrameRanges | TObjectPtr< UAnimDatabaseFrameRangesFunction > | Frame ranges in the database to use for training. Leave this as None to train on the full database | AnimGenAutoEncoder.h |
|
| HiddenUnitNum | int32 | The number of hidden units used by the auto-encoder on each layer | AnimGenAutoEncoder.h |
|
| LayerNum | int32 | The number of layers used by the encoder and decoder networks | AnimGenAutoEncoder.h |
|
| LearningRate | float | Learning rate. | AnimGenAutoEncoder.h |
|
| NumberOfIterations | int32 | The number of iterations to train the auto-encoder for. | AnimGenAutoEncoder.h |
|
| QueryEntries | TArray< TSharedPtr< UE::AnimDatabase::Editor::FQueryEntry > > | List of UI entries for the current query | AnimGenAutoEncoder.h | |
| QueryRanges | FAnimDatabaseFrameRanges | Query Ranges object for the current query | AnimGenAutoEncoder.h | |
| RandomSeed | int32 | The seed used for any random sampling the trainer will perform, e.g. for weight initialization. | AnimGenAutoEncoder.h |
|
| RangeIndentifierColorSeed | int32 | Seed used for the colors of the range identifiers | AnimGenAutoEncoder.h | |
| RootWeightMultiplier | float | Increase this if the root motion is not being accurately reproduced | AnimGenAutoEncoder.h |
|
| SelectedRanges | TArray< int32 > | Indices of all the currently selected ranges | AnimGenAutoEncoder.h | |
| WarmupIterations | int32 | The number of learning rate warm-up iterations to apply. Stabilizes the beginning of training. | AnimGenAutoEncoder.h |
|
| WeightInit | EAnimGenWeightInit | Network weight initialization method | AnimGenAutoEncoder.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForceRefresh() |
Forces the Update function to refresh the internal state | AnimGenAutoEncoder.h |
|
USkeleton * GetSkeleton
(
bool& bInvalidSkeletonIsError, |
AnimGenAutoEncoder.h | ||
void LoadDatabaseAsync() |
Load the current database. | AnimGenAutoEncoder.h | |
bool Update () |
Checks if QueryRanges needs updating, and if so updates it. | AnimGenAutoEncoder.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 | AnimGenAutoEncoder.h |