Giter Site home page Giter Site logo

first-order-motion-windows-gui's Introduction

first-order-motion-windows-gui

  • 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.

Installation

  • 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


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.