Coder Social home page Coder Social logo

sreerag-ibtl / inference_attngan_py3 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 14.21 MB

A GUI for getting prediction from https://github.com/taoxugit/AttnGAN with single caption input.

License: MIT License

Python 100.00%
attngan text2image texttoimage

inference_attngan_py3's Introduction

inference_AttnGan_py3

AttnGAN is a work I found here. https://github.com/taoxugit/AttnGAN

It can convert text descriptions into quality images when trained on a dataset.

Only the GUI section is coded by me. All other parts were converted from original codebase in Python2 to Python3 using 2to3. All the models were obtained from the official repo. Some parts has been edited to get compatible with PyTorch cpu only.

I used anaconda for development in a windows 10 machine. Python version was 3.8.2. PyTorch CPU is used instead of PyTorch GPU.The conda package list provided in the requirements.txt.

Result from the GUI:

Save the text encoder into DAMSMencoders from https://drive.google.com/open?id=1GNUKjVeyWYBJ8hEU-yrfYQpDOkxEyP3V

Save the model into models from https://drive.google.com/open?id=1lqNG75suOuR_8gjoEPYNp8VyT_ufPPig

Install packages specified in requirements.txt

Move into the directory code.

Run

python gui.py

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.