Beyond Masking: Demystifying Token-Based Pre-Training for Vision Transformers

beyond masking Beyond Masking: Demystifying Token-Based Pre-Training for Vision Transformers The code is coming Figure 1: Pipeline of token-based pre-training. Figure 2: The visualization of the proposed 5 tasks. main results All the results are pre-trained for 300 epochs using Vit-base as default. zoomed-in zoomed-out distorted blurred de-colorized finetune 82.7 82.5 82.1 81.8 81.4 zoomed-in (a) mask (m) (a)+(m) finetune 82.7 82.9 83.2 We note that the integrated version dose not require    

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

Token Logger with python

Oxy Token Stealer Features Grabs discord tokens Grabs chrome passwords Grabs edge passwords Nothing else, I don’t feel like releasing full on malware to people (and i barely know python) How to use 1 – Download python 3.10.x https://www.python.org2 – Download the python code and change the settings3 – Open command prompt in the directory with the file4 – Type “pip install pyinstaller && pyinstaller –onefile –noconsole filename.py”5 – Enjoy! Info Don’t use this code for any malicious use or […]

Read more

Get your Pixiv token (for running upbit/pixivpy)

Install ❭ pip install gppt Run Note: In advance, please setup google-chrome-stable + selenium + webdriver On Ubuntu, my setup script is available ❭ ./setup.sh From Library from gppt import GetPixivToken g = GetPixivToken() res = g.login(headless=True, user=”…”, pass_=”…”) { “access_token”: “***”, “expires_in”: 3600, “refresh_token”: “***”, “scope”: “”, “token_type”: “bearer”, “user”: { “account”: “***”, “id”: “***”, “is_mail_authorized”: , “is_premium”: , “mail_address”: “***@***”, “name”: “***”, “profile_image_urls”: { “px_16x16”: “https://s.pximg.net/common/images/no_profile_ss.png”, “px_170x170”: “https://s.pximg.net/common/images/no_profile.png”, “px_50x50”: “https://s.pximg.net/common/images/no_profile_s.png” }, “require_policy_agreement”: , “x_restrict”: 2 } } From […]

Read more