You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defvolume():
data=s3.dataset("bucket").create_if_not_existed()
# Or use existed dataset created in the dashboard.data=dataset(name="")
returndatadefbuild():
runtime.mount("/data", data)
Option 2: The CLI way
envd data create --name imagenet ./imagenet_folder/
Then use it in build.envd:
def volume():
data = dataset(name="")
return data
def build():
runtime.mount("/data", data)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Option 1: The build.envd way
Option 2: The CLI way
Then use it in build.envd:
Beta Was this translation helpful? Give feedback.
All reactions