- All credits to the creators of the popular First-Order-Motion model
- A simple Windows GUI coded in Tkinter(Tk) Python to interface with the Pytorch model
- Pretty much a lazy effort to quickly setup this tool conveniently
- main_gui.py contains the main Tk code and initiates network inference. It has not been refactored and pretty messy ๐ฌ.
- Only demo.py and animate.py from the original repo are modified to interface with Tk.
- start.bat activates the virtual environment and initiates the GUI.
- start.exe is an executable version of the batch script which does not show the console. Compiled using this.
- hide.vbs executes start.bat without showing the console/terminal. It is included here as a backup and is not required.
- Inno Setup is used to package the required files into one the [executable file](release link). The configuration file is included in this repo.
- Install via the executable file which goes through a typical Windows graphical installation process.
- The current release (~1.3 GB after extraction) bundles a 64-bit virtual Python 3.7.5 environment, Pytorch scripts and weights for the Pytorch network.
- No Linux or Mac support because laziness, and the virtual Python environment only includes Windows variants of the required modules
- Current release only includes the CPU version of Pytorch 1.0.0.
- No CUDA support yet because the cudatoolkit version depends on the CUDA version installed in the system. Note to self: write a script to check for CUDA availability and then install appropriate CUDA dependencies.
- Consequently, the current release without CUDA is slow as heck.
- Docker is not considered because Windows installation is troublesome, but could solve cross-platform issues.
#Examples