Giter Site home page Giter Site logo

divyakraman / hawki2024 Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 1.15 GB

Codebase for the paper HawkI: HawkI: Homography & Mutual Information Guidance for 3D-free Single Image to Aerial View

Home Page: https://arxiv.org/abs/2311.15478

Python 100.00%
diffusion-models novel-view-synthesis single-image unsupervised image-personalization

hawki2024's Introduction

Paper: HawkI: Homography & Mutual Information Guidance for 3D-free Single Image to Aerial View (arXiv March 2024)

Please cite our paper if you find it useful.

@article{kothandaraman2023aerialbooth,
  title={AerialBooth: Mutual Information Guidance for Text Controlled Aerial View Synthesis from a Single Image},
  author={Kothandaraman, Divya and Zhou, Tianyi and Lin, Ming and Manocha, Dinesh},
  journal={arXiv preprint arXiv:2311.15478},
  year={2023}
}

Using the code

Datasets: The datasets, AerialBooth-Real and AerialBooth-Syn datasets can be found in the ./dataset/ folder.
Models: The pytorch code for the models are available in the ./models/ folder.
  models/aerialbooth - Model definition for AerialBooth
  models/aerialbooth_viewarg - Provides support for generating any arbitrary text-controlled view
      models/mutual_information - functions for computation of mutual information and earthmovers' distance
  models/aerialdiffusion_lora - Model definition for Aerial Diffusion LoRA
  models/dreambooth_lora - Model definition for DreamBooth LoRA
  models/imagic - Model definition for Imagic LoRA
Training scripts:
  Use train_aerialbooth_batch.py to perform optimization and generate the aerial-view image of a given input image.
  Use train_aerialbooth_view.py to perform optimization and generate the arbitrary text-controlled views of a given input image.
Computing the quantitative metrics:
Use eval_metrics_best_batch to compute the CLIP, SSCD and DINO scores of the generated images.

Dependencies

torch
cv2
diffusers
numpy
scipy
accelerate
packaging
transformers

Method

Acknowledgements

This codebase is heavily borrowed from https://github.com/huggingface/diffusers/blob/main/examples/community/imagic_stable_diffusion.py.

hawki2024's People

Contributors

divyakraman avatar

Stargazers

Junyan ye avatar  avatar  avatar Issac Westcott avatar

Watchers

 avatar

hawki2024's Issues

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.