From fb04c8e8a82e20900ad8c15d7c9043475f453120 Mon Sep 17 00:00:00 2001 From: Francisco Berchez Moreno Date: Tue, 23 Jan 2024 08:48:40 +0100 Subject: [PATCH] Versions update in github actions --- .github/workflows/run_tests.yml | 8 ++++---- dlordinal/estimator/pytorch_estimator.py | 2 +- tutorials/ecoc_tutorial.ipynb | 26 ++---------------------- 3 files changed, 7 insertions(+), 29 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 7559fe7..ea5d81c 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -14,10 +14,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.8 @@ -38,10 +38,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.8 diff --git a/dlordinal/estimator/pytorch_estimator.py b/dlordinal/estimator/pytorch_estimator.py index 2978b26..cd33e04 100644 --- a/dlordinal/estimator/pytorch_estimator.py +++ b/dlordinal/estimator/pytorch_estimator.py @@ -23,7 +23,7 @@ class PytorchEstimator(BaseEstimator): A Pytorch device. max_iter : int The maximum number of iterations. - \**kwargs : dict + **kwargs : dict Additional keyword arguments. """ diff --git a/tutorials/ecoc_tutorial.ipynb b/tutorials/ecoc_tutorial.ipynb index 9555460..fcf1ad1 100644 --- a/tutorials/ecoc_tutorial.ipynb +++ b/tutorials/ecoc_tutorial.ipynb @@ -73,31 +73,9 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Downloading http://yanweifu.github.io/FG_NET_data/FGNET.zip to datasets/fgnet/fgnet.zip\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "100%|██████████| 46221653/46221653 [00:01<00:00, 40386000.42it/s]\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Extracting datasets/fgnet/fgnet.zip to datasets/fgnet\n" - ] - } - ], + "outputs": [], "source": [ "fgnet = FGNet(root=\"./datasets/fgnet\", download=True, process_data=True)\n", "\n",