Skip to content

This tutorial series covers how to train your own style transfer model with PyTorch and implement it in Unity using the Barracuda library.

License

Notifications You must be signed in to change notification settings

unitycoder/End-to-End-In-Game-Style-Transfer-Tutorial

 
 

Repository files navigation

End-to-End-In-Game-Style-Transfer-Tutorial

unity-style-transfer-screenshot

Note: Complete the following steps before running the project for the first time.

  1. Open the Kinematica folder in the Assets section.
  2. Double-click on the Unit asset.
  3. Click Build in the pop-up window.
  4. Close the pop-up window once the build is complete.
  5. Back in the Assets section, open the Biped scene in the Scenes folder.

The project should run normally now. However, there might be some stuttering the first time it is run.

Tutorial Links

Part 1: This tutorial series covers how to train your own style transfer model with PyTorch and implement it in Unity using the Barracuda library.

Part 1.5: This post covers how to use the Unity Recorder tool to generate additional training data for our style transfer model.

Part 2: This post covers how to train an artistic style transfer model with PyTorch in Google Colab.

Part 3: This post covers how implement the style transfer model in Unity with the Barracuda library.

Follow Ups

Targeted In-Game Style Transfer

Barracuda Style Transfer HDRP - 12/7/21

About

This tutorial series covers how to train your own style transfer model with PyTorch and implement it in Unity using the Barracuda library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 80.2%
  • Jupyter Notebook 16.8%
  • ShaderLab 3.0%