Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.bio.spear bob.bio.spear
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bob
  • bob.bio.spearbob.bio.spear
  • Issues
  • #18

Closed
Open
Created Oct 11, 2016 by Alain KOMATY@akomatyContributor

Error while running experiment using amicorpus database

I am trying to run the following experiment on ami database ./bin/verify.py -d 'ami' -p 'energy-2gauss' -e 'mfcc-60' --algorithm 'gmm' -s ami_ubm_gmm --groups {dev,eval} -R '/idiap/user/akomaty/AMI-test/' -T '/idiap/temp/akomaty/AMI-test/' -vvv

The error I am getting is: energy_array = e(rate_wavsample[1]) TypeError: bob.ap.Energy' only supports 1D 64-bit float arrays for input array input'.

While debugging I found that rate_wavsample[1] = array([[ 0., 0.], [ -2., -2.], [ 0., 0.], ..., [-26., -26.], [-27., -27.], [-28., -28.]])

A screenshot is attached. Someone could have an idea why I am getting a 2D array instead of 1D? I could't trace the origin of this problem. Energy_2Gauss.py

Assignee
Assign to
Time tracking