Skip to content

v2.0.1

Latest
Compare
Choose a tag to compare
@ChrisMcCarthyDev ChrisMcCarthyDev released this 18 Aug 10:39
· 1 commit to main since this release
d7c81e0

Yawning-Titan v2.0.1 is a bugfix release for #56 [BUG] Rendering and GIF saving is broken.

🎉 What's New

GUI

  • Added new options in the Run page for separate generation of Animated GIFs and WEBM videos
    • This can be found under the Evaluation tab
      Yawning-Titan Run Page

    • If both Animated GIF and WEBM videos are to be generated, the video will be shown as the preview

Python API

  • Separated saving of Animated GIFs and WEBM videos, so that they can be generated independently of each other
    Yawning-Titan gif_action_loop

🐛 Bug Fixes

  • Fixed an issue where an error occurs if no webm_output_directory is provided when the ActionLoop.gif_action_loop() is called
  • WEBM files are now generated in the USER_DIR/yawning_titan/videos by default, but can be overridden by providing a path to webm_output_directory

💫 How to Install & Run

First time installing Yawning-Titan?

Windows (Powershell)

mkdir ~\yawning_titan
cd ~\yawning_titan
Invoke-WebRequest -OutFile yawningtitan-2.0.1-py3-none-any.whl -Uri https://github.com/dstl/YAWNING-TITAN/releases/download/v2.0.1/yawningtitan-2.0.1-py3-none-any.whl
python3 -m venv .venv
attrib +h .venv /s /d # Hides the .venv directory
.\.venv\Scripts\activate
pip install --upgrade pip==23.0.1
pip install wheel==0.38.4 --upgrade
pip install setuptools==66 --upgrade
pip install yawningtitan-2.0.1-py3-none-any.whl
yawning-titan --install-completion
yawning-titan setup

Unix

sudo apt-get install python3-venv
mkdir ~/yawning_titan
cd ~/yawning_titan
wget https://github.com/dstl/YAWNING-TITAN/releases/download/v2.0.1/yawningtitan-2.0.1-py3-none-any.whl
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip==23.0.1
pip install wheel==0.38.4 --upgrade
pip install setuptools==66 --upgrade
pip install yawningtitan-2.0.1-py3-none-any.whl
yawning-titan --install-completion
yawning-titan setup

Updating an existing install?

Windows (Powershell)

cd ~\yawning_titan
Invoke-WebRequest -OutFile yawningtitan-2.0.1-py3-none-any.whl -Uri https://github.com/dstl/YAWNING-TITAN/releases/download/v2.0.1/yawningtitan-2.0.1-py3-none-any.whl
.\.venv\Scripts\activate
pip install --upgrade pip==23.0.1
pip install wheel==0.38.4 --upgrade
pip install setuptools==66 --upgrade
pip install yawningtitan-2.0.1-py3-none-any.whl --upgrade
yawning-titan --install-completion
yawning-titan setup

Unix

cd ~/yawning_titan
cwget https://github.com/dstl/YAWNING-TITAN/releases/download/v2.0.1/yawningtitan-2.0.1-py3-none-any.whl
source .venv/bin/activate
pip install --upgrade pip==23.0.1
pip install wheel==0.38.4 --upgrade
pip install setuptools==66 --upgrade
pip install yawningtitan-2.0.1-py3-none-any.whl --upgrade
yawning-titan --install-completion
yawning-titan setup

Installing Yawning-Titan from Source?

CD to where you want to store the Yawning-Titan source code, then:

Windows (Powershell)

git clone https://github.com/dstl/YAWNING-TITAN.git
python3 -m venv venv
.\venv\Scripts\activate
pip install --upgrade pip==23.0.1
pip install wheel==0.38.4 --upgrade
pip install setuptools==66 --upgrade
pip install build
pip install -e .[dev]
cd docs
make.bat html
cd ..\scripts
.\copy_docs_to_gui_static.bat
cd ..
python -m build
pip install .\dist\yawningtitan-2.0.1-py3-none-any.whl --upgrade
yawning-titan --install-completion
yawning-titan setup

Unix

git clone https://github.com/dstl/YAWNING-TITAN.git
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip==23.0.1
pip install wheel==0.38.4 --upgrade
pip install setuptools==66 --upgrade
pip install build
pip install -e .[dev]
cd docs
make html
cd ../scripts
./copy_docs_to_gui_static.sh
cd ..
python -m build
pip install .\dist\yawningtitan-2.0.1-py3-none-any.whl --upgrade
yawning-titan --install-completion
yawning-titan setup

Running Yawning-Titan from the GUI

Windows (Powershell)

cd ~\yawning_titan
.\.venv\Scripts\activate
yawning-titan gui

Unix

cd ~/yawning_titan
source .venv/bin/activate
yawning-titan gui

Contributors

Full Changelog: v2.0.0...v2.0.1