SpectData / MONAH

Multi-Modal Narratives for Humans
MIT License
3 stars 0 forks source link

Finish creation of Fine Narrative #13

Closed joshkyh closed 3 years ago

joshkyh commented 3 years ago

In progress to build Fine Narrative: Nodding, Forward Trunk Leaning.

joshkyh commented 3 years ago

Having memory challenge in the shift function. Recommending to do 1 column at a time, if still running into RAM problem, then upgrade to 16 GB.

If even 16 gb doesn't solve the shift RAM problem. Then let's recosider our options because not many users will have 16gb of ram on their computer.

joshkyh commented 3 years ago

Marriane solved the problem with a 8gb ram using the for loop. Similarly ran into a RAM problem when doing a self inner join to find periods of time with head nodding. I suggested to use for loops to tackle one window at a time.

joshkyh commented 3 years ago

Head nodding ready for Thur demo. Also working on commenting the code.

joshkyh commented 3 years ago

Demo failed at Line 285 of narrative_fine.py please check.

(1) Time starting from, deleting everything in step. (2) Time the portion taken by head nodding.

mfmakahiya commented 3 years ago

Stage 1 Time: 0:08:42.073105 Stage 2 Prosody SpeechRate Time: 0:00:00.021638 Stage 2 Prosody Delay Time: 0:00:00.100341 Stage 2 Prosody Time: 0:00:00.639074 Stage 2 Action Smile Time: 0:00:02.353334 Stage 2 Action Posiface Time: 0:00:04.316208 Stage 2 Action AUs Time: 0:00:04.179329 Stage 2 Action HeadNod Time: 0:01:20.589899 Stage 2 Action ForwardLean Time: 0:00:04.134147 Stage 2 Action Time: 0:01:35.641939 Done data processing - Stage 2 Stage 2 Time: 0:01:36.281013 Done data processing - Stage 3 Stage 3 Time: 0:00:00.597681 All Stages Run Time: 0:10:18.951799

joshkyh commented 3 years ago

Fine narratives done.