A Pytree Module system for Deep Learning in JAX

A Pytree-based Module system for Deep Learning in JAX Intuitive: Modules are simple Python objects that respect Object-Oriented semantics and should make PyTorch users feel at home, with no need for separate dictionary structures or complex apply methods. Pytree-based:  Modules are registered as JAX PyTrees, enabling their use with any JAX function. No need for specialized versions of jit, grad, vmap, etc. Expressive: In Treex you use type annotations to define what the different parts of your module represent (submodules, […]

Read more

YOLOv5-Lite:lighter, faster and easier to deploy

YOLOv5-Lite: lighter, faster and easier to deploy. Evolved from yolov5 and the size of model is only 1.7M (int8) and 3.3M (fp16). It can reach 10+ FPS on the Raspberry Pi 4B when the input size is 320×320~ Perform a series of ablation experiments on yolov5 to make it lighter (smaller Flops, lower memory, and fewer parameters) and faster (add shuffle channel, yolov5 head for channel reduce. It can infer at least 10+ FPS On the Raspberry Pi 4B when […]

Read more

A script to generate a profile picture and a banner that show the same image on Discord

A script to generate a profile picture and a banner that show the same image on Discord. Installation / Update With pip (recommended) pip install –upgrade git+https://github.com/victorbnl/discord-pfp-banner-generator.git And make sure your python scripts directory[1] is in your path (pip should warn you if it’s not anyway). Without pip Clone this repo, install the dependencies with pip install -r requirements.txt, and run the following commands in the repo directory, replacing the command discord_pfp_banner_generator of the usage section by python3 discord_pfp_banner_generator. Usage […]

Read more

Home Assistant integration for MyEnergi devices

myenergi custom component for Home Assistant This is a very early release, will add more documentations soon! This component will set up the following platforms. HACS Installation Add this repository to “Custom repositories” Add and search for myenergi in HACS Install Manual Installation Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml). If you do not have a custom_components directory (folder) there, you need to create it. In the custom_components directory (folder) […]

Read more

A way to work on Pythonocc with a node editor, Ryven in that case

Pythonocc nodes for Ryven Here a way to work on Pythonocc with a node editor, Ryven in that case. To get it functional you will have to execute Ryven in an environment where pythonocc is installed. Install Ryven: https://github.com/leon-thomm/Ryven Install Pythonocc : https://github.com/tpaviot/pythonocc-core You just have to import the Nodes.py file in Ryven, then all nodes are available under the right-click of the mouse. Here a small example of a definition : https://www.youtube.com/watch?v=lUNYstrfvmg You can load this project saved in […]

Read more

CAPRI: Context-Aware Interpretable Point-of-Interest Recommendation Framework

This repository contains a framework for Recommender Systems (RecSys), allowing users to choose a dataset on a model based on their demand. CAPRI Overview ☑️ Prerequisites You will need below libraries to be installed before running the application: Python >= 3.4 NumPy >= 1.19 SciPy >= 1.6 PyInquirer >= 1.0.3 For a simple solution, you can simply run the below command in the root directory: pip install -r prerequisites.txt 🚀 Launch the Application Start the project by running the main.py […]

Read more

PyPika-ORM – ORM for PyPika SQL Query Builder

The package gives you ORM for PyPika with asycio support for a range of databases (SQLite, PostgreSQL, MySQL). Warning The project is in early pre-alpha state and not ready for production Requirements Installation pypyka-orm should be installed using pip: $ pip install pypika-orm You can install the required database drivers with: $ pip install pypika-orm[sqlite] $ pip install pypika-orm[postgresql] $ pip install pypika-orm[mysql] Usage from pypika_orm import Model, fields class Role(Model): id = fields.Auto() name = fields.Varchar(max_length=100, default=’user’) class User(Model): […]

Read more
1 481 482 483 484 485 928