How to write asynchronous components to a store #251
Unanswered
hetingjane
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
I'm using Microsoft cognitive services Face API to recognize emotions from a video file.
To do so, I wrote an EmotionDetector class and initialized a component EmotionDetectorComponent that took images and output Emotion strings and values.
The component used an asynchronous receiver that's similar to the Cognitive services FaceRecognizer:
Now I want to write its outputs into the same \PSI store and my pipeline looks like this:
When I run it the terminal outputs:

The bottom two lines indicated some messages with an earlier originating time (2:43:59 PM) are returned later than the later messages (2:43:59 PM). And I got an exception:
System.InvalidOperationException: Attempted to post a message without strictly increasing originating time or that is out of order in wall-clock time: EmotionLabels
I think it's caused by the message originating time messed up when writing to a store. Does anyone know how to fix this? Any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions