forked from qoherent/modrec-workflow
updated workflow file, deleted initial dataset file created
This commit is contained in:
parent
9a4b781277
commit
5e5a320bc5
|
@ -1,16 +1,17 @@
|
||||||
name: RIA Hub Workflow Demo
|
name: RIA Hub Workflow Demo
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches:
|
||||||
|
[main]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches:
|
||||||
|
[main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ria-demo:
|
ria-demo:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Print GPU information
|
- name: Print GPU information
|
||||||
run: |
|
run: |
|
||||||
|
@ -21,44 +22,42 @@ jobs:
|
||||||
echo "⚠️ No NVIDIA GPU found"
|
echo "⚠️ No NVIDIA GPU found"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.10"
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
|
||||||
- name: 1. Build Dataset
|
|
||||||
run: |
|
run: |
|
||||||
python produce_dataset.py
|
python -m pip install --upgrade pip
|
||||||
# Placeholder: implement conversion from raw .npy recordings → train/val sets
|
pip install h5py numpy
|
||||||
|
|
||||||
|
- name: 1. Build HDF5 Dataset
|
||||||
|
run: |
|
||||||
|
mkdir -p data
|
||||||
|
python produce_dataset.py
|
||||||
|
echo "dataset produced successfully"
|
||||||
|
|
||||||
- name: 2. Train Model
|
- name: 2. Train Model
|
||||||
run: |
|
run: |
|
||||||
echo "training model"
|
echo "training model"
|
||||||
# Placeholder: train your model, save best checkpoint
|
# Placeholder
|
||||||
|
|
||||||
|
|
||||||
- name: 3. Build inference app
|
- name: 3. Build inference app
|
||||||
run: |
|
run: |
|
||||||
echo "building inference app"
|
echo "building inference app"
|
||||||
# Placeholder: export a CLI or server into dist/
|
# Placeholder
|
||||||
|
|
||||||
|
|
||||||
# - name: Upload Dataset Artifacts
|
|
||||||
# uses: actions/upload-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: ria-dataset
|
|
||||||
# path: data/**
|
|
||||||
|
|
||||||
|
- name: Upload Dataset Artifacts
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: ria-dataset
|
||||||
|
path: data/**
|
||||||
|
|
||||||
# - name: Upload Checkpoints
|
# - name: Upload Checkpoints
|
||||||
# uses: actions/upload-artifact@v3
|
# uses: actions/upload-artifact@v3
|
||||||
|
@ -72,6 +71,3 @@ jobs:
|
||||||
# with:
|
# with:
|
||||||
# name: ria-demo-app
|
# name: ria-demo-app
|
||||||
# path: dist/**
|
# path: dist/**
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
data/dataset.h5
BIN
data/dataset.h5
Binary file not shown.
Loading…
Reference in New Issue
Block a user