ZeroGen: Efficient Zero-shot Learning via Dataset Generation

This repository contains the code for our paper “ZeroGen: Efficient Zero-shot Learning via Dataset Generation”.Our implementation is built on the source code from dino. Thanks for their work. If you use this code, please cite our paper: @article{ye2022zerogen, title={ZeroGen: Efficient Zero-shot Learning via Dataset Generation}, author={Jiacheng Ye and Jiahui Gao and Qintong Li and Hang Xu and Jiangtao Feng and Zhiyong Wu and Tao Yu and Lingpeng Kong}, year={2022}, eprint={2202.07922}, archivePrefix={arXiv}, primaryClass={cs.CL} } Setup All requirements for ZEROGEN can be […]

Read more

OpenMMLab Rotated Object Detection Benchmark

Introduction English | 简体中文 MMRotate is an open-source toolbox for rotated object detection based on PyTorch. It is a part of the OpenMMLab project. The master branch works with PyTorch 1.6+. video.MP4 Major Features Support multiple angle representations MMRotate provides three mainstream angle representations to meet different paper settings. Modular Design We decompose the rotated object detection framework into different components, which makes it much easy and flexible to build a new model by combining different modules. Strong baseline and […]

Read more

Async version of python’s timeit

Replica of default python timeit module with small changes to allow async functions and await keyword. All CLI options should work as same from the original module.Taken from this exact commit. Example usage $python timeit.py -n 5 -r 5 -s “import asyncio” ‘await asyncio.sleep(2)’ 5 loops, best of 5: 2 sec per loop Warning This is not extensively tested. Also unsure if timeit can be reliably used for async code. License All original python library code is under PSF’s original […]

Read more

Python Kafka reset consumergroup offset example

This is a simple example of how to reset consumergroup offset for a given topic without creating new unique consumergroup names. Requirements Python 3.10 pipenv docker Setup description We will use spotify/kafka for quickly spinning up a kafka broker on localhost:9092. We now have two main Python scripts. A producer that will produce 10 new messages on the same topic with a random UUID as payload and a consumer with auto_commit disabled, that will always reset the offset for a […]

Read more

HG002 QC Snakemake

To Run Resources and data specified within snakefile (hg002QC.smk) for simplicity. Tested with snakemake v6.15.3. Warning: Several steps of this workflow require minimum coverage. It’s recommended that this workflow not be run when yield in base pairs is insufficient to produceat least 15X coverage (i.e. yield/3099922541 >= 15x). # clone repo git clone –recursive https://github.com/PacificBiosciences/pb-human-wgs-workflow-snakemake.git workflow # make necessary directories mkdir cluster_logs # create conda environment conda env create –file workflow/environment.yaml # activate conda environment conda activate pb-human-wgs-workflow # submit […]

Read more

Analysis of voices based on the Mel-frequency band

Analysis of voices based on the Mel-frequency band.Goal: Identification of voices speaking (diarization) and calculation of speech partition (in %). Methodology: Collect voice data Sample audio data of x speakers that talk y times to represent a round of people talking Annotate samples with labels and merge audio file Create train & test split of samples Train unsupervised clustering module to detect number of people Train supervised RNN classifier to determine who is speaking at time x Preprocessing Convert files […]

Read more

HackZ Token Grabber V2

HackZ-Token-Grabber-V2 was made by Love ❌ code ✅ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ 🌟Star This Repository If You Liked HackZ Token Grabber V2! Installation upon running the file you will get the following sent to your webhook: Username ComputerName IP City Region Country Google Maps Location Screenshot of their pc All Their Valid Discord Tokens (bypasses betterdiscord’s anti-token-grab-protector) Discord 2fa codes (if they have 2fa enabled ofc) Password For Discord (You get Their Password if They Update it) Their Whole Credit Card (if They Put […]

Read more

Pglive package adds support for thread-safe live plotting to pyqtgraph

Pglive package adds support for thread-safe live plotting to pyqtgraph.It supports PyQt5 and PyQt6. By default, pyqtgraph doesn’t support live plotting.Aim of this package is to provide easy implementation of Line, Scatter and Bar Live plot.Every plot is connected with it’s DataConnector, which sole purpose is to consume data points and manage data re-plotting.DataConnector interface provides Pause and Resume method, update rate and maximum number of plotted points.Each time data point is collected, call DataConnector.cb_set_data or DataConnector.cb_append_data_point callback.That’s all You […]

Read more

Contains all the components necessary to run a DC finals (attack-defense CTF) game from OOO

All the components necessary to run a game of the OOO DC CTF finals. Authors: adamd, hacopo, Erik Trickel, Zardus, and bboe Design Philosophy This repo contains all the game components necessary to run an Attack-Defense CTF that OOO used from 2018–2021. The design is based on adamd’s experience building the ictf-framework. There are fundamental tenenats that we try to follow in the design of the system: Spoke component model The communication design of the components in the system (which […]

Read more
1 208 209 210 211 212 915