HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dvc — Data Version Control system for machine learning projects. Some subcommands such as `commit` have th

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandclidvccontroldataforversionsystem

Problem

How to use the dvc command: Data Version Control system for machine learning projects. Some subcommands such as commit have their own usage documentation. More information: <https://doc.dvc.org/command-reference>.

Solution

dvc — Data Version Control system for machine learning projects. Some subcommands such as commit have their own usage documentation. More information: <https://doc.dvc.org/command-reference>.

Initialize a new DVC project:
dvc init


Configure a remote storage location:
dvc remote add {{storage_name}} {{url}}


Add one or more data files or directories to tracking:
dvc add {{path/to/file_or_directory}}


Show project status:
dvc status


Upload tracked files to remote storage:
dvc push


Download tracked files from remote storage:
dvc pull


Display help:
dvc {{[-h|--help]}}


Display version:
dvc --version

Code Snippets

Initialize a new DVC project

dvc init

Configure a remote storage location

dvc remote add {{storage_name}} {{url}}

Add one or more data files or directories to tracking

dvc add {{path/to/file_or_directory}}

Show project status

dvc status

Upload tracked files to remote storage

dvc push

Context

tldr-pages: common/dvc

Revisions (0)

No revisions yet.