Giter Site home page Giter Site logo

hasibzunair / fifa-demo Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 5.0 15.32 MB

[BMVC'2022] Demo code for Fill in Fabrics: Body-Aware Self-Supervised Inpainting for Image-Based Virtual Try-On

Home Page: https://huggingface.co/spaces/hasibzunair/fifa-tryon-demo

Python 60.08% Jupyter Notebook 34.20% C++ 1.92% Cuda 3.41% Shell 0.32% Dockerfile 0.05% Makefile 0.02% C 0.03%

fifa-demo's Introduction

Demo of FIFA for Virtual Try-On ⚽

Open In Colab

This is demo repo for our BMVC 2022 paper:
Fill in Fabrics: Body-Aware Self-Supervised Inpainting for Image-Based Virtual Try-On

Training details available in the official repo fifa-tryon.


Figure 1. Final try-on outputs of our method with other recent try-on methods.

Interactive app build using Gradio

You can use the model as a simple UI made with gradio. See gradio_app for details on how to run the app. This app currently works on a local machine with a GPU. Can be hosted on a GPU server.

Note: I attempted to do a CPU implementation first. Got running the try-on and pose estimator models on CPU. The issue is when getting the parsing results (i.e multi-class segmentation) using this for the person image. The pre-trained model uses In-Place Activated BatchNorm for memory-optimized training. The implementation of In-Place Activated BatchNorm is currently only for GPUs.

Acknowledgements

This inference codebase is modified from https://github.com/levindabhi/ACGPN to run custom models. The human parser and segmentation models are from https://github.com/hasibzunair/Self-Correction-Human-Parsing-for-ACGPN and https://github.com/hasibzunair/U-2-Net.

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.