fixed paths, removed zip file step
Some checks failed
RIA Hub Workflow Demo / ria-demo (push) Failing after 1m32s
Some checks failed
RIA Hub Workflow Demo / ria-demo (push) Failing after 1m32s
This commit is contained in:
parent
0642904d89
commit
8ba21251bf
|
@ -46,17 +46,11 @@ jobs:
|
||||||
PYTHONPATH=. python scripts/dataset_building/data_gen.py --output-dir data/recordings
|
PYTHONPATH=. python scripts/dataset_building/data_gen.py --output-dir data/recordings
|
||||||
echo "recordings produced successfully"
|
echo "recordings produced successfully"
|
||||||
|
|
||||||
- name: 📦 Zip and Upload Recordings
|
- name: ⬆️ Upload recordings
|
||||||
run: |
|
|
||||||
echo "📦 Zipping recordings..."
|
|
||||||
zip -qr recordings.zip data/recordings
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: ⬆️ Upload zipped recordings
|
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: recordings
|
name: recordings
|
||||||
path: recordings.zip
|
path: data/recordings/**
|
||||||
|
|
||||||
- name: 2. Build HDF5 Dataset
|
- name: 2. Build HDF5 Dataset
|
||||||
run: |
|
run: |
|
||||||
|
@ -65,14 +59,11 @@ jobs:
|
||||||
echo "datasets produced successfully"
|
echo "datasets produced successfully"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: 📦 Zip Dataset
|
- name: 📤 Upload Dataset
|
||||||
run: zip -qr dataset.zip data/dataset
|
|
||||||
|
|
||||||
- name: 📤 Upload Zipped Dataset
|
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: dataset
|
name: dataset
|
||||||
path: dataset.zip
|
path: data/dataset/**
|
||||||
|
|
||||||
- name: 3. Train Model
|
- name: 3. Train Model
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -10,7 +10,7 @@ from helpers.app_settings import get_app_settings
|
||||||
from cm_plotter import plot_confusion_matrix
|
from cm_plotter import plot_confusion_matrix
|
||||||
|
|
||||||
|
|
||||||
def load_validation_data(h5_path:str ="data/datasets/validation.h5"):
|
def load_validation_data(h5_path:str ="data/datasets/val.h5"):
|
||||||
"""
|
"""
|
||||||
Loads validation data from an HDF5 file.
|
Loads validation data from an HDF5 file.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user