Inputs: Access Your Data
How Inputs Work
Quick Example
Define in valohai.yaml
- step:
name: train-model
image: tensorflow/tensorflow:2.6.0
command:
- python train_model.py
inputs:
- name: images
default:
- s3://mybucket/factories/images/*.png
keep-directories: suffix
- name: model
default: datum://production-latest
filename: model.pklUse in Python
Common Patterns
Multiple Files with Wildcards
Multiple Cloud Sources
Single File with Rename
Keep Directory Structure
Override Inputs at Runtime
Quick Reference
Define inputs in valohai.yaml
valohai.yamlUse as local files
Dynamic File Selection
Inputs can be overridden at runtime
Options
Last updated
Was this helpful?
