Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
bob.learn.libsvm
bob.learn.libsvm
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • bob
  • bob.learn.libsvmbob.learn.libsvm
  • Issues
  • #11

Closed
Open
Opened Jun 13, 2018 by Guillaume HEUSCH@heusch
  • Report abuse
  • New issue
Report abuse New issue

Trained machine shape different from input shape

Hi,

When using bob.learn.libsvm in my own project (through bob.pad.face). I sometimes got the following error:

RuntimeError: 2D `input' array should have 86 columns, matching `bob.learn.libsvm.Machine' input size, not 96

So basically the trained machine input size does not correspond to the feature size, which is quite odd ...

A first issue (bob.pad.base#19 (closed)) was open there by myself, but I guess that here is more appropriate.

Also, I tracked down the error in the C++ code, and it happens here: https://gitlab.idiap.ch/bob/bob.learn.libsvm/blob/master/bob/learn/libsvm/machine.cpp#L543

@andre.anjos any idea on this one ?

Thanks

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: bob/bob.learn.libsvm#11