Are you sure you want to delete this access key?
Legend |
---|
DVC Managed File |
Git Managed File |
Metric |
Stage File |
External File |
Legend |
---|
DVC Managed File |
Git Managed File |
Metric |
Stage File |
External File |
According to poetry documentation:
Poetry should always be installed in a dedicated virtual environment to isolate it from the rest of your system. In no case, it should be installed in the environment of the project that is to be managed by Poetry.
python3.10 -m venv .venv
source .venv/bin/activate
pip3 install -U pip setuptools
pip3 install poetry
pip3 install 'dvc[s3]'
Go to the main repo page on dagshub.com, click Remote
, select tab Data
, select DVC
and copy section Setup credentials
(click eye icon to show your keys).
dvc remote modify origin --local access_key_id <secret>
dvc remote modify origin --local secret_access_key <secret>
dvc pull
dvc add <path-to-file>
dvc commit
dvc push
There should be changes done to a file with extension .dvc
that is tracked by git. Commit and push these changes.
Go to the main repo page on dagshub.com, click Remote
, select tab Experiments
and copy section Using MLflow tracking
(click eye icon to show your keys).
export MLFLOW_TRACKING_URI=https://dagshub.com/hamsterkmak/black-swan-experiments.mlflow \
export MLFLOW_TRACKING_USERNAME=<secret> \
export MLFLOW_TRACKING_PASSWORD=<secret> \
I had to install torch via pip, not poetry, because poetry chooses the latest cuda version, and pip chooses the version that is compatible with cuda version from my machine.
pip3 install torch
poetry lock
poetry install
poetry run python3 -m src.main
To push changes to dagshub, create a password or token. Later store token, activating Git Credential Manager
git config credential.helper store
After this command, in the next commit/push it will ask you for user/password/token and save it for later.
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?