Coder Social home page Coder Social logo

njurs / earth-vision Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jakartaresearch/earth-vision

0.0 0.0 0.0 52.99 MB

Jakarta Research Earth Observatory - Library

Home Page: https://jakartaresearch.github.io/earth-vision

License: MIT License

Python 100.00%

earth-vision's Introduction

earth-vision

Earth Vision is a python library for solving computer vision tasks specifically for satellite imagery.

Objective

To ease researcher to run ML pipelines for AI or Deep Learning Applications in solving Earth Observation (EO) tasks.

Installation

We recommend Anaconda as Python package management system and using Python 3.9.

pip:

pip install earth-vision
conda install gdal

From source:

python setup.py install
conda install gdal

GDAL is actually a C++ library with python bindings. That means it relies on underlying C++ code and the package must be built/compiled in a certain manner to be usable with Python. So, we prefer to install it from Anaconda.

Example

from torch.utils.data import DataLoader
from torchvision.transforms import ToTensor, Compose, Normalize
from earthvision.datasets import RESISC45
from earthvision.models.resisc45 import regnet_y_400mf

# Transformation
preprocess = Compose([ToTensor(), 
                      Normalize(mean=[0.3680, 0.3810, 0.3436], 
                                std=[0.1454, 0.1356, 0.1320])])

# Dataset and Dataloader
dataset = RESISC45(root='../dataset', transform=preprocess, download=True)
dataloader = DataLoader(dataset, batch_size=32, shuffle=True)

# Model
model = regnet_y_400mf(pretrained=True)

Features Plans

Feel free to suggest features you would like to see by opening an issue.

  • GPU memory optimization [TBD]
  • High-level pipeline to integrate varied data sources [TBD]

earth-vision's People

Contributors

adhiiisetiawan avatar andreaschandra avatar dewabratapandu avatar dwiuzila avatar fendisuryadinata570 avatar gilangarisptr avatar juannat7 avatar kokoedwin avatar rubentea16 avatar ryzary avatar

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.