All Projects → primitiv → primitiv-python

primitiv / primitiv-python

Licence: Apache-2.0 license
Python binding of primitiv.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to primitiv-python

Bohrium
Automatic parallelization of Python/NumPy, C, and C++ codes on Linux and MacOSX
Stars: ✭ 209 (+1129.41%)
Mutual labels:  numpy, opencl
PyRates
Open-source, graph-based Python code generator and analysis toolbox for dynamical systems (pre-implemented and custom models). Most pre-implemented models belong to the family of neural population models.
Stars: ✭ 33 (+94.12%)
Mutual labels:  numpy
khiva-python
Python binding for Khiva library.
Stars: ✭ 44 (+158.82%)
Mutual labels:  opencl
Information-Retrieval
Information Retrieval algorithms developed in python. To follow the blog posts, click on the link:
Stars: ✭ 103 (+505.88%)
Mutual labels:  numpy
ml-workflow-automation
Python Machine Learning (ML) project that demonstrates the archetypal ML workflow within a Jupyter notebook, with automated model deployment as a RESTful service on Kubernetes.
Stars: ✭ 44 (+158.82%)
Mutual labels:  numpy
vidpipe
Video data processing pipeline using OpenCV
Stars: ✭ 33 (+94.12%)
Mutual labels:  numpy
gr-clenabled
OpenCL/GPU-enabled common blocks for GNURadio
Stars: ✭ 63 (+270.59%)
Mutual labels:  opencl
SNNs-In-Tensorflow
Implementation of a Spiking Neural Network in Tensorflow.
Stars: ✭ 24 (+41.18%)
Mutual labels:  numpy
wavio
A Python module for reading and writing WAV files using numpy arrays.
Stars: ✭ 119 (+600%)
Mutual labels:  numpy
Python-for-data-analysis
No description or website provided.
Stars: ✭ 18 (+5.88%)
Mutual labels:  numpy
Object-sorting-using-Robotic-arm-and-Image-processing
Sorting objects of different colors using robotic arm and using computer vision (image processing).
Stars: ✭ 21 (+23.53%)
Mutual labels:  numpy
opencl-ruby
OpenCL bindings for Ruby
Stars: ✭ 38 (+123.53%)
Mutual labels:  opencl
python-sharearray
Share numpy arrays across processes efficiently ideal for large, read-only datasets
Stars: ✭ 32 (+88.24%)
Mutual labels:  numpy
equilib
🌎→🗾Equirectangular (360/panoramic) image processing library for Python with minimal dependencies only using Numpy and PyTorch
Stars: ✭ 43 (+152.94%)
Mutual labels:  numpy
rouziclib
This is my personal library of code that is common to my different projects (Photosounder, SplineEQ, Spiral and others)
Stars: ✭ 38 (+123.53%)
Mutual labels:  opencl
gau2grid
Fast computation of a gaussian and its derivative on a grid.
Stars: ✭ 23 (+35.29%)
Mutual labels:  numpy
sycl-bench
SYCL Benchmark Suite
Stars: ✭ 30 (+76.47%)
Mutual labels:  opencl
FAST-Pathology
⚡ Open-source software for deep learning-based digital pathology
Stars: ✭ 54 (+217.65%)
Mutual labels:  opencl
dsp-theory
Theory of digital signal processing (DSP): signals, filtration (IIR, FIR, CIC, MAF), transforms (FFT, DFT, Hilbert, Z-transform) etc.
Stars: ✭ 643 (+3682.35%)
Mutual labels:  numpy
pystella
A code generator for grid-based PDE solving on CPUs and GPUs
Stars: ✭ 18 (+5.88%)
Mutual labels:  opencl

python backend os license Build Status (master) Build Status (develop) PyPI version

Python Frontend of primitiv

This frontend is compatible with primitiv core library 0.4.x.

Dependencies

  • Python3 (3.5 or later)
  • NumPy (1.11.0 or later)
  • Cython (0.27 or later)
  • CMake (3.1.0 or later)
  • scikit-build (0.6.1 or later)
  • (optional) CUDA (7.5 or later)
  • (optional) Eigen (Eigen 3.3.0 or later)
  • (optional) OpenCL (1.2 or later) and OpenCL C++ binding v2

Getting Started

Using pip

$ pip3 install numpy cython cmake scikit-build [--user]
$ pip3 install primitiv [--user]
                        [--global-option --enable-cuda]
                        [--global-option --enable-opencl]

To enable CUDA and/or OpenCL support, specify --enable-cuda or --enable-opencl with --global-option flag.

--enable-eigen flag that enables Eigen backend is added by default in the package contained in PyPI. To disable the Eigen backend, use --disable-eigen flag. Note that Eigen is bundled with the package contained in PyPI.

We are providing only a source pacakge for now, and pip command downloads the source package and builds it before installing. This is mainly because of keeping compatibility with the manylinux1 standard described in PEP 513 while maintaining supports of non-standard backends such as CUDA/OpenCL.

Installing from source

$ git clone https://github.com/primitiv/primitiv-python
$ cd primitiv-python
$ git submodule update --init
$ pip3 install -r requirements.txt
$ python3 ./setup.py build [--enable-cuda] [--enable-eigen] [--enable-opencl]
$ python3 ./setup.py test [--enable-cuda] [--enable-eigen] [--enable-opencl] # (optional)
$ python3 ./setup.py install [--user] [--enable-cuda] [--enable-eigen] [--enable-opencl]

primitiv-python repository contains the core library as a git submodule. Note that you have to update the working tree of the core library manually by git submodule update after you run git pull or git checkout commands.

Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].