A PyTorch Implementation code for developing super fast adversarial training

This is a PyTorch Implementation code for developing super fast adversarial training. This code is combined with below state-of-the-art technologies for accelerating adversarial attacks and defenses with Deep Neural Networks on Volta GPU architecture. Distributed Data Parallel [link] Channel Last Memory Format [link] Mixed Precision Training [link] Mixed Precision + Adversarial Attack (based on torchattacks [link]) Faster Adversarial Training for Large Dataset [link] Fast    

Read more

A simple implementation of Hamiltonian Monte Carlo in JAX

This is a simple implementation of Hamiltonian Monte Carlo in JAX that is vectorized and supports pytree parameters (i.e. tree-like structures). Here’s a minimal example to sample from a distribution: import jax import jax.numpy as jnp from hmc import hmc_sampler # define target distribution def target_log_pdf(params): return jax.scipy.stats.t.logpdf(params, df=1).sum() # run HMC params_init = jnp.zeros(10)    

Read more

Python code for ICLR 2022 spotlight paper EViT: Expediting Vision Transformers via Token Reorganizations

This repository contains PyTorch evaluation code, training code and pretrained EViT models for the ICLR 2022 Spotlight paper: Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizations Youwei Liang, Chongjian Ge, Zhan Tong, Yibing Song, Jue Wang, Pengtao Xie The proposed EViT models obtain competitive tradeoffs in terms of speed / precision: If you use this code for a paper please cite: @inproceedings{liang2022evit, title={Not All Patches are What You    

Read more

A simple MenuBar app that shows the price of 3 cryptocurrencies

A very simple MenuBar app that shows the price of the following cryptocurrencies: Screenshot Goals While this is just a very simple app that displays the price of a set of cryptocurrencies, the goal is to create a more feature rich application that displays chart data for a basket of other cryptocurrencies and potentially also incorporate a news section aswell. References GitHub View Github    

Read more

Breaching privacy in federated learning scenarios for vision and text

This PyTorch framework implements a number of gradient inversion attacks that breach privacy in federated learning scenarios,covering examples with small and large aggregation sizes and examples both vision and text domains. This includes implementations of recent work such as: But also a range of implementations of other attacks from optimization attacks (such as “Inverting Gradients” and “See through Gradients”) to recent analytic and recursive attacks. Jupyter notebook examples for these attacks can be found in the examples/ folder. Overview: This […]

Read more

Gracefully face hCaptcha challenge with Yolov5(ONNX) embedded solution

Introduction Does not rely on any Tampermonkey script. Does not use any third-party anti-captcha services. Just implement some interfaces to make AI vs AI possible. Requirements Python 3.7+ google-chrome Usage Clone the project code in the way you like. Execute the following command in the project root directory. # hcaptcha-challenger pip install -r ./requirements.txt Download Project Dependencies. The implementation includes downloading the YOLOv5 target detection model and detecting google-chrome in the current environment. If google-chrome is missing please follow the […]

Read more

Project management website for CMSC495 built using the Django stack

A minimal project management website for CMSC495 built using the Django stack. Team Lead: @MeyerWilliam Front End: @mosiris Back End: @Justin444 Browser and access Access the website through a modern web browser like Google Chrome or Mozilla Firefox by entering the website url. Account Creation The user will be directed to a login page with a button to create a new account. New users will need to create an account to access website functions.Password complexity is a must on account […]

Read more

Novel role playing game da turfu

Ce README sera la page de garde du projet. Contenu Il contiendra la présentation et le sommaire, les noms, les rôlesIl documentera aussi comment lancer le jeu, l’installer ainsi que quelquesinformations de fonctionnement général montrant le plan du projet et comment lemodifier. Autres Le planning (qui sera rempli au fur et à mesure), le journal des difficultés,des outils utilisés, et de la vision du projet en détail, et le journal (ainsique les fichiers) de test sont dans le dossier portofolio.On […]

Read more

Create HEC tokens in Cribl Stream through the API

This script is intended as an example of how to authenticate in Cribl Stream, and make a simple POST request to add a new HEC token. Usage: py_hec_token_mgr.py [-h] -l http://leader:port [-u USERNAME] -t TOKEN -a {add,modify} [-d DESC] -g GROUP -i INPUT [-p PASSWORD] the following arguments are required: -l/–leader, -t/–token, -a/–action, -g/–group, -i/–input if no password is supplied, you’ll be prompted currently the modify action does nothing Requirements: Tested with python 3 Requires the requests module 2022-02-15 – […]

Read more
1 222 223 224 225 226 927