Search Telegram chat history even if you’re using CJK

A telegram Bot that can search for CJK and other languages. Telegram has bad search experience for CJK languages because those languages are not separated by spacing. Bug issues were submitted years ago but never fixed. I’m not planning to be sitting ducks, so I create a bot that can search for CJK languages. support text message support caption inside photo and document support chat username Telegram allows multiple sessions, maximum is 10 clients. We create a hidden session We […]

Read more

An open source framework for programming photonic quantum computers

Through a simple object-oriented python API, Perceval provides tools for building a circuit with linear optics components, defining single-photon source, manipulating Fock states, running simulation, reproducing published experimental papers and experiment new generation of quantum algorithms. It aims to be a companion tool for developing photonics circuits while simulating on their design, modeling their ideal and real-life behaviour, and proposing a normalized interface to control them through the concept of backends. Perceval has been developed as a complete toolkit for […]

Read more

CLOOB Conditioned Latent Diffusion training and inference code

Introduction This repository contains the training code for CLOOB conditioned latent diffusion. CCLD is similar in approach to the CLIP conditioned diffusion trained by Katherine Crowson with a few key differences: The use of latent diffusion cuts training costs by something like a factor of ten, allowing a high quality 1.2 billion parameter model to converge in as few as 5 days on a single 8x A100 pod. CLOOB conditioning can take advantage of CLOOB’s unified latent space. CLOOB text […]

Read more

Python version of PlaceNL’s headless bot with automatic access token refresh

This headless Python bot will automatically login to reddit, obtain access tokens (and refreshes them when they expire), obtain orders from the C&C server and automatically place pixels at the desired locations. Requirements Python >= 3.8 NumPy Matplotlib Rich aiohttp tomli Installation & updating to a new version pip install –force git+https://github.com/PlaceNL/rPlace2022.git Docker image For people experienced with Docker, there’s also a docker image you can run: docker run -t –pull=always –restart unless-stopped ghcr.io/placenl/placenl-python -u ‘USERNAME’ ‘PASSWORD’ Usage Linux / […]

Read more

An extremely simple python program that creates reddit accounts

(Note: it still needs the user to do the captcha) Uses geckodriver (firefox) and HTTPS proxies How to use Download it/clone repo extract file to a spare folder open said folder and open a CMD in it type pip3 install -r requirements.txt and click enter add HTTPS proxies to proxy.txt open creator.py in a text editor/notepad and change your default email and default password. Save the file and then type in the command line py creator.py or python3 creator.py. TODO: […]

Read more

Implementation of the specific Transformer architecture from PaLM – Scaling Language Modeling with Pathways

PaLM – Pytorch Implementation of the specific Transformer architecture from PaLM – Scaling Language Modeling with Pathways, in less than 200 lines of code. This model is pretty much SOTA on everything language. It obviously will not scale, but it is just for educational purposes. To elucidate the public how simple it all really is. Install $ pip install PaLM-pytorch Usage import torch    

Read more

Build a Site Connectivity Checker in Python

Building a site connectivity checker in Python is an interesting project to level up your skills. With this project, you’ll integrate knowledge related to handling HTTP requests, creating command-line interfaces (CLI), and organizing your application’s code using common Python project layout practices. By building this project, you’ll learn how Python’s asynchronous features can help you deal with multiple HTTP requests efficiently. In this tutorial, you’ll learn how to: Create command-line interfaces (CLI) using Python’s argparse Check if a website is […]

Read more

A contrastive learning based semi-supervised segmentation network for medical image segmentation

A contrastive learning based semi-supervised segmentation network for medical image segmentation This repository contains the implementation of a novel contrastive learning based semi-segmentation networks to segment the surgical tools. Fig. 1. The architecture of Min-Max Similarity. 🔥 NEWS 🔥 The full paper is available: Min-Max Similarity Environment conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge conda install opencv-python pillow numpy matplotlib git clone https://github.com/AngeLouCN/Min_Max_Similarity Data Preparation We use three dataset to    

Read more

A skeleton action recognition toolbox

PYSKL is a toolbox focusing on action recognition based on SKeLeton data with PYTorch. Various algorithms will be supported for skeleton-based action recognition. We build this project based on the OpenSource Project MMAction2. This repo is the official implementation of PoseConv3D and STGCN++. Skeleton-base Action Recognition Results on NTU-RGB+D-120 Supported Algorithms Installation git clone https://github.com/kennymckormick/pyskl.git cd pyskl pip install -r requirements.txt pip install -e . Data Preparation For data pre-processing, we estimate 2D skeletons with a two-stage pose estimator   […]

Read more

Program that makes the daily searches for PC and Mobile for now

Program that makes the daily searches for PC and Mobile using Python and Selenium. The points you can win depends on the level of the account. First of all, you need to login to your account on Edge. The program uses the browser data to prevent the saving of credentials and avoid logging every time the program executes. Second, install the required dependencies: pip install -r requirements.txt & pip install -r requirements.txt Run the program and it automatically starts Edge […]

Read more
1 161 162 163 164 165 914