Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.learn.libsvm bob.learn.libsvm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bob.learn.libsvmbob.learn.libsvm
  • Issues
  • #11

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
Time tracking