A wrapper around pytest for assessing flakiness and runtime regressions

bubblewrap a wrapper around pytest for assessing flakiness and runtime regressions Local Setup This project uses Python3.9, pip to manage dependencies, and runs in a virtual environment. Install with the following: # create + activate venv + install dependencies # see docs: https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/ $ python3 -m pip install –user virtualenv $ python3 -m venv env $ source env/bin/activate $ pip install -r requirements.txt # note: to deactivate venv, use $ deactivate Code Formatting This project uses Black for code formatting: […]

Read more

Advanced extended command line tool for Django

mirage-django-lts mirage ~ ♪ extended django admin or manage.py command. Installing Mirage with Pipenv is recommended. pipenv install -d mirage-django-lts If you don’t use pipenv, you can install it with pip. pip install mirage-django-lts You can build this package manually. make before_node make build_all Usage: mg [action] option mg [action]:[subaction] option [Create Project] new Create a new Django project. new:react Create a new Django API project with React.js front-end. new:ng Create a new Django API project with Angular. –nebular Create […]

Read more

A relatively simple user interface in pyqt5 for UNIX systems

scrcpy-pyqtgui A relatively simple user interface in pyqt5 for UNIX systems Requirements: You can install them with sudo apt-get install scrcpy python3 python3-pip adb pip3 install PyQt5 Usage To run the program you can use the following command in the terminal inside the folder python3 main.py GitHub https://github.com/hayukimori/scrcpy-pyqtgui    

Read more

Working With Linear Systems in Python With scipy.linalg

Linear algebra is widely used across a variety of subjects, and you can use it to solve many problems once you organize the information using concepts like vectors and linear equations. In Python, most of the routines related to this subject are implemented in scipy.linalg, which offers very fast linear algebra capabilities. In particular, linear systems play an important role in modeling a variety of real-world problems, and scipy.linalg provides tools to study and solve them in an efficient way. […]

Read more

Use a powerful CNN to identify faces in images with python

FaceFinder There is lots of face recognition software out there on github, but most of it focuses on speed over accuracy and uses models such as ‘hog’. However, FaceFinder is one of the most powerful face recognition programs which uses a very large CNN to make accurate predictions. Here’s why: Several modern technologies make use of face recognition and its importance in the world is constantly increasing. You shouldn’t have to train a full neural net of your own every […]

Read more

Rethinking Space-Time Networks with Improved Memory Coverage for Efficient Video Object Segmentation

STCN We present Space-Time Correspondence Networks (STCN) as the new, effective, and efficient framework to model space-time correspondences in the context of video object segmentation. STCN achieves SOTA results on multiple benchmarks while running fast at 20+ FPS without bells and whistles. Its speed is even higher with mixed precision. Despite its effectiveness, the network itself is very simple with lots of room for improvement. See the paper for technical details. A Gentle Introduction There are two main contributions: STCN […]

Read more

Neural Scene Flow Fields using pytorch-lightning with potential improvements

nsff_pl Neural Scene Flow Fields using pytorch-lightning. This repo reimplements the NSFF idea, but modifies several operations based on observation of NSFF results and discussions with the authors. For discussion details, please see the issues of the original repo. The code is based on my previous implementation. The main modifications are the followings: Remove the blending weight in static NeRF. I adopt the addition strategy in NeRF-W. Compose static dynamic also in image warping. Implementation details are in models/rendering.py. These […]

Read more

Import json files directly in your python scripts

direct-json-import Import json files directly in your python scripts. Install Install from git repository pip install git+https://github.com/zaghaghi/direct-json-import.git Use With the following json in a file named info.json. { “name”: “hamed”, “lastname”: “zaghaghi”, “repos”: [ “https://github.com/zaghaghi/direct-json-import” ] } you can directly import it as follows import info print(info.data) # {‘name’: ‘hamed’, ‘lastname’: ‘zaghaghi’, ‘repos’: [‘https://github.com/zaghaghi/direct-json-import’]} GitHub https://github.com/zaghaghi/direct-json-import    

Read more

A Neovim plugin that generates a normalized color palette based on your colorscheme

Iris Iris is a Neovim plugin that generates a normalized color palette based on your colorscheme. It is named for the goddess Iris of Greek mythology, personification of the rainbow. Why? My development environment consists of three primary tools: Neovim, tmux, and [kitty]. I like to try and keep the color settings of these tools synchronized against a single palette. This task, at the very least, means finding pre-built matching configuration files and more often means writing some of these […]

Read more

Optimal Model Design for Reinforcement Learning

omd JAX code for the paper “Control-Oriented Model-Based Reinforcement Learning with Implicit Differentiation” Summary Model based reinforcement learning typically trains the dynamics and reward functions by minimizing the error of predictions.The error is only a proxy to maximizing the sum of rewards, the ultimate goal of the agent, leading to the objective mismatch.We propose an end-to-end algorithm called Optimal Model Design (OMD) that optimizes the returns directly for model learning.OMD leverages the implicit function theorem to optimize the model parameters […]

Read more
1 613 614 615 616 617 927