ws-models / astro-ner /
@revol revol authored on 18 Oct 2023
..
.gitignore doc(astro-ner): add dvc config 2 years ago
README.md doc(astro-ner): dvc remote 2 years ago
astro.xlsx.dvc feat(astro-ner): add data and data training 2 years ago
best-model.pt.dvc feat(astro-ner): add model 2 years ago
data.dvc feat(astro-ner): add data and data training 2 years ago
pretreatment.py feat(astro-ner): create astro-ner 2 years ago
train_data.dvc feat(astro-ner): add data and data training 2 years ago
training.py feat(astro-ner): create astro-ner 2 years ago
README.md

Installer DVC

Pour installer DVC, il est conseillé de créer un environnement virtuel. Les commandes sont :

pip install wheel # pré-requis nécessaire
pip install dvc[webdav]

Configurer le remote DVC

Dans le .env mettre les trois lignes suivantes :

export WEBDAV_URL=webdav://????????
export WEBDAV_LOGIN=????
export WEBDAV_PASSWORD=?????

Pour configurer le remote DVC :

source .env
dvc remote add -d origin $WEBDAV_URL
dvc remote modify origin user $WEBDAV_LOGIN
dvc remote modify origin password $WEBDAV_PASSWORD