Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Python library for solving computer vision tasks specifically for satellite imagery
Earth Vision
is a python library for solving computer vision tasks specifically for satellite imagery.
To ease researcher to run ML pipelines for AI or Deep Learning Applications in solving Earth Observation (EO) tasks.
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.
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)
Feel free to suggest features you would like to see by opening an issue.
FAQs
Python library for solving computer vision tasks specifically for satellite imagery
We found that earth-vision demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.