bungun / pogs-python Goto Github PK
View Code? Open in Web Editor NEWPython interface for POGS
Python interface for POGS
I am trying to make mex file working for pogs to enable call from Matlab.
I noticed that original implementation in C/C++ does not allow initial guess to solution be passed. I tried to include that without success. Were you able to include that feature?
This is an error I get trying to import pogs.
Python 2.7.15 |Anaconda, Inc.| (default, Dec 14 2018, 19:04:19)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pogs as pogs
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/ubuntu/anaconda3/envs/pogs/lib/python2.7/site-packages/pogs/__init__.py", line 4, in <module>
from pogs.solvers.cpu import SolverCPU
File "/home/ubuntu/anaconda3/envs/pogs/lib/python2.7/site-packages/pogs/solvers/__init__.py", line 1, in <module>
from pogs.solvers.cpu import SolverCPU
File "/home/ubuntu/anaconda3/envs/pogs/lib/python2.7/site-packages/pogs/solvers/cpu.py", line 1, in <module>
from pogs.libs.cpu import pogsCPU
File "/home/ubuntu/anaconda3/envs/pogs/lib/python2.7/site-packages/pogs/libs/cpu.py", line 9, in <module>
lib_path=check_output(['locate', lib])
File "/home/ubuntu/anaconda3/envs/pogs/lib/python2.7/subprocess.py", line 223, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['locate', 'packages/libpogs.so']' returned non-zero exit status 1
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.