Python and OpenCV-based scene cut/transition detection program & library

PySceneDetect Video Scene Cut Detection and Analysis Tool. Quick Install: To install PySceneDetect via pip with all dependencies: pip install scenedetect[opencv] For servers, you can use the headless (non-GUI) version of OpenCV by installing scenedetect[opencv-headless]. To enable video splitting support, you will also need to have mkvmerge or ffmpeg installed – see the documentation on Video Splitting Support for details. Requires Python modules click, numpy, OpenCV cv2, and (optional) tqdm for displaying progress. For details, see the dependencies on the […]

Read more

WikiMatrix: Mining 135M Parallel Sentences in 1620 Language Pairs from Wikipedia

Abstract We present an approach based on multilingual sentence embeddings to automatically extract parallel sentences from the content of Wikipedia articles in 96 languages, including several dialects or low-resource languages. We systematically consider all possible language pairs. In total, we are able to extract 135M parallel sentences for 1620 different language pairs, out of which only 34M are aligned with English. This corpus is freely available. To get an indication on the quality of the extracted bitexts, we train neural […]

Read more

Autoregressive Entity Retrieval

To help personalize content, tailor and measure ads, and provide a safer experience, we use cookies. By clicking or navigating the site, you agree to allow our collection of information on and off Facebook through cookies. Learn more, including about available controls: Cookies Policy I Agree  

Read more

Answering Complex Open-Domain Questions with Multi-Hop Dense Retrieval

May 3, 2021 By: Wenhan Xiong, Xiang Lorraine Li, Srinivasan Iyer, Jingfei Du, Patrick Lewis, William Wang, Yashar Mehdad, Wen-tau Yih, Sebastian Riedel, Douwe Kiela, Barlas Oğuz Abstract We propose a simple and efficient multi-hop dense retrieval approach for answering complex open-domain questions, which achieves state-of-the-art performance on two multi-hop datasets, HotpotQA and multi-evidence FEVER. Contrary to previous work, our method does not require access to any corpus-specific information, such as inter-document hyperlinks or human-annotated entity markers, and can be […]

Read more

Natural Language Processing With Python’s NLTK Package

Natural language processing (NLP) is a field that focuses on making natural human language usable by computer programs. NLTK, or Natural Language Toolkit, is a Python package that you can use for NLP. A lot of the data that you could be analyzing is unstructured data and contains human-readable text. Before you can analyze that data programmatically, you first need to preprocess it. In this tutorial, you’ll take your first look at the kinds of text preprocessing tasks you can […]

Read more

A python script and steps to display locations of peers connected to qbittorrent

qbittorrent-peers-location-grafana A python script (along with instructions) to display the locations of all the peers your qBittorrent client is connected to in a Grafana worldmap dashboard. Pre-requisites Steps First step is to create the database which will contain the information about the IP addresses and their corresponding locations. I used this “https://lite.ip2location.com/database/ip-country-region-city-latitude-longitude” since it is free and it had the latitude and longitude information which is enough precision to pipoint a peer on the map. Download the IPV4 CSV file […]

Read more

Learning Deformation Meta-Handles of 3D Meshes with Biharmonic Coordinates

DeepMetaHandles is a shape deformation technique. It learns a set of meta-handles for each given shape. The disentangled meta-handles factorize all the plausible deformations of the shape, while each of them corresponds to an intuitive deformation direction. A new deformation can then be generated by the “linear combination” of the meta-handles. Although the approach is learned in an unsupervised manner, the learned meta-handles possess strong interpretability and consistency. Environment setup Create a conda environment by conda env create -f environment.yml. […]

Read more

Rendering color and depth images for ShapeNet models

Color & Depth Renderer for ShapeNet This library includes the tools for rendering multi-view color and depth images of ShapeNet models. Physically based rendering (PBR) is featured based on blender2.79. Outputs Color image (20 views) Depth image (20 views) Point cloud and normals (Back-projected from color & depth images) Watertight meshes (fused from depth maps) Install We recommend to install this repository with conda. conda env create -f environment.yml conda activate renderer Install Pyfusion by cd ./external/pyfusion mkdir build cd […]

Read more

A toolkit to compress and accelerate deep network models

DA2Lite DA2Lite (Deep Architecture to Lite) is a toolkit to compress and accelerate deep network models. Install git clone https://github.com/da2so/DA2Lite.git You will need a machine with a GPU and CUDA installed.Then, you prepare runtime environment: pip install -r requirements.txt Use Run main.py(DA2Lite) runs with two main configurations like as follows: CUDA_VISIBLE_DEVICES=0 python main.py –train_config_file=./configs/train/cifar10/cifar10/vgg16.yaml –compress_config_file=./configs/compress/tucker.yaml The first one is train_config_file, which indicates training configurations and the other is compress_config_file, which represents compress configurations.The details of available configurations are described in […]

Read more

A command line tool for visualizing CSV/spreadsheet-like data

PerfPlotter Read data from CSV files using pandas and generate interactive plots using bokeh, which can then be embedded into HTML pages and served by server-client applications (or at least allow them to be viewed on a browser). Environment Python 3.8.x macOS 10.15.x Firefox 88.x Setup Clone and cd into the perfplotter directory Install dependencies $ pipenv install –dev –python=/path/to/python3.8 Install pre-commit hooks $ pre-commit install $ pre-commit run –all-files Optional: pre-commit autoupdate Activate virtual environment In the same directory […]

Read more
1 654 655 656 657 658 928