A telegram bot hosted by a Raspberry Pi equipped with a temperature and humidity sensor

This is a telegram bot hosted by a Raspberry Pi equipped with a temperature and humidity sensor. The bot is capable of sending plots and readings. Structure This project is composed of 3 main files: bot.py is used to host the telegram bot. graph.py contains the Graph class, used to make graphs. sensor.py contains the TemperatureSensor class, used to write and read from the sqlite3 database, as well as the function that reads the temperature and humidity values from the […]

Read more

Released code for Causal Attention for Unbiased Visual Recognition

This repo contains the codes of training our CaaM on NICO/ImageNet9 dataset. Due to my recent limited bandwidth, this codebase is still messy, which will be further refined and checked recently. 0. Bibtex If you find our codes helpful, please cite our paper: @inproceedings{wang2021causal, title={Causal Attention for Unbiased Visual Recognition}, author={Wang, Tan and Zhou, Chang and Sun, Qianru and Zhang, Hanwang}, booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)}, year={2021} } 1. Preparation Installation: Python3.6, Pytorch1.6, tensorboard, timm(0.3.4), […]

Read more

Edge-oriented Convolution Block for Real-time Super Resolution on Mobile Devices

Edge-oriented Convolution Block for Real-time Super Resolution on Mobile DevicesXindong Zhang, Hui Zeng, Lei ZhangACM Multimedia 2021 Codes An older version implemented based on EDSR is place on /legacy folder. For more details, please refer to /legacy/README.md. The following is the lighten version implemented by us. Dependencies & Installation Please refer to the following simple steps for installation. git clone https://github.com/xindongzhang/ECBSR.git cd ECBSR pip install -r requirements.txt Training and benchmarking data can be downloaded from DIV2K and benchmark, respectively. Thanks […]

Read more

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
1 40 41 42 43 44 48