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

Closed
Open
Created Feb 24, 2022 by Oliver Kirsebom@kirsebomOwner

load method returns list

The current implementation of the load class method in NNInterface returns the audio representation nested within a list of length 1. Is there any good reason for this? https://gitlab.meridian.cs.dal.ca/public_projects/ketos/-/blob/development/ketos/neural_networks/dev_utils/nn_interface.py#L698 As a consequence, when calling the load method, one always must do

model, audio_repr = load(model_path, load_audio_repr=True)
audio_repr = audio_repr[0]

to get the audio representation dictionary.

This seems unnecessary @bpadovese ?

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