Skip to content

DISCO training fails silently #607

@JulienVig

Description

@JulienVig

Clicking on the "Train" button in the pre-defined tasks of the DISCO frontend, both in local and on the website doesn't start the training.

The error is only triggered when using the web client, local tests all pass.

Steps to reproduce the behavior:

  1. Go to any pre-defined tasks such as the MNIST task, either on the website or on your local instance running the develop branch
  2. Click on 'NEXT' two times until reaching the training step. (Uploading data doesn't change the outcome)
  3. Click on 'Train Alone' or 'Train collaboratively'
  4. Inspect element and check the console logs:
TypeError: this.datasetBuilder.isBuilt is not a function
    startTraining index.js:95
    Lc index.js:7
    Lc index.js:3
    startTraining index.js:93
    0 templateLoader.js:29
    d runtime-core.esm-bundler.js:155
    p runtime-core.esm-bundler.js:164
    t runtime-dom.esm-bundler.js:369

Expected behavior
Clicking on the Train button should start the training successfully or return an error message to the user specifying there is a problem, such message could be: "You didn't uplaod any data" or "The service is currently unavailable".

Screenshots
Screen Shot 2024-01-11 at 16 43 50

Desktop (please complete the following information):

  • MacOS
  • Firefox

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions