The question regarding MLdeformer: Nearest Neighbor Model

Hi there,
This is a question regarding MLdeformer: Nearest Neighbor Model.

After completing the initial training, when I set Nearest Neighbor Data and execute “Update”, I get the following error.
“Update failed with errors. Please Check Output Log (LogNearestNeighborModel,LogPython) for Details.)”
hana12_error01

The log contained the following error:
“LogNearestNeighborModel: Error: MeshMappings is empty. Unable to match skeletal mesh with geometry cache.
LogPython: Error: ERROR:root:SetSamplerFailed
LogPython: Error: ERROR:root:Traceback (most recent call last):
File “C:\Program Files/Epic Games/UE_5.3/Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Content/Python\nearestneighbormodel.py”, line 325, in update_nearest_neighbor_data
inputs, deltas = sample_neighbor_data(param)
File “C:\Program Files/Epic Games/UE_5.3/Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Content/Python\nearestneighbormodel.py”, line 250, in sample_neighbor_data
raise GeneratorExit(‘SetSamplerFailed’)
GeneratorExit: SetSamplerFailed”

The first test I did was successful, and when I created the data the second time I got this error.
I don’t know the cause because I am using the same method.

The mesh name of skeletal mesh and the mesh name of Alembic Cache were the same, and the number of vertices and vertex numbers were also the same.

Could you please tell me the cause of the error?

Regarding this issue, I was able to resolve it.

When importing Alembic files, I forgot to check “Store Imported Vertex Numbers” for some files.
It was a very simple mistake.
Thank you everyone.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.