Skip to main content

17 posts tagged with "DVC"

DVC (Data Version Control), Versioning Large Data Files and Machine Learning Models Alongside Git

View All Tags

How to Upload Data to a DVC Remote with dvc push

· 9 min read
Jagdish Kumawat
Founder @ Dewiride

dvc add keeps a file's contents in your project's cache, on your own disk and nowhere else. dvc push uploads them to the project's remote storage, so a clone, a teammate or a new computer can download them again. This guide checks what will be uploaded, pushes one file to a folder used as the remote, with DVC 3.67.1, and finds the file in the remote.

How to Use a Local Folder as a DVC Remote

· 11 min read
Jagdish Kumawat
Founder @ Dewiride

A DVC remote is the storage that dvc push uploads your data to and dvc pull downloads it from. It doesn't have to be in the cloud: a folder on your own disk, a mounted drive or a network share works too, and costs nothing. This guide makes a folder in your home folder the default remote of a project with DVC 3.67.1, reads what DVC saved, and commits it.

How to Track a Folder with dvc add

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

A dataset is often a folder of many files, such as thousands of images. You don't need a .dvc file for each one: dvc add on the folder tracks all of them with a single .dvc file. This guide tracks a folder of photos, reads its .dvc file, adds a new photo, and updates one file inside the folder, with DVC 3.67.1.

How to Track a Large File with dvc add

· 7 min read
Jagdish Kumawat
Founder @ Dewiride

Git isn't built for big data files: every version stays in the repository forever. dvc add takes a file out of Git's hands, keeps its contents in DVC's cache, and leaves a tiny .dvc text file for Git to track instead. This guide tracks one CSV file, reads the .dvc file line by line, commits it, and fixes the two errors you're most likely to see, with DVC 3.67.1.

How to Initialize DVC in a Git Repository with dvc init

· 7 min read
Jagdish Kumawat
Founder @ Dewiride

dvc init turns a Git repository into a DVC project. It adds a .dvc folder for DVC's settings and its cache, and a .dvcignore file, and stages them in Git for you. This guide runs it in a small repository, looks at each file it made, commits them, and explains the two errors you're likely to meet, with DVC 3.67.1.

How to Turn Off DVC Usage Analytics

· 7 min read
Jagdish Kumawat
Founder @ Dewiride

DVC sends anonymous usage statistics to its developers unless you turn them off, and says so in a red box the first time you run dvc init. One setting turns them off for every project on your computer. This guide sets it, checks that DVC sees it, and shows the two other ways, with DVC 3.67.1.