Code Monkey home page Code Monkey logo

cyres's People

Contributors

arjun810 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cyres's Issues

error: no member named 'int16' in namespace 'ceres'

I'm trying to build cyres by going to the source folder and running:

python setup.py build

but I get errors relating to the ceres::int16 data type not existing. Is this a Cython issue with clang on Mac OS X?

Unable to get quadratic.py running

I was able to install cyres after making the changes in #1 . However I am unable to get the example quadratic.py running on my Ubuntu. I ran "python setup.py install" under ../examples/quadratic and I see the package:
/usr/local/lib/python2.7/dist-packages/cost_functions
However I get the following in python:

from cost_functions.wrappers import SimpleCostFunction
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named cost_functions.wrappers

Is there any example as to how I can get a simple example up and running?
Thank you.

Pure Python example

Is it possible to specify a cost function in pure Python? If so, is it possible to add an example of a Python cost function?

Cannot import

I changes int16 into int32 as discussed in #1 .

Could compile with

python setup.py build
python setup.py install

All this worked well.

While I try to import cyres, I cannot do so.

>>> import cyres
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/cyres/__init__.py", line 1, in <module>
    from cyres import *
ImportError: /usr/local/lib/python2.7/dist-packages/cyres/cyres.so: undefined symbol: dpotrf_
>>> /usr/local/lib/python2.7/dist-packages/cyres/cyres.so
KeyboardInterrupt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.