fixed the workflow to detect the helpers folder
All checks were successful
RIA Hub Workflow Demo / ria-demo (push) Successful in 18s
All checks were successful
RIA Hub Workflow Demo / ria-demo (push) Successful in 18s
This commit is contained in:
parent
e822d68b53
commit
3df27cf012
|
@ -40,8 +40,9 @@ jobs:
|
|||
- name: 1. Build HDF5 Dataset
|
||||
run: |
|
||||
mkdir -p data
|
||||
python scripts/produce_dataset.py
|
||||
PYTHONPATH=. python scripts/produce_dataset.py
|
||||
echo "datasets produced successfully"
|
||||
shell: bash
|
||||
|
||||
- name: 2. Train Model
|
||||
run: |
|
||||
|
|
|
@ -116,10 +116,10 @@ def generate_datasets(cfg):
|
|||
dset (h5py.Dataset): The created dataset object
|
||||
"""
|
||||
|
||||
#always create the output directory
|
||||
parent = os.path.dirname(cfg.output_dir)
|
||||
if not parent:
|
||||
os.makedirs(cfg.output_dir, exist_ok=True)
|
||||
|
||||
|
||||
# we assume the recordings are in .npy format
|
||||
files = os.listdir(cfg.input_dir)
|
||||
if not files:
|
||||
|
|
Loading…
Reference in New Issue
Block a user