Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDHF demo #840

Merged
merged 14 commits into from
Dec 3, 2024
Merged

GDHF demo #840

merged 14 commits into from
Dec 3, 2024

Conversation

JulienVig
Copy link
Collaborator

@JulienVig JulienVig commented Dec 2, 2024

Implements a DISCO demo for GDHF with the help of @Mastel22 and @tharvik. The demo consists in binary dog cuteness classification

Running the demo locally

Download the dataset zip
Setup the project

git clone git@github.com:epfml/disco.git
cd disco
git switch gdhf # go to the gdhf branch
npm ci && npm -ws run build # install and build the project
  1. In the meantime, unzip the dataset into the datasets/ folder
  2. When the project is built, start the server, the webapp and the CLI in different tabs
npm -w server start # 1st terminal

npm -w webapp start # 2nd terminal

npm -w cli start # 3rd terminal
  1. Go to the webapp in your browser: http://localhost:8081/
  2. Go to the GDHF task
  3. Connect the images in the 0th split: datasets/tinder_dog/0 by CSV (not by group)
  4. Click on Train
  5. When the training is done click on next to test the model
  6. You can use the data in the test folder

Running the demo on discolab.ai

At step 4, add --host option when starting the CLI:

npm -w cli start -- --host https://disco-zbkj3i466a-oa.a.run.app/

At step 5, go to discolab.ai

demo.mov

@JulienVig JulienVig force-pushed the gdhf branch 3 times, most recently from 287482c to 3371f2e Compare December 3, 2024 10:25
@JulienVig JulienVig requested a review from tharvik December 3, 2024 10:27
@JulienVig JulienVig marked this pull request as ready for review December 3, 2024 11:24
Copy link
Collaborator

@tharvik tharvik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all ready for the demo, let's go!
very few non-blocking changes

cli/src/args.ts Outdated Show resolved Hide resolved
cli/src/data.ts Outdated Show resolved Hide resolved
datasets/.gitignore Show resolved Hide resolved
discojs/src/default_tasks/tinder_dog.ts Outdated Show resolved Hide resolved
webapp/src/components/testing/TestSteps.vue Outdated Show resolved Hide resolved
webapp/src/components/testing/PredictSteps.vue Outdated Show resolved Hide resolved
discojs/src/default_tasks/tinder_dog.ts Outdated Show resolved Hide resolved
@JulienVig JulienVig merged commit 8176df3 into develop Dec 3, 2024
23 checks passed
@JulienVig JulienVig deleted the gdhf branch December 3, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants