Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ketos ketos
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • public_projects
  • ketosketos
  • Issues
  • #153

Closed
Open
Created Jan 12, 2022 by Bruno Padovese@bpadoveseOwner

export_to_ketos_protobuf imcompatible with load_audio_representation() with the name parameter

See #149 (comment 9506)

Basically, when trying to use the export to protobuf function, it expects the audio_representation to be in the following format:

{'name': audio_representation}

However when loading the representation with load_audio_representation(audio_config_file, name="name") we get just the audio_representation object, which breaks the following line of code in the export function:

for ar in audio_repr.values():

        assert 'step' in ar.keys()

Even if we have step in the representation, the wrong values are being looped, triggering the assert.

Is this an oversight on our part or intended? If so, I think we need to make clear not to use the name parameter when loading the audio representation

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking