py-feat icon indicating copy to clipboard operation
py-feat copied to clipboard

Error when plotting faces with muscles

Open saintnever opened this issue 1 year ago • 0 comments

I am plotting faces based on AUs

muscles = {'all':'heatmap'}
ax = plot_face(au=np.array(AUs), muscles = muscles)

For AUs [0.54611963, 0.50478494, 0.41988766, 0.2664393, 0.121765524, 0.0, 0.28502068, 8.240274e-05, 0.4632912, 0.0925621, 0.31845447, 0.07998222, 0.49135852, 0.0, 0.314376, 0.52488136, 0.06560196, 0.13456194, 0.15078494, 0.76588994], I got the error "ValueError: RGBA values should be within 0-1 range" with the attached unfinished image.

output

saintnever avatar Jun 06 '23 10:06 saintnever