scAR (single-cell Ambient Remover) is a package for data denoising in single-cell omics

scAR (single cell Ambient Remover) is a package for denoising multiple single cell omics data. It can be used for multiple tasks, such as, sgRNA assignment for scCRISPRseq, identity barcode assignment for cell indexing, protein denoising for CITE-seq, mRNA denoising for scRNAseq, and etc… It is built using probabilistic deep learning, illustrated as follows: Installation Clone this repository, $ git clone https://github.com/CaibinSh/scAR.git To install the dependencies, create a conda environment:

Read more

Handy python interfaces to various lab test equipment

Florian DupeyronOctober 2021-January 2022 Making this work on linux Copy the udev rules : $ sudo cp udev/*.rules /etc/udev/rules.d $ sudo udevadm control –reload $ sudo udevadm trigger For usbtmc devices, create the usbtmc group and add your user to it: sudo groupadd usbtmc sudo usermod -aG usbtmc $USER Restart your session Initialize a python virtual environment inside the directory (you may need to install a distribution package): $ python3    

Read more

Robust Learning Meets Generative Models: Can Proxy Distributions Improve Adversarial Robustness?

Pdf: Arxiv, Openreview Code for our ICLR 2022 paper where we show that synthetic data from diffusion models can provide a tremendous boost in the performance of robust training. We also provide synthetic data used in the paper for all five datasets, namely CIFAR-10, CIFAR-100, ImageNet, CelebA, and AFHQ. We also provide synthetic data from seven different generative models for CIFAR-10, which was used to analyze impact of different generative models in section 3.2. Despite being minimalistic, this codebase also […]

Read more

Drone Verification using SiamRPN Tracker

In this work, we evaluated the authenticity of drone in real time scenario using computer vision based deep tracker. More information about this work is in this file Python version 3.7 has been used. Following installations are required for working code Install the below libraries inside your conda environment conda install pytorch torchvision -c pytorch pip install opencv-python imutils pyyaml yacs tqdm colorama matplotlib cython tensorboardX For using the code on other platforms except OSX, comment the following line from […]

Read more

Python script to check if your kernel is vulnerable to Dirty pipe CVE-2022-0847

Python script to check if your kernel is vulnerable to Dirty pipe CVE-2022-0847 You can execute directly the script on your system and it will find your kernel version But you can execute the script with as argument a kernel version to check (3 digit kernel version, like 5.10.103) ./check-dirty-pipe.py 5.10.103 and it will print if this version is vulnerable or not:Is your system vulnerable to CVE: False GitHub View Github    

Read more

Guessing passwords with Generative Flows

PassFlow exploits the properties of Generative Flows to perform password guessing and shows very promising results, being competetive against GAN-based approaches [1, 2]. Usage To get the dataset, run curl -L –create-dirs -o data/train.txt https://github.com/d4ichi/PassGAN/releases/download/data/rockyou-train.txt curl -L –create-dirs -o data/test.txt https://github.com/d4ichi/PassGAN/releases/download/data/rockyou-test.txt and then run pip install tqdm torch==1.7.1+cu110 -f https://download.pytorch.org/whl/torch_stable.html to install the needed dependencies. We tested using PyTorch 1.7.1 and CUDA 11.0. Once a model is trained, you can

Read more

Implementation of Trajectory Transformer with attention caching and batched beam search

This is reimplementation of Trajectory Transformer, introduced in Offline Reinforcement Learningas One Big Sequence Modeling Problem paper. The original implementation has few problems with inference speed, namely quadratic attention duringinference and sequential rollouts. The former slows down planning a lot, while the latter does notallow to do rollouts in parallel and utilize GPU to the full. Still, even after all changes, it is not that fast compared to traditional methods such as PPO or SAC/DDPG.However, the gains are huge, what […]

Read more

Just a cli to scrape youtube videos and play it in mpv

What can it do as of now ? It can query the input entered by user on youtube and get the first matching result, and play it in the video player. Let the user choose the video by giving them the first 10 or so search results. Allow users to set the resolution as per their preference. Demo: Requirements: The following packages need to be installed: beautifulsoup4==4.10.0 certifi==2021.10.8 charset-normalizer==2.0.12 idna==3.3 lxml==4.8.0 requests==2.27.1 soupsieve==2.3.1 urllib3==1.26.8 To install the above packages, change […]

Read more

Discord Remote Administration Tool fully written in Python3

Discord Remote Administration Tool fully written in Python3. This is a RAT controlled over Discord with over 20 post exploitation modules. not owned by me, was just looking for the funni code, enjoy I guess <3 https://github.com/moom825/Discord-RAThttps://github.com/Sp00p64/DiscordRAT thanks to moom825 for allowing me to find this and Sp00p64 for creating this master piece <3 Disclaimer: This tool is for educational use only, the author will not be held responsible for any misuse of this tool. Setup Guide: You will first […]

Read more
1 232 233 234 235 236 978