Efficient Vision Transformers with Dynamic Token Sparsification

DynamicViT This repository contains PyTorch implementation for DynamicViT. Created by Yongming Rao, Wenliang Zhao, Benlin Liu, Jiwen Lu, Jie Zhou, Cho-Jui Hsieh Model Zoo We provide our DynamicViT models pretrained on ImageNet: Usage Requirements torch>=1.7.0 torchvision>=0.8.1 timm==0.4.5 Data preparation: download and extract ImageNet images from http://image-net.org/. The directory structure should be │ILSVRC2012/ ├──train/ │ ├── n01440764 │ │ ├── n01440764_10026.JPEG │ │ ├── n01440764_10027.JPEG │ │ ├── …… │ ├── …… ├──val/ │ ├── n01440764 │ │ ├── ILSVRC2012_val_00000293.JPEG │ […]

Read more

A Python software implementation of the Intel 4004 processor

Pyntel4004 A Python software implementation of the Intel 4004 processor. General Information Two pass assembler using the original mnemonics, directives and comments syntax Monitor facility to step through code and examine registers, memory etc Design goals [ ] As much of the internals as possible should be carried out using binary arithmetic and operations. [ ] No 3rd party libraries to be used (i.e. pure Python). [ ] Build a fully-working i4004 opcode emulator. [ ] Build a fully-working assembler […]

Read more

Cryptocurrency Exchange Websocket Data Feed Handler with python

Cryptocurrency Exchange Feed Handler Handles multiple cryptocurrency exchange data feeds and returns normalized and standardized results to client registered callbacks for events like trades, book updates, ticker updates, etc. Utilizes websockets when possible, but can also poll data via REST endpoints if a websocket is not provided. Basic Usage Create a FeedHandler object and add subscriptions. For the various data channels that an exchange supports, you can supply callbacks for data events, or use provided backends (described below) to handle […]

Read more

Upgrade pip packages and automate Python Dependency Management

pipupgrade The missing command for pip. Features Updates system packages and local packages. Discovers packages present within multiple Python Environments. Updates packages mentioned within a requirements.txt file (Also pins up-to-date versions if mentioned). Smart requirements.txt detector. Pipfile support. Detects semantic version to avoid updates that break changes. Also ensures to avoidchild dependencies that break changes. View Dependency Graph. Parallel updates (blazingly fast). Python 2.7+ and Python 3.4+ compatible. Also pip 9+, pip 10+, pip 18+ and pip 19.0.1+ compatible. Automate […]

Read more

An interactive GUI for WhiteboxTools in a Jupyter-based environment

whiteboxgui The whiteboxgui Python package is a Jupyter frontend for WhiteboxTools, an advanced geospatial data analysis platform developed by Prof. John Lindsay (webpage; jblindsay) at the University of Guelph’s Geomorphometry and Hydrogeomatics Research Group. WhiteboxTools can be used to perform common geographical information systems (GIS) analysis operations, such as cost-distance analysis, distance buffering, and raster reclassification. Remote sensing and image processing tasks include image enhancement (e.g. panchromatic sharpening, contrast adjustments), image mosaicing, numerous filtering operations, simple classification (k-means), and common […]

Read more

A simple Python tool to help anyone use Liquidity Pools on the BitShares blockchain

A simple Python tool to help anyone use Liquidity Pools on the BitShares blockchain. First Time Setup Instructions: Environment Setup Before doing anything else, make sure to create a virtual environment.In this case, we are creating an environment named env: python3 -m venv env Activate the newly created environment: source env/bin/activate Installation Method 1: Use pip to download and install from PyPI: python3 -m pip install PoolTool Method 2: Download and install from source: git clone https://github.com/iamredbar/PoolTool cd PoolTool/ python3 […]

Read more

Proxy + analysis toolkit for Second Life compatible virtual worlds

Hippolyzer Hippolyzer is a fork of Linden Lab’s abandoned PyOGP library targeting modern Python 3, with a focus on debugging issues in Second Life-compatible servers and clients. There is a secondary focus on mocking up new features without requiring a modified server or client. Wherever reasonable, readability and testability are prioritized over performance. Almost all code from PyOGP has been either rewritten or replaced. Major changes from upstream include making sure messages always correctly round-trip, and the addition of a […]

Read more

An advanced crypto trading bot written in Python

Jesse Jesse is an advanced crypto trading framework which aims to simplify researching and defining trading strategies. Why Jesse? In short, Jesse is more accurate than other solutions, and way more simple. In fact, it is so simple that in case you already know Python, you can get started today, in matter of minutes, instead of weeks and months. Required Stack Here is the required stack: Python >= 3.6 pip >= 19.3.0 PostgreSQL >= 10 ta-lib >= 0.4 Most of […]

Read more

A 3D Slicer Extension to view data from the flywheel heirarchy

flywheel-connect A 3D Slicer Extension to view, select, and download images from a Flywheel instance to 3D Slicer and storing Slicer outputs back to Flywheel. Flywheel is a comprehensive data management solutions for life sciences and imaging research. More details at https://flywheel.io/. The Flywheel Connect 3D Slicer Extension is now in the 3D Slicer Extension Catalog and available through the 3D Slicer Extensions Manager for direct installation. Usage Instructions Install 3D Slicer and the Flywheel extension as described here. Navigate […]

Read more

A fast and lightweight server-side Web analytics solution

Ballcone Ballcone is a fast and lightweight server-side Web analytics solution. It requires no JavaScript on your website. Screenshots Design Goals Simplicity. Ballcone requires almost zero set-up as it prefers convention over configuration Efficiency. Ballcone performs lightning-fast analytic queries over data thanks to the underlying columnar database Specificity. Ballcone aims at providing visual insights on the HTTP access logs with no bloat Features No JavaScript snippets required GeoIP mapping with the GeoLite2 database Extraction of platform and browser information from […]

Read more
1 611 612 613 614 615 920