Outputs: Save Models and Files
How Outputs Work
Update Your Code
Before (Local)
# Saving locally
model.save("model.h5")
df.to_csv("results.csv")After (Valohai)
# Save to Valohai outputs
model.save("/valohai/outputs/model.h5")
df.to_csv("/valohai/outputs/results.csv")Common Patterns
Save Multiple Files
Preserve Directory Structure
Save During Training
File Types and Sizes
Using Aliases (Human-Friendly Names)
Where Do Outputs Go?
Quick Reference
Essential Pattern
Supported Storage
Good to Know
Last updated
Was this helpful?
