An all-MLP replacement for Transformers in Pytorch

gMLP – Pytorch Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch Install $ pip install g-mlp-pytorch Usage For masked language modelling import torch from g_mlp_pytorch import gMLP model = gMLP( num_tokens = 20000, dim = 512, depth = 6, seq_len = 256 ) x = torch.randint(0, 20000, (1, 256)) logits = model(x) # (1, 256, 20000) For image classification import torch from g_mlp_pytorch import gMLPVision model = gMLPVision( image_size = 256, patch_size = 16, num_classes = 1000, dim […]

Read more

Contact and Human Dynamics from Monocular Video

This is the official implementation for the ECCV 2020 spotlight paper by Davis Rempe, Leonidas J. Guibas, Aaron Hertzmann, Bryan Russell, Ruben Villegas, and Jimei Yang. For more information, see the project webpage. Environment Setup Note: the code in this repo has only been tested on Ubuntu 16.04. First create and activate a virtual environment to install dependencies for the code in this repo. For example with conda: conda create -n contact_dynamics_env python=3.6 conda activate contact_dynamics_env pip install -r requirements.txt […]

Read more

A collection of pretrained models in Flax

Flax Models The goal of this project is to make current deep learning models more easily available for the awesome Jax/Flax ecosystem. Models Example Notebooks to play with on Colab Installation You will need Python 3.7 or later. For GPU usage, follow the Jax installation with CUDA. Then install: > pip install –upgrade git+https://github.com/matthias-wright/flaxmodels.git For CPU-only you can skip step 1. Documentation The documentation for the models can be found here. Checkpoints The checkpoints are taken from the repositories that […]

Read more

An iNaturalist API client for python

pyinaturalist Pyinaturalist is an iNaturalist API client for python. Features iNaturalist offers a rich source of biodiversity data, and an extensive API to interact with it. If you want to make use of these data in python, then pyinaturalist can help! It adds a number of python-specific conveniences, including: Requests: Simplified usage with python types and data structures Responses: Type conversions to things you would expect in python Server-Friendly Usage: Client-side rate-limiting that follows the API Recommended Practices Typing: Complete […]

Read more

Command-line tool for managing Python virtual environments

vien VIEN is a command-line tool for managing Python Virtual Environments. It provides one-line shortcuts for: creating and deleting environments running commands inside environments switching between environments in bash shell Switching between projects should be simple. Creating environments for theprojects should be simple too. Ideally it’s a short command that I would type even half asleep. Something like $ vien create $ vien shell Not like $ python3 -m venv ./where/to/put/this/.venv $ source /i/lost/that/.venv/bin/activate Ready-made solutions did not help. pipenv […]

Read more

An OSINT tool written in python for finding profiles by username

NExfil NExfil is an OSINT tool written in python for finding profiles by username. The provided usernames are checked on over 350 websites within few seconds. The goal behind this tool was to get results quickly while maintaining low amounts of false positives. If you like my work please star this project 😀 If you find any errors or false positives or if you want to suggest more websites feel free to open an issue. Features Fast, lookup can complete […]

Read more

A social networking service scraper in Python

snscrape is a scraper for social networking services (SNS). It scrapes things like user profiles, hashtags, or searches and returns the discovered items, e.g. the relevant posts. The following services are currently supported: Facebook: user profiles, groups, and communities (aka visitor posts) Instagram: user profiles, hashtags, and locations Reddit: users, subreddits, and searches (via Pushshift) Telegram: channels Twitter: users, user profiles, hashtags, searches, threads, and list posts VKontakte: user profiles Weibo (Sina Weibo): user profiles Please note that some features […]

Read more

A library for building CLI applications Based on Python type hints

typer Typer, build great CLIs. Easy to code. Based on Python type hints. Typer is a library for building CLI applications that users will love using and developers will love creating. Based on Python 3.6+ type hints. The key features are: Intuitive to write: Great editor support. Completion everywhere. Less time debugging. Designed to be easy to use and learn. Less time reading docs. Easy to use: It’s easy to use for the final users. Automatic help, and automatic completion […]

Read more

Machine Translation Weekly 80: Deontological ethics and MT

At this year’s NAACL, there will be a paper that tries to view NLP from the perspective of deontological ethics and promotes an unusual and very insightful view on NLP ethics. The title of the paper is Case Study: Deontological Ethics in NLP, it was written by authors from CMU and discusses several NLP applications from the perspective of deontological ethics. Usually, ethics in NLP is discussed from the consequentialist perspective. In this view, the morality of an action is […]

Read more

A deep learning library for video understanding research

PyTorchVideo PyTorchVideo is a deeplearning library with a focus on video understanding work. PytorchVideo provides resusable, modular and efficient components needed to accelerate the video understanding research. PyTorchVideo is developed using PyTorch and supports different deeplearning video components like video models, video datasets, and video-specific transforms. A PyTorchVideo-accelerated X3D model running on a Samsung Galaxy S10 phone. The model runs ~8x faster than real time, requiring roughly 130 ms to process one second of video. A PyTorchVideo-based SlowFast model performing […]

Read more
1 649 650 651 652 653 939