Giter Site home page Giter Site logo

camaltra / this-is-not-real-aerial-imagery Goto Github PK

View Code? Open in Web Editor NEW
33.0 2.0 4.0 109 KB

Quizz App Using Custom Diffusion Model to create deep fake of Satelite Earth image

License: Apache License 2.0

Python 99.55% Shell 0.45%
backend classification-model computer-vision deep-learning deep-neural-networks diffusion-model diffusion-models docker pytorch u-net

this-is-not-real-aerial-imagery's Introduction

this-is-not-real-aerial-imagery

Table of Contents

  1. Context

  2. Installation

  3. Usage

  4. Output and model description

  5. Acknowledgements

  6. License

  7. Contributing

Context

End Of Year Project

As part of my final year as a Machine Learning Scientist, I embarked on the journey of creating a comprehensive project that encapsulates all the knowledge I've gained throughout the year. Having developed a keen interest in the field of computer vision and deep learning, I believe it is a fundamental cornerstone for building future applications in computer vision and augmented reality. It was only natural for me to choose a project within this domain to further enhance my understanding. Leveraging my knowledge from the last project (ViT), I decided to build a Diffusion model from scratch.

The entire project, from conception to coding, debugging, and deployment, unfolded within a tight 4-week timeline, constrained by impending vacations.

Constraints

Before delving into the project, I imposed a set of constraints to add an extra layer of challenge:

  • No Public Datasets: I committed to gathering all the necessary data myself.
  • No School-Learned Deep Learning Frameworks: I opted not to use any deep learning frameworks taught in school.
  • No Third-Party Software for Data Gathering: I refrained from utilizing any third-party software for data collection.

Choice

I chose this project because of my fascination with satellite imagery of Earth. Having previously worked on classification and segmentation projects with satellite imagery, I decided to venture into the realm of diffusion for this new adventure.

Installation

To use this codebase, follow these steps:

git clone https://github.com/Camaltra/this-is-not-real-aerial-imagery.git
cd this-is-not-real-aerial-imagery

Then run:

export PYTHONPATH=$(pwd)/src:$PYTHONPATH

Please refer to the README in the src/ folder for additional installation steps and environment setup required for different modules.

Usage

Please refer to sub folder README in the src/ folder to see all usage for the differents modules.
Short summary of the modules:

  • ETL: Gather data from Google Earth web application.

    • ETL/MODEL: Model Registry for experiments classification models
  • SERVER: Back-end Server to serve the Front End Application

  • AI: Model and training for the Diffusion Model.

Output and model description:

For details on the model architecture and output, please refer to the linked blog post that provides comprehensive information.

Acknowledgements

This project draws inspiration from the following works:

We acknowledge their significant contributions to the field.

License

This project is licensed under the [Apache 2.0] - see the LICENSE.md file for details.

Contributing

Feel free to contribute to this project by submitting issues or pull requests. We welcome any feedback, suggestions, or improvements.

Happy deep fake generation with the Diffusion Model!

this-is-not-real-aerial-imagery's People

Contributors

camaltra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

this-is-not-real-aerial-imagery's Issues

Biased Dataset, not enough sample for classification model training

  • Add testing script to see labels prediction on valid set
    • Look up from the current best model -> Ocean Image on cost are classify as earth one due to dark green overall colour
    • This is due to not much of fields and forest sample in the earth set and cost exemple on the ocean side.
    • Need to collect mode data, need to set an objectif to it

Run time error

Hello, when running your code,there is an problem that is TypeError: unsupported operand type(s) for |: 'type' and 'NoneType' and the wrong file is:\src\ai\diffusion_process.py. How to solve it?

Data Collection Strategy used is slow

In the data collection part (/src/etl/main.py), the EarthRecoder have an already self integrated Strat to get neighbours and so, compute the next coords. It's actually a DFS, and on a long run, more time is dedicated to move to the next location rather than simply just take screen.
On a 4h hours of run, only 2240 samples have been recorded, which is way low
Implementing some new start could be a good start to get better performance while getting data

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.