Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1import os
2
3#: Location of training and validation data
4data_url = os.getenv("DATAPKG_DATA_DIR", "https://storage.googleapis.com")
5
6#: Whether `data_url` refers to a remote location.
7data_is_remote = not (data_url.startswith("file://") or data_url.startswith("/"))