Code Monkey home page Code Monkey logo

gmmreg's People

Contributors

bing-jian avatar

Watchers

 avatar

gmmreg's Issues

Executing python version of gmmreg with supplied sample data fails

What steps will reproduce the problem?
1. Installed gmmreg
2. Followed the instructions in Python/readmetxt
   cd c:\gmmreg\data
   # Start python ....
   import gmmreg
   gmmreg.test('fish_partial.ini')

What is the expected output? What do you see instead?

Python dumps out the following:
gmmreg.test('fish_partial.ini')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/gmmreg/_demo.py", line 21, in test
    model,scene,after_tps = _core.run_ini(f_config)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/gmmreg/_core.py", line 227, in run_ini
    model_file = c.get(section_common,'model')
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ConfigParser.py", line 511, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'Common'

Looks like you're missing the 'Common' Section in your ini file.

What version of the product are you using? On what operating system?

SVN Checkout on 3/18/2009 on Mac OS X 10.5.6

Please provide any additional information below.

I'm interested in trying out your technique, but without a working example I'm 
unable to use your code.


Original issue reported on code.google.com by [email protected] on 20 Mar 2009 at 4:44

Failed to build C++ version on Mac OS X 10.5

What steps will reproduce the problem?
1. Download gmmreg from SVN as described in the Source tab
2. cd to gmmreg-read-only
3. Run 'cmake -G Xcode .' (using version 2.6.3)
4. Build with XCode

What is the expected output? What do you see instead?

[  7%] Building C object CMakeFiles/port_ini.dir/port_ini.o
/Users/brian/workspace/gmmreg-read-only/C++/port_ini.c: In function 
‘GetPrivateProfileString’:
/Users/brian/workspace/gmmreg-read-only/C++/port_ini.c:168: error: syntax error 
before ‘isspace’
make[2]: *** [CMakeFiles/port_ini.dir/port_ini.o] Error 1
make[1]: *** [CMakeFiles/port_ini.dir/all] Error 2
make: *** [all] Error 2

The fix is to change port_ini.c (line 168)
FROM: if isspace(*(ep_end-1))
TO: if (isspace(*(ep_end-1)))


Original issue reported on code.google.com by [email protected] on 18 Mar 2009 at 10:36

import _extension

What steps will reproduce the problem?
1. python setup.py build
2. python setup.py install --skip-build
3. gmmreg.test('fish_partial.ini')

What is the expected output? What do you see instead?
NameError: global name 'gauss_transform' is not defined
(gmmreg has no module _extension)

What version of the product are you using? On what operating system?
Latest ver. OS: Debian GNU/Linux 7 (wheezy)

Please provide any additional information below.
In revision r145, line 17 of Python/_core.py (from _extension import *) was 
commented out. Perhaps you were testing something locally? Fix: Un-comment this 
line.

Original issue reported on code.google.com by [email protected] on 30 Oct 2014 at 3:47

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.