Code Monkey home page Code Monkey logo

picasso's Introduction

PICASSO

Python Inpainter for Cosmological and AStrophysical SOurces

This package provides a suite of inpainting methodologies aimed at reconstructing holes on images (128x128 pixels) extracted from a HEALPIX map.

Three inpainting techniques are included in PICASSO and can be divided into two main groups:

  1. diffusive-based methods (Nearest-Neighbours)
  2. learning-based methods that rely on training DCNNs to fill the missing pixels with the predictions learned from a training data-set (Deep-Prior and Generative Adversarial Networks, GAN ).

For further details see Puglisi et al. (2020) < >.

Requirements

Install

git clone https://github.com/giuspugl/picasso
cd picasso
python setup.py install

Usage

Scripts are provided to the user in order to perform:

  • projection from full sky HEALPIX maps to flat thumbnails images image_stacker
  • inpainting on GPUs inpaint_gpu
  • parallel inpainting on multiple processes (with mpi4py ) inpaint_mpi
  • projection from flat images to HEALPIX inpaint_gpu

Pretrained models

GAN training weights

Download the model directories (rename checkpoint.txt to checkpoint because google drive automatically add ext after download)

Support

If you encounter any difficulty in installing and using the code or you think you found a bug, please open an issue.

picasso's People

Stargazers

 avatar Jiaxin Wang avatar

Watchers

Giuseppe Puglisi avatar Yuuki Omori avatar sopXx avatar  avatar

picasso'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.