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
|
||||
echo "recordings produced successfully"
|
||||
|
||||
- name: 📦 Zip and Upload Recordings
|
||||
run: |
|
||||
echo "📦 Zipping recordings..."
|
||||
zip -qr recordings.zip data/recordings
|
||||
shell: bash
|
||||
|
||||
- name: ⬆️ Upload zipped recordings
|
||||
- name: ⬆️ Upload recordings
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: recordings
|
||||
path: recordings.zip
|
||||
path: data/recordings/**
|
||||
|
||||
- name: 2. Build HDF5 Dataset
|
||||
run: |
|
||||
|
@ -64,15 +58,12 @@ jobs:
|
|||
PYTHONPATH=. python scripts/dataset_building/produce_dataset.py
|
||||
echo "datasets produced successfully"
|
||||
shell: bash
|
||||
|
||||
- name: 📦 Zip Dataset
|
||||
run: zip -qr dataset.zip data/dataset
|
||||
|
||||
- name: 📤 Upload Zipped Dataset
|
||||
- name: 📤 Upload Dataset
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: dataset
|
||||
path: dataset.zip
|
||||
path: data/dataset/**
|
||||
|
||||
- name: 3. Train Model
|
||||
env:
|
||||
|
|
|
@ -10,7 +10,7 @@ from helpers.app_settings import get_app_settings
|
|||
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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user