- Important Updates
- GENEA Challenge 2020 BVH visualizer
- GENEA Challenge 2022 BVH visualizer
- GENEA Challenge 2023 BVH visualizer
- Citation
- Contact
Table of contents generated with markdown-toc
14-06-2023: The GENEA Challenge 2023 visualizer receives improved input and output handling of filenames. (The original pre-updated code given to participants can be found in this release):
- BVH and WAV audio file input args are now linked to the main agent and interlocutor:
-i1
->-imb
(main agent BVH)-i2
->-iib
(interlocutor BVH)-a1
->-imw
(main agent WAV)-a2
->-iiw
(interlocutor WAV)
- A new "output name" arg
-n
must be specified by the user for handling filenames of intermediate and final output files:- Do not include periods (
.
) or slashes (/
,\
) in the value. For example,-n "my_output"
is allowed, but-n "my_output.mp4"
or-n "my_directory/my_output"
is not. Output directory should be specified using the-o
arg. - The final composited video no longer uses a hardcoded filename and will not be overwitten if a new composited video is rendered in the same directory as the first one. Instead, the composited video uses the value of
-n
as filename, with.mp4
added at the end.
- Do not include periods (
The very first installment of the GENEA Challenge 2020 visualizer is hosted in a different repo: https://github.com/jonepatr/genea_visualizer
Thanks to @AbelDoc, the visualizer received a minimal version that can be used locally. It is especially useful for batch-rendering BVH files and supports multiple rendering engines in Blender!
The code is hosted here: https://github.com/AbelDoc/GENEA_Visualiser_Local
The GENEA Challenge 2022 visualizer is archived at the archive_2022
branch: https://github.com/TeoNikolov/genea_visualizer/tree/archive_2022
Example output from the visualization server. The indicators above the speakers hint to the viewer that the speaker is engaged in "active speech".
This repository contains code that can be used to visualize BVH files (with optional audio) using Blender for dyadic interactions. The code was developed for the GENEA Challenge 2023, and enables reproducing the visualizations used for the challenge stimuli on most platforms. Currently, we provide only one interface for rendering visualizations:
- Stand-alone, for using the supplied Blender script with an existing Blender installation
The Blender script can be used directly inside Blender, either through a command line interface or Blender's user interface. Using the script directly is useful if you have Blender installed on your system, and you want to play around with the visualizer.
- Make sure you have
Blender 2.93.9
installed (other versions may work, but this is not guaranteed).- You can install Blender from Steam. Set version to 2.93.x in the properties.
- Start
Blender
and navigate to theScripting
panel above the 3D viewport. - In the panel on the right of the 3D viewport, press
Open
to navigate to theblender_render_2023.py
script. This script is found inside thecelery-queue
folder. - Tweak the settings in
main()
below the comment block that reads "SET ARGUMENTS MANUALLY...". - When ready, run the script by pressing the "play" button at the top to render the scene (this can take a while, so try with fewer frames first).
- The rendered video will be saved to the
ARG_OUTPUT_DIR
directory (defaults to the same folder as the BVH file). Filename is computed fromARG_OUTPUT_NAME
.
It is likely that your machine learning pipeline outputs a bunch of BVH and WAV files, such as during hyperparameter optimization. Instead of processing each BVH/WAV file pair separately through Blender's UI yourself, call Blender with command line arguments like this (on Windows):
"<path to Blender executable>" -b --python "<path to 'blender_render_2023.py' script>" -- -imb "<path to main agent BVH file>" -iib "<path to interlocutor BVH file>" -imw "<path to main agent WAV file>" -iiw "<path to interlocutor WAV file>" -v -d 600 -o <directory to save MP4 video in> -n "<output file name>" -m <visualization mode>
On Windows, you may write something like this (on Windows):
& "C:\Program Files (x86)\Steam\steamapps\common\Blender\blender.exe" -b --python ./blender_render_2023.py -- -imb "C:\Users\Wolf\Documents\NN_Output\BVH_files\mocap1.bvh" -iib "C:\Users\Wolf\Documents\NN_Output\BVH_files\mocap2.bvh" -imw "C:\Users\Wolf\Documents\NN_Output\audio1.wav" -iiw "C:\Users\Wolf\Documents\NN_Output\audio2.wav" -v -d 600 -o "C:\Users\Wolf\Documents\NN_Output\Rendered\" -n "Output" -m "full_body"
Tip: Tweak --duration <frame count>
, to smaller values to decrease render time and speed up your testing.
During the development of the visualizer, a variety of scripts were used for standardizing the data and processing video stimuli for subjective evaluation. The scripts are included in the scripts
folder in case anyone needs to use them directly, or as reference, for solving similar tasks. Some scripts were not written in a user-friendly manner, and lack comments and argument parsing. Therefore, using some scripts may be cumbersome, so be ready for some manual fiddling (e.g. replacing hard-coded paths). Writing a short readme inside the scripts folder is on the backlog, but there is no telling when this will happen at the moment.
Currently, the default settings written inside the Blender script indicate the settings that will be used to render the final challenge stimuli of GENEA Challenge 2023. Please check this repository occasionally for any changes to these settings.
@inproceedings{kucherenko2023genea,
author={Kucherenko, Taras and Nagy, Rajmund
and Yoon, Youngwoo and Woo, Jieyeon
and Nikolov, Teodor and Tsakov, Mihail
and Henter, Gustav Eje},
title={The {GENEA} {C}hallenge 2023: {A} large-scale
evaluation of gesture generation models in
monadic and dyadic settings},
booktitle = {Proceedings of the ACM International
Conference on Multimodal Interaction},
publisher = {ACM},
series = {ICMI '23},
year={2023}
}
To find more GENEA Challenge 2023 material on the web, please see:
- Challenge : https://genea-workshop.github.io/2023/challenge/
- Workshop : https://genea-workshop.github.io/2023/workshop/
To find more GENEA Challenge 2022 material on the web, please see:
- Summary page : https://youngwoo-yoon.github.io/GENEAchallenge2022/
- Challenge : https://genea-workshop.github.io/2022/challenge/
- Workshop : https://genea-workshop.github.io/2022/workshop/
If you have any questions or comments, please contact:
- Teodor Nikolov tnikolov@hotmail.com
- Mihail Tsakov tsakovm@gmail.com
- The GENEA Challenge & Workshop organisers genea-contact@googlegroups.com