diff --git a/IUM_10.DVC.ipynb b/IUM_10.DVC.ipynb index 1c080cd..4674704 100644 --- a/IUM_10.DVC.ipynb +++ b/IUM_10.DVC.ipynb @@ -303,7 +303,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 2, "id": "1e522a93", "metadata": { "slideshow": { @@ -864,26 +864,10 @@ }, { "cell_type": "code", - "execution_count": 29, - "id": "8ecf3091", - "metadata": { - "slideshow": { - "slide_type": "slide" - } - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - " 0% Uploading| |0/1 [00:00 2021.5.30-ha878542_0\n", + " certifi 2020.12.5-py39hf3d152e_1 --> 2021.5.30-py39hf3d152e_0\n", + " dvc 2.1.0-py39hf3d152e_0 --> 2.3.0-py39hf3d152e_0\n", + " fsspec 0.9.0-pyhd8ed1ab_2 --> 2021.5.0-pyhd8ed1ab_0\n", + "\n", + "\n", + "\n", + "Downloading and Extracting Packages\n", + "certifi-2021.5.30 | 141 KB | ##################################### | 100% \n", + "fsspec-2021.5.0 | 77 KB | ##################################### | 100% \n", + "dvc-2.3.0 | 542 KB | ##################################### | 100% \n", + "invoke-1.5.0 | 137 KB | ##################################### | 100% \n", + "paramiko-2.7.2 | 135 KB | ##################################### | 100% \n", + "bcrypt-3.2.0 | 44 KB | ##################################### | 100% \n", + "pynacl-1.4.0 | 1.3 MB | ##################################### | 100% \n", + "dvc-ssh-2.3.0 | 9 KB | ##################################### | 100% \n", + "ca-certificates-2021 | 136 KB | ##################################### | 100% \n", + "Preparing transaction: done\n", + "Verifying transaction: done\n", + "Executing transaction: done\n", + "\n", + "Note: you may need to restart the kernel to use updated packages.\n" + ] + } + ], + "source": [ + "conda install -c conda-forge dvc-ssh" + ] + }, + { + "cell_type": "code", + "execution_count": 27, + "id": "e9a04876", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Setting 'ium_ssh_remote' as a default remote.\n", + "\u001b[0m" + ] + } + ], + "source": [ + "!dvc remote add -f -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp" + ] + }, + { + "cell_type": "code", + "execution_count": 28, + "id": "e3f27bbb", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "my_local_remote\t/dvcstore\n", + "ium_ssh_remote\tssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp\n", + "\u001b[0m" + ] + } + ], + "source": [ + "!dvc remote list" + ] + }, + { + "cell_type": "code", + "execution_count": 32, + "id": "5b2fa175", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[0m" + ] + } + ], + "source": [ + "!dvc remote modify --local ium_ssh_remote password [hasło takie jak do serwera MLflow (patrz MSTeams)]" + ] + }, + { + "cell_type": "code", + "execution_count": 30, + "id": "ea6e16fa", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + " 0% Uploading| |0/1 [00:00