From c5f0d85b1ac87d6f5e2f74ed41d334beb43b37ac Mon Sep 17 00:00:00 2001 From: Karol Cyganik Date: Sun, 26 May 2024 14:02:37 +0200 Subject: [PATCH] add dvc --- .dvc/.gitignore | 3 +++ .dvc/config | 5 +++++ .dvcignore | 3 +++ .gitignore | 5 +++-- dvc.yaml | 5 +++++ football_dataset.dvc | 6 ++++++ 6 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 .dvc/.gitignore create mode 100644 .dvc/config create mode 100644 .dvcignore create mode 100644 dvc.yaml create mode 100644 football_dataset.dvc diff --git a/.dvc/.gitignore b/.dvc/.gitignore new file mode 100644 index 0000000..528f30c --- /dev/null +++ b/.dvc/.gitignore @@ -0,0 +1,3 @@ +/config.local +/tmp +/cache diff --git a/.dvc/config b/.dvc/config new file mode 100644 index 0000000..57ef243 --- /dev/null +++ b/.dvc/config @@ -0,0 +1,5 @@ +[core] + autostage = true + remote = ium_gd +['remote "ium_gd"'] + url = gdrive://1aeZxv5MNAbXIE9ZQwOTRBr6UkpCzadjq diff --git a/.dvcignore b/.dvcignore new file mode 100644 index 0000000..5197305 --- /dev/null +++ b/.dvcignore @@ -0,0 +1,3 @@ +# Add patterns of files dvc should ignore, which could improve +# the performance. Learn more at +# https://dvc.org/doc/user-guide/dvcignore diff --git a/.gitignore b/.gitignore index 90187e5..742ae00 100644 --- a/.gitignore +++ b/.gitignore @@ -174,6 +174,7 @@ ipython_config.py # Remove previous ipynb_checkpoints # git rm -r .ipynb_checkpoints/ -football_dataset/ +football_dataset/images/ venvium/ -lightning_logs/ \ No newline at end of file +lightning_logs/ +/football_dataset diff --git a/dvc.yaml b/dvc.yaml new file mode 100644 index 0000000..1cf7b3d --- /dev/null +++ b/dvc.yaml @@ -0,0 +1,5 @@ +stages: + train: + cmd: python train.py --train=true --save_model=true + test: + cmd: python train_model.py \ No newline at end of file diff --git a/football_dataset.dvc b/football_dataset.dvc new file mode 100644 index 0000000..34c755e --- /dev/null +++ b/football_dataset.dvc @@ -0,0 +1,6 @@ +outs: +- md5: c2f4909054ee2311e15e7b81ded48b94.dir + size: 219213825 + nfiles: 303 + hash: md5 + path: football_dataset