shapelets / khiva-python Goto Github PK
View Code? Open in Web Editor NEWPython binding for Khiva library.
Home Page: https://khiva-python.readthedocs.io/
License: Mozilla Public License 2.0
Python binding for Khiva library.
Home Page: https://khiva-python.readthedocs.io/
License: Mozilla Public License 2.0
Describe the bug
I get a access violation whenever I use khiva python lib
To Reproduce
Run a simple program like:
from khiva.library import *
set_backend(KHIVABackend.KHIVA_BACKEND_OPENCL)
set_device(0)
from khiva.array import *
a = Array([1, 2, 3, 4, 5, 6, 7, 8])
a.display()
Expected behavior
Application should run without exceptions
Screenshots
(base) C:\Progetti\Lab\Khiva\MyPythonSamples\HelloKhiva>python main.py
array
[8 1 1 1]
1.0000
2.0000
3.0000
4.0000
5.0000
6.0000
7.0000
8.0000
Traceback (most recent call last):
File "main.py", line 7, in <module>
a.display()
File "C:\Anaconda3\lib\site-packages\khiva\array.py", line 323, in display
KhivaLibrary().c_khiva_library.display(ctypes.pointer(self.arr_reference))
OSError: exception: access violation writing 0x00007FFE94CB180A
Environment information:
Describe the bug
Khiva Python Bindings not passing all unit tests. Problems include seg fault or is not able to find required library in khiva function call.
To Reproduce
Build khiva from source, install. Run install script to generate python bindings. Run unit tests from this repo.
Expected behavior
All tests should pass.
Environment information:
Ubuntu 18.04.4 LTS
Python 3.6.9
Conan version 1.23.0
ArrayFire-v3.6.2
Additional context
I joined the Gitter, it may be easier to continue the conversation there.
Saw no errors during installation of both khiva and the python bindings. Prerequisites were installed prior to installing khiva.
Describe the bug
It is being installed khiva v0.1.0 and it should be khiva v0.2.2 in the travis.yml
Use of Khiva Python requires a lot of previous installation of Arrayfire and other dependencies.
We could try to bundle most of the dependencies (Arrayfire at least) in order to make life easier to our users.
Describe the bug
The precision of the Statistics quantile function is 1e8 instead of 1e-8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.