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
  • #109

Closed
Open
Created Mar 03, 2021 by Fabio Frazao@fsfrazaoOwner

Behaviour of load_audio_representation

The current implementation requires a parameter 'name' to be passed. If that is not specified, the default None is used an empty dictionary is returned. in addition, only parameters recognized by the 'parse_audio_representation' function are returned. If the specification has any extra parameters, these are ignored.

I suggest the following changes:

  1. load everything that's in the json file, so if you have a 'spectrogram' and a 'waveform' representation, both would be loaded by default unless you specify which one you want.

2)return any parameters not expected by the parser as they come (i.e.: in whatever format the default translation from json to python gives)

There could be options to control these behaviours in the interface, like a boolean 'return_unparsed' and set name='all' if you want to return everything.

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