Technos : Python, Poetry, Tensorflow, Keras, Google Cloud
Author : Anatole-DC
git --version
# git version 2.34.1python --version
# Python 3.10.12poetry run --version
# Poetry (version 1.6.1)If you are using pyenv
Activate koregraph
pyenv local koregraphInstall poetry
pip intall poetryThis template is configured to work with the VSCode editor, but it does not required it to be used.
git clone https://github.com/Anatole-DC/koregraph
cd koregraphpoetry shell
poetry installIn dev mode :
poetry install --with dev,viewerGenerate features and output pkl files
poetry run generateTrain a model
poetry run train -m model_kellyGet a video
poetry run predict -m model_kelly -a mBR0Export presentation (github pages)
poetry run jupyter nbconvert --no-input frontend/views/presentation.ipynb --to slides --stdout > documentation/pages/index.htmlTrain a model
poetry run train --help
# Pass the -d option to only take a random sample of the dataset
poetry run train -m modelkelly -d 0.5
# Train on the cloud (ensure the environment variable are set)
poetry run train -m modelkelly --with-cloud -dPredict a choregraphy from an audio
poetry run predict -a mBR1 -m model -i 01Build viewer video from choregraphy
poetry run viewer -c data/keypoints2d/gBR_sBM_cAll_d04_mBR0_ch01.pkl # Path to your videoCreate 5 sec chunks for a choreography
poetry run chunk -c data/keypoints2d/gBR_sBM_cAll_d04_mBR0_ch02.pkl -s 5If the music already exists, but you want to split it again for some reason, add the following parameter --reload-music
Plot the loss
poetry run evaluate -m model_nameIf history is a buckup file, add -b
Pitch en ligne
Transformer mercredi deuxième semaine
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.