mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 00:02:28 +00:00
fixes typo in code
This commit is contained in:
parent
65d6e47513
commit
6b843a4384
@ -49,7 +49,7 @@ class CentroidConversion(EmotionConversionPlugin):
|
||||
|
||||
def _backwards_conversion(self, original):
|
||||
"""Find the closest category"""
|
||||
dimensions = set(k.keys() for i in centroids.values())
|
||||
dimensions = set(c.keys() for c in centroids.values())
|
||||
neutralPoint = self.get("origin", None)
|
||||
neutralPoint = {k:neutralPoint[k] if k in neturalPoint else 0}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user