Ludwig - Image recognition model - MNIST

statistics-galaxy-ludwig/main-workflow

Author(s)
Paulo Cilas Morais Lyra Junior, Junhao Qiu, Jeremy Goecks
version Version
1
last_modification Last updated
Oct 28, 2024
license License
AGPL-3.0-or-later
galaxy-tags Tags
Ludwig
MNIST
imagerecognition

Features

Tutorial
hands_on Train and Test a Deep learning image classifier with Galaxy-Ludwig

Workflow Testing
Tests: ✅
Results: Not yet automated
FAIRness purl PURL
https://gxy.io/GTN:W00290
RO-Crate logo with flask Download Workflow RO-Crate Workflowhub cloud with gears logo View on WorkflowHub
Launch in Tutorial Mode question
galaxy-download Download
flowchart TD
  0["ℹ️ Input Dataset\nconfig.yaml"];
  style 0 stroke:#2c3143,stroke-width:4px;
  1["ℹ️ Input Dataset\nmnist_dataset.csv"];
  style 1 stroke:#2c3143,stroke-width:4px;
  2["ℹ️ Input Dataset\nmnist_images.zip"];
  style 2 stroke:#2c3143,stroke-width:4px;
  3["Ludwig Experiment"];
  0 -->|output| 3;
  1 -->|output| 3;
  2 -->|output| 3;

Inputs

Input Label
Input dataset config.yaml
Input dataset mnist_dataset.csv
Input dataset mnist_images.zip

Outputs

From Output Label
https://toolshed.g2.bx.psu.edu/view/paulo_lyra_jr/ludwig_applications/3e565bbe8b71 Ludwig Experiment

Tools

Tool Links
https://toolshed.g2.bx.psu.edu/view/paulo_lyra_jr/ludwig_applications/3e565bbe8b71

To use these workflows in Galaxy you can either click the links to download the workflows, or you can right-click and copy the link to the workflow which can be used in the Galaxy form to import workflows.

Importing into Galaxy

Below are the instructions for importing these workflows directly into your Galaxy server of choice to start using them!
Hands-on: Importing a workflow
  • Click on Workflow on the top menu bar of Galaxy. You will see a list of all your workflows.
  • Click on galaxy-upload Import at the top-right of the screen
  • Provide your workflow
    • Option 1: Paste the URL of the workflow into the box labelled “Archived Workflow URL”
    • Option 2: Upload the workflow file in the box labelled “Archived Workflow File”
  • Click the Import workflow button

Below is a short video demonstrating how to import a workflow from GitHub using this procedure:

Video: Importing a workflow from URL

Version History

Version Commit Time Comments
2 d19c70cb7 2024-10-02 19:44:20 added: workflow-test, license, identifier and tool_id
1 17bd90164 2024-09-18 20:26:31 Ludwig MNIST tutorial

For Admins

Installing the workflow tools

wget https://training.galaxyproject.org/training-material/topics/statistics/tutorials/galaxy-ludwig/workflows/main_workflow.ga -O workflow.ga
workflow-to-tools -w workflow.ga -o tools.yaml
shed-tools install -g GALAXY -a API_KEY -t tools.yaml
workflow-install -g GALAXY -a API_KEY -w workflow.ga --publish-workflows