Vision Transformer Slimming: Multi-Dimension Searching in Continuous Optimization Space

This is the official repository to the CVPR 2022 paper “Vision Transformer Slimming: Multi-Dimension Searching in Continuous Optimization Space” This repo is based on the training code in Deit and the tools in timm. Getting Started You will need Python 3.8 and the packages specified in requirements.txt. We recommend setting up a virtual environment with pip and installing the packages there. Install packages with: $ pip install -r requirements.txt Data preparation The layout of Imagenet data: /path/to/imagenet/ train/ class1/ img1.jpeg […]

Read more

It’s like Shape Editor in Maya but works with skeletons (transforms)

What is Skeleposer? Briefly, it’s like Shape Editor in Maya, but works with transforms and joints. It can be used to make complex facial rigs based on joints. It’s especially good for game engines and realtime graphics. Basic workflow You create skeleposer node, make joints, add them to skeleposer and then work with poses. Then you connect controls to the poses and that’s done! In practice, you work with skinCluster and poses at the same time. Features Skeleposer supports a […]

Read more

Script to generate markdown of API endpoints which then can be used to produce visual mindmap

Script to generate markdown of API endpoints which then can be used to produce visual mindmap to give a nice overview of the target. Supports txt as well as Burp xml as input. Why? After watching the bug bounty space develop and grow from the side I never noticed any such tool that visualizes the API by its endpoints and makes the researchers life easier to for example document APIs. Recently when I confronted a domain which had multiple big […]

Read more

Check if you have training samples in your test set

Did you manage to spill samples from your train set to your test set? from did_it_spill import check_spill spills = check_spill(train_loader, test_loader) print(f”You have {len(spills)} spills in your test set!”) The library computes hashes of your data to determine if you have samples spilled over from your train set to test set. Currently only for PyTorch. Installation Outputs Function outputs a list of tuples. Each tuple corresponds to a leak. The first index is where in the first loader the […]

Read more

Python scripts for performing 6D pose estimation and shape reconstruction using the CenterSnap model in ONNX

Python scripts for performing 6D pose estimation and shape reconstruction using the CenterSnap model in ONNX The original model has not been officially released, therefore, there might be changes to the official model later on. The examples seem to not properly work when using a camera other than the one in the original dataset. This is probably due to an implementation mistake on this repository, if you find the issue, please submit an issue or PR. The model only works […]

Read more

Smoothing Matters: Momentum Transformer for Domain Adaptive Semantic Segmentation

This repo contains the supported code and configuration files to reproduce semantic segmentaion results of TransDA. Paper Smoothing Matters: Momentum Transformer for Domain Adaptive Semantic Segmentation Abstract After the great success of Vision Transformer variants (ViTs) in computer vision, it has also demonstrated great potential in domain adaptive semantic segmentation. Unfortunately, straightforwardly applying local ViTs in domain adaptive semantic segmentation does not bring in expected improvement. We find that the pitfall of local ViTs is due to the severe high-frequency […]

Read more

Convert ISOs and archives into CD CHD for emulation

Convert ISOs and archives into CD CHD for emulation. If you use RetroArch or possibly any emulator that supports CHD files, then you might want to convert your ISO and CUE+BIN files to it. It is a compressed single file format. The helper tool chdman from the MAME tools can do that. And often the files are in archives, so they need to be extracted first in a temporary folder, which 7z does. No need for manual extraction, this script […]

Read more

Practice exercises in pattern recognition, ideal for beginner and intermediate programmers

Practice exercises in pattern recognition, ideal for beginner and intermediate programmers. This uses the patterns at https://www.visualpatterns.org/ by Fawn Nguyen. The site and this module are licensed under a Creative Commons Attribution license. The patterns are not in order of difficulty. Many are simple, some are incredibly hard. THIS MODULE IS CURRENTLY UNDER CONSTRUCTION AND NOT WORKING YET. Installation To install with pip, from the Command Prompt/terminal run: python -m pip install programmedpatterns Contribute Currently a lot of basic programming […]

Read more
1 226 227 228 229 230 979