Monitor and study any place on Earth and in Near Real-Time (NRT) using the SentinelHub services developed by the EO research team at Sinergise

earthspy is a wrapper around methods for the download of satellite data offered in the sentinelhub Python package. This tool makes the monitoring and study of any place on Earth simple, ready to use and easily deployable for operational purposes and NRT applications. Just like a spy! Some useful capabilities: Data download in multiprocessing Data download at optimized resolutions with the Direct Download (DD) method Data download at raw resolution with the Split and Merge Downlodad (SMD) method Data storage […]

Read more

Python implementation of the enigma machine

Python implementation of the enigma machine This is a Python implementation of Prof. Mike Pound’s Java based project as featured on the Computerphile YouTube channel: https://github.com/mikepound/enigma To run the program from the command line use python enigma.py. This will initialize the enigma machine with default settings for you to test.To try out additional options, use python enigma.py –help to get the full range of user configurable settings. As a basic example, you can set rotors, rotor positions, ring settings, reflector, […]

Read more

Custom PyTorch ML block example for Edge Impulse

This repository is an example on how to bring a custom transfer learning model into Edge Impulse. This repository contains a small fully-connected model built in PyTorch. If you want to see a more complex PyTorch example, see edgeimpulse/yolov5. Or if you’re looking for the Keras version of this repository, see edgeimpulse/example-custom-ml-block-keras. As a primer, read the Adding custom transfer learning models page in the Edge Impulse docs. To test this locally: Create a new Edge Impulse project, and add […]

Read more

Matplotlib on the tight theme

Lazy on demand subplots. 1️⃣ You can add subplots later, wherever you want. 2️⃣ You can manipulate subplots with numpy-like slices. 3️⃣ Oekaki warn about potentially misleading graphs. (ex: No labels or units.) 🍣 (Oekaki imports japanize-matplotlib if it’s installed.) import numpy as np import oekaki # 1️⃣: lazy draw subplots fig = oekaki.figure(strict

Read more

A generic code base for neural network pruning, especially for pruning at initialization

This repository is meant to provide a generic code base for neural network pruning, especially for pruning at initialization (PaI). [Survey | Paper Collection] Step 1: Set up environment OS: Linux (Ubuntu 1404 and 1604 checked. It should be all right for most linux platforms. Windows and MacOS not checked.) python=3.6.9 (conda to manage environment is strongly suggested) All the dependant libraries are summarized in requirements_pt1.9.txt (PyTorch 1.9 is used). Simply install them by pip install -r requirements_pt1.9.txt. CUDA and […]

Read more

Command Line Interface to automate module development for Bisque web application

V1.0.0 Standardizes and automates the process of creating modules that can be integrated in the Bisque web application.This command line interface (CLI) currently supports any input types supported by Bisque but can only display image and table outputs.Custom outputs or interactive parameters will require users to manually edit some files.Regardless of your application, it is a good idea to follow this guide and use the CLI to automate a big part of theprocess and avoid common bugs. Once you have […]

Read more

Exploring the Fibonacci Sequence With Python

The Fibonacci sequence is a pretty famous sequence of integer numbers. The sequence comes up naturally in many problems and has a nice recursive definition. Learning how to generate it is an essential step in the pragmatic programmer’s journey toward mastering recursion. In this video course, you’ll focus on learning what the Fibonacci sequence is and how to generate it using Python. In this course, you’ll learn how to: Generate the Fibonacci sequence using a recursive algorithm Optimize the recursive […]

Read more

Python’s urllib.request for HTTP Requests

If you need to make HTTP requests with Python, then you may find yourself directed to the brilliant requests library. Though it’s a great library, you may have noticed that it’s not a built-in part of Python. If you prefer, for whatever reason, to limit your dependencies and stick to standard-library Python, then you can reach for urllib.request! If you’ve heard of HTTP requests, including GET and POST, then you’re probably ready for this tutorial. Also, you should’ve already used […]

Read more

Python’s assert: Debug and Test Your Code Like a Pro

Python’s assert statement allows you to write sanity checks in your code. These checks are known as assertions, and you can use them to test if certain assumptions remain true while you’re developing your code. If any of your assertions turn false, then you have a bug in your code. Assertions are a convenient tool for documenting, debugging, and testing code during development. Once you’ve debugged and tested your code with the help of assertions, then you can turn them […]

Read more

Starting With Linear Regression in Python

We’re living in the era of large amounts of data, powerful computers, and artificial intelligence. This is just the beginning. Data science and machine learning are driving image recognition, autonomous vehicle development, decisions in the financial and energy sectors, advances in medicine, the rise of social networks, and more. Linear regression is an important part of this. Linear regression is one of the fundamental statistical and machine learning techniques. Whether you want to do statistics, machine learning, or scientific computing, […]

Read more
1 204 205 206 207 208 914