Buckets:
| { | |
| "nbformat": 4, | |
| "nbformat_minor": 0, | |
| "metadata": { | |
| "colab": { | |
| "provenance": [], | |
| "gpuType": "T4" | |
| }, | |
| "kernelspec": { | |
| "name": "python3", | |
| "display_name": "Python 3" | |
| }, | |
| "language_info": { | |
| "name": "python" | |
| }, | |
| "accelerator": "GPU" | |
| }, | |
| "cells": [ | |
| { | |
| "cell_type": "code", | |
| "execution_count": 1, | |
| "metadata": { | |
| "colab": { | |
| "base_uri": "https://localhost:8080/" | |
| }, | |
| "collapsed": true, | |
| "id": "qf8cNVU3M3_B", | |
| "outputId": "44f7d7ca-3ffe-4093-f1a4-81c41f15affb" | |
| }, | |
| "outputs": [ | |
| { | |
| "output_type": "stream", | |
| "name": "stdout", | |
| "text": [ | |
| "--2025-08-05 07:52:19-- https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\n", | |
| "Resolving repo.anaconda.com (repo.anaconda.com)... 104.16.32.241, 104.16.191.158, 2606:4700::6810:bf9e, ...\n", | |
| "Connecting to repo.anaconda.com (repo.anaconda.com)|104.16.32.241|:443... connected.\n", | |
| "HTTP request sent, awaiting response... 200 OK\n", | |
| "Length: 160039710 (153M) [application/octet-stream]\n", | |
| "Saving to: ‘Miniconda3-latest-Linux-x86_64.sh’\n", | |
| "\n", | |
| "Miniconda3-latest-L 100%[===================>] 152.62M 272MB/s in 0.6s \n", | |
| "\n", | |
| "2025-08-05 07:52:20 (272 MB/s) - ‘Miniconda3-latest-Linux-x86_64.sh’ saved [160039710/160039710]\n", | |
| "\n", | |
| "PREFIX=/usr/local\n", | |
| "Unpacking payload ...\n", | |
| "entry_point.py:256: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.\n", | |
| "entry_point.py:256: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.\n", | |
| "\n", | |
| "Installing base environment...\n", | |
| "\n", | |
| "Preparing transaction: ...working... done\n", | |
| "Executing transaction: ...working... done\n", | |
| "entry_point.py:256: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.\n", | |
| "installation finished.\n", | |
| "WARNING:\n", | |
| " You currently have a PYTHONPATH environment variable set. This may cause\n", | |
| " unexpected behavior when running the Python interpreter in Miniconda3.\n", | |
| " For best results, please verify that your PYTHONPATH only points to\n", | |
| " directories of packages that are compatible with the Python interpreter\n", | |
| " in Miniconda3: /usr/local\n", | |
| "accepted Terms of Service for \u001b[4;94mhttps://repo.anaconda.com/pkgs/main\u001b[0m\n", | |
| "accepted Terms of Service for \u001b[4;94mhttps://repo.anaconda.com/pkgs/r\u001b[0m\n" | |
| ] | |
| } | |
| ], | |
| "source": [ | |
| "!wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\n", | |
| "!chmod +x Miniconda3-latest-Linux-x86_64.sh\n", | |
| "!bash ./Miniconda3-latest-Linux-x86_64.sh -b -f -p /usr/local\n", | |
| "\n", | |
| "import sys\n", | |
| "sys.path.append('/usr/local/lib/python3.9/site-packages')\n", | |
| "\n", | |
| "\n", | |
| "!conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main\n", | |
| "!conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "source": [ | |
| "!conda create -n nenv python=3.8 -y" | |
| ], | |
| "metadata": { | |
| "colab": { | |
| "base_uri": "https://localhost:8080/" | |
| }, | |
| "collapsed": true, | |
| "id": "Y1MkskTkOCG2", | |
| "outputId": "dbb27949-d70e-4d90-8732-88482fa33a0e" | |
| }, | |
| "execution_count": 2, | |
| "outputs": [ | |
| { | |
| "output_type": "stream", | |
| "name": "stdout", | |
| "text": [ | |
| "\u001b[1;32m2\u001b[0m\u001b[1;32m channel Terms of Service accepted\u001b[0m\n", | |
| "Channels:\n", | |
| " - defaults\n", | |
| "Platform: linux-64\n", | |
| "Collecting package metadata (repodata.json): - \b\b\\ \b\b| \b\b/ \b\b- \b\b\\ \b\b| \b\b/ \b\b- \b\b\\ \b\b| \b\b/ \b\b- \b\bdone\n", | |
| "Solving environment: | \b\bdone\n", | |
| "\n", | |
| "## Package Plan ##\n", | |
| "\n", | |
| " environment location: /usr/local/envs/nenv\n", | |
| "\n", | |
| " added / updated specs:\n", | |
| " - python=3.8\n", | |
| "\n", | |
| "\n", | |
| "The following packages will be downloaded:\n", | |
| "\n", | |
| " package | build\n", | |
| " ---------------------------|-----------------\n", | |
| " ncurses-6.5 | h7934f7d_0 1.1 MB\n", | |
| " openssl-3.0.17 | h5eee18b_0 5.2 MB\n", | |
| " pip-24.2 | py38h06a4308_0 2.2 MB\n", | |
| " python-3.8.20 | he870216_0 23.8 MB\n", | |
| " setuptools-75.1.0 | py38h06a4308_0 1.7 MB\n", | |
| " wheel-0.44.0 | py38h06a4308_0 108 KB\n", | |
| " ------------------------------------------------------------\n", | |
| " Total: 34.1 MB\n", | |
| "\n", | |
| "The following NEW packages will be INSTALLED:\n", | |
| "\n", | |
| " _libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main \n", | |
| " _openmp_mutex pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu \n", | |
| " ca-certificates pkgs/main/linux-64::ca-certificates-2025.2.25-h06a4308_0 \n", | |
| " ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.40-h12ee557_0 \n", | |
| " libffi pkgs/main/linux-64::libffi-3.4.4-h6a678d5_1 \n", | |
| " libgcc-ng pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1 \n", | |
| " libgomp pkgs/main/linux-64::libgomp-11.2.0-h1234567_1 \n", | |
| " libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1 \n", | |
| " libxcb pkgs/main/linux-64::libxcb-1.17.0-h9b100fa_0 \n", | |
| " ncurses pkgs/main/linux-64::ncurses-6.5-h7934f7d_0 \n", | |
| " openssl pkgs/main/linux-64::openssl-3.0.17-h5eee18b_0 \n", | |
| " pip pkgs/main/linux-64::pip-24.2-py38h06a4308_0 \n", | |
| " pthread-stubs pkgs/main/linux-64::pthread-stubs-0.3-h0ce48e5_1 \n", | |
| " python pkgs/main/linux-64::python-3.8.20-he870216_0 \n", | |
| " readline pkgs/main/linux-64::readline-8.2-h5eee18b_0 \n", | |
| " setuptools pkgs/main/linux-64::setuptools-75.1.0-py38h06a4308_0 \n", | |
| " sqlite pkgs/main/linux-64::sqlite-3.50.2-hb25bd0a_1 \n", | |
| " tk pkgs/main/linux-64::tk-8.6.14-h993c535_1 \n", | |
| " wheel pkgs/main/linux-64::wheel-0.44.0-py38h06a4308_0 \n", | |
| " xorg-libx11 pkgs/main/linux-64::xorg-libx11-1.8.12-h9b100fa_1 \n", | |
| " xorg-libxau pkgs/main/linux-64::xorg-libxau-1.0.12-h9b100fa_0 \n", | |
| " xorg-libxdmcp pkgs/main/linux-64::xorg-libxdmcp-1.1.5-h9b100fa_0 \n", | |
| " xorg-xorgproto pkgs/main/linux-64::xorg-xorgproto-2024.1-h5eee18b_1 \n", | |
| " xz pkgs/main/linux-64::xz-5.6.4-h5eee18b_1 \n", | |
| " zlib pkgs/main/linux-64::zlib-1.2.13-h5eee18b_1 \n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "Downloading and Extracting Packages:\n", | |
| "python-3.8.20 | 23.8 MB | : 0% 0/1 [00:00<?, ?it/s]\n", | |
| "openssl-3.0.17 | 5.2 MB | : 0% 0/1 [00:00<?, ?it/s]\u001b[A\n", | |
| "\n", | |
| "pip-24.2 | 2.2 MB | : 0% 0/1 [00:00<?, ?it/s]\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "setuptools-75.1.0 | 1.7 MB | : 0% 0/1 [00:00<?, ?it/s]\u001b[A\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "ncurses-6.5 | 1.1 MB | : 0% 0/1 [00:00<?, ?it/s]\u001b[A\u001b[A\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "python-3.8.20 | 23.8 MB | : 5% 0.045346856545183056/1 [00:00<00:02, 2.22s/it]\n", | |
| "openssl-3.0.17 | 5.2 MB | : 13% 0.134900068229486/1 [00:00<00:00, 1.35it/s]\u001b[A\n", | |
| "\n", | |
| "pip-24.2 | 2.2 MB | : 29% 0.2900008288895643/1 [00:00<00:00, 2.89it/s]\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "setuptools-75.1.0 | 1.7 MB | : 68% 0.6844448358517004/1 [00:00<00:00, 6.80it/s]\u001b[A\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "ncurses-6.5 | 1.1 MB | : 71% 0.705681111979375/1 [00:00<00:00, 7.03it/s]\u001b[A\u001b[A\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "ncurses-6.5 | 1.1 MB | : 100% 1.0/1 [00:00<00:00, 7.03it/s] \u001b[A\u001b[A\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "setuptools-75.1.0 | 1.7 MB | : 100% 1.0/1 [00:00<00:00, 6.80it/s] \u001b[A\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "wheel-0.44.0 | 108 KB | : 15% 0.14783134378186213/1 [00:00<00:00, 1.12s/it]\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "wheel-0.44.0 | 108 KB | : 100% 1.0/1 [00:00<00:00, 1.12s/it] \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", | |
| "\n", | |
| "python-3.8.20 | 23.8 MB | : 21% 0.21424746715550255/1 [00:00<00:00, 1.18it/s] \n", | |
| "openssl-3.0.17 | 5.2 MB | : 100% 1.0/1 [00:00<00:00, 3.76it/s] \u001b[A\n", | |
| "python-3.8.20 | 23.8 MB | : 100% 1.0/1 [00:00<00:00, 2.27it/s] \n", | |
| "\n", | |
| "\n", | |
| "setuptools-75.1.0 | 1.7 MB | : 100% 1.0/1 [00:01<00:00, 6.80it/s]\u001b[A\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "wheel-0.44.0 | 108 KB | : 100% 1.0/1 [00:01<00:00, 1.12s/it]\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "wheel-0.44.0 | 108 KB | : 100% 1.0/1 [00:01<00:00, 1.12s/it]\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", | |
| "\n", | |
| "pip-24.2 | 2.2 MB | : 100% 1.0/1 [00:01<00:00, 1.89s/it]\u001b[A\u001b[A\n", | |
| "\n", | |
| "pip-24.2 | 2.2 MB | : 100% 1.0/1 [00:01<00:00, 1.89s/it]\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "ncurses-6.5 | 1.1 MB | : 100% 1.0/1 [00:01<00:00, 7.03it/s]\u001b[A\u001b[A\u001b[A\u001b[A\n", | |
| " \n", | |
| " \u001b[A\n", | |
| "\n", | |
| " \u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| " \u001b[A\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| " \u001b[A\u001b[A\u001b[A\u001b[A\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| "\n", | |
| " \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", | |
| "Preparing transaction: - \b\b\\ \b\bdone\n", | |
| "Verifying transaction: / \b\b- \b\b\\ \b\b| \b\b/ \b\b- \b\b\\ \b\b| \b\b/ \b\b- \b\b\\ \b\b| \b\bdone\n", | |
| "Executing transaction: - \b\b\\ \b\b| \b\b/ \b\b- \b\bdone\n", | |
| "#\n", | |
| "# To activate this environment, use\n", | |
| "#\n", | |
| "# $ conda activate nenv\n", | |
| "#\n", | |
| "# To deactivate an active environment, use\n", | |
| "#\n", | |
| "# $ conda deactivate\n", | |
| "\n" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "source": [ | |
| "!git clone https://github.com/ACAT-SCUT/CycleNet.git\n", | |
| "%cd CycleNet" | |
| ], | |
| "metadata": { | |
| "colab": { | |
| "base_uri": "https://localhost:8080/" | |
| }, | |
| "id": "m3Q3h_YGOFkg", | |
| "outputId": "802b92e7-a2e0-4221-aa3c-88b1bdee9257" | |
| }, | |
| "execution_count": 3, | |
| "outputs": [ | |
| { | |
| "output_type": "stream", | |
| "name": "stdout", | |
| "text": [ | |
| "Cloning into 'CycleNet'...\n", | |
| "remote: Enumerating objects: 207, done.\u001b[K\n", | |
| "remote: Counting objects: 100% (72/72), done.\u001b[K\n", | |
| "remote: Compressing objects: 100% (30/30), done.\u001b[K\n", | |
| "remote: Total 207 (delta 54), reused 42 (delta 42), pack-reused 135 (from 1)\u001b[K\n", | |
| "Receiving objects: 100% (207/207), 2.35 MiB | 29.33 MiB/s, done.\n", | |
| "Resolving deltas: 100% (106/106), done.\n", | |
| "/content/CycleNet\n" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "source": [ | |
| "!gdown --id 1bNbw1y8VYp-8pkRTqbjoW-TA-G8T0EQf -O /content/CycleNet/all_dataset.zip\n", | |
| "!unzip /content/CycleNet/all_dataset.zip -d /content/CycleNet/dataset" | |
| ], | |
| "metadata": { | |
| "colab": { | |
| "base_uri": "https://localhost:8080/" | |
| }, | |
| "collapsed": true, | |
| "id": "CcWSsBMSOWWV", | |
| "outputId": "5371bcce-c340-429b-f86d-a70eb0f3cb44" | |
| }, | |
| "execution_count": 4, | |
| "outputs": [ | |
| { | |
| "output_type": "stream", | |
| "name": "stdout", | |
| "text": [ | |
| "/usr/local/lib/python3.11/dist-packages/gdown/__main__.py:140: FutureWarning: Option `--id` was deprecated in version 4.3.1 and will be removed in 5.0. You don't need to pass it anymore to use a file ID.\n", | |
| " warnings.warn(\n", | |
| "Downloading...\n", | |
| "From (original): https://drive.google.com/uc?id=1bNbw1y8VYp-8pkRTqbjoW-TA-G8T0EQf\n", | |
| "From (redirected): https://drive.google.com/uc?id=1bNbw1y8VYp-8pkRTqbjoW-TA-G8T0EQf&confirm=t&uuid=6925f4de-72de-472e-9122-e1f479fa8d2a\n", | |
| "To: /content/CycleNet/all_dataset.zip\n", | |
| "100% 172M/172M [00:02<00:00, 63.1MB/s]\n", | |
| "Archive: /content/CycleNet/all_dataset.zip\n", | |
| " inflating: /content/CycleNet/dataset/ETTm2.csv \n", | |
| " inflating: /content/CycleNet/dataset/exchange_rate.csv \n", | |
| " inflating: /content/CycleNet/dataset/national_illness.csv \n", | |
| " inflating: /content/CycleNet/dataset/PEMS03.npz \n", | |
| " inflating: /content/CycleNet/dataset/PEMS04.npz \n", | |
| " inflating: /content/CycleNet/dataset/PEMS07.npz \n", | |
| " inflating: /content/CycleNet/dataset/PEMS08.npz \n", | |
| " inflating: /content/CycleNet/dataset/solar_AL.txt \n", | |
| " inflating: /content/CycleNet/dataset/traffic.csv \n", | |
| " inflating: /content/CycleNet/dataset/weather.csv \n", | |
| " inflating: /content/CycleNet/dataset/electricity.csv \n", | |
| " inflating: /content/CycleNet/dataset/ETTh1.csv \n", | |
| " inflating: /content/CycleNet/dataset/ETTh2.csv \n", | |
| " inflating: /content/CycleNet/dataset/ETTm1.csv \n" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "source": [ | |
| "!source /usr/local/bin/activate nenv && pip install -r requirements.txt" | |
| ], | |
| "metadata": { | |
| "colab": { | |
| "base_uri": "https://localhost:8080/" | |
| }, | |
| "collapsed": true, | |
| "id": "RHQfqPjJOs4e", | |
| "outputId": "93137cd7-b275-4b13-ce23-b9771a2f624e" | |
| }, | |
| "execution_count": 5, | |
| "outputs": [ | |
| { | |
| "output_type": "stream", | |
| "name": "stdout", | |
| "text": [ | |
| "Collecting numpy (from -r requirements.txt (line 1))\n", | |
| " Downloading numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB)\n", | |
| "Collecting matplotlib (from -r requirements.txt (line 2))\n", | |
| " Downloading matplotlib-3.7.5-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (5.7 kB)\n", | |
| "Collecting pandas (from -r requirements.txt (line 3))\n", | |
| " Downloading pandas-2.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)\n", | |
| "Collecting scikit-learn (from -r requirements.txt (line 4))\n", | |
| " Downloading scikit_learn-1.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)\n", | |
| "Collecting torch (from -r requirements.txt (line 5))\n", | |
| " Downloading torch-2.4.1-cp38-cp38-manylinux1_x86_64.whl.metadata (26 kB)\n", | |
| "Collecting contourpy>=1.0.1 (from matplotlib->-r requirements.txt (line 2))\n", | |
| " Downloading contourpy-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.9 kB)\n", | |
| "Collecting cycler>=0.10 (from matplotlib->-r requirements.txt (line 2))\n", | |
| " Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)\n", | |
| "Collecting fonttools>=4.22.0 (from matplotlib->-r requirements.txt (line 2))\n", | |
| " Downloading fonttools-4.57.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (102 kB)\n", | |
| "Collecting kiwisolver>=1.0.1 (from matplotlib->-r requirements.txt (line 2))\n", | |
| " Downloading kiwisolver-1.4.7-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (6.3 kB)\n", | |
| "Collecting packaging>=20.0 (from matplotlib->-r requirements.txt (line 2))\n", | |
| " Downloading packaging-25.0-py3-none-any.whl.metadata (3.3 kB)\n", | |
| "Collecting pillow>=6.2.0 (from matplotlib->-r requirements.txt (line 2))\n", | |
| " Downloading pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl.metadata (9.2 kB)\n", | |
| "Collecting pyparsing>=2.3.1 (from matplotlib->-r requirements.txt (line 2))\n", | |
| " Downloading pyparsing-3.1.4-py3-none-any.whl.metadata (5.1 kB)\n", | |
| "Collecting python-dateutil>=2.7 (from matplotlib->-r requirements.txt (line 2))\n", | |
| " Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)\n", | |
| "Collecting importlib-resources>=3.2.0 (from matplotlib->-r requirements.txt (line 2))\n", | |
| " Downloading importlib_resources-6.4.5-py3-none-any.whl.metadata (4.0 kB)\n", | |
| "Collecting pytz>=2020.1 (from pandas->-r requirements.txt (line 3))\n", | |
| " Downloading pytz-2025.2-py2.py3-none-any.whl.metadata (22 kB)\n", | |
| "Collecting tzdata>=2022.1 (from pandas->-r requirements.txt (line 3))\n", | |
| " Downloading tzdata-2025.2-py2.py3-none-any.whl.metadata (1.4 kB)\n", | |
| "Collecting scipy>=1.5.0 (from scikit-learn->-r requirements.txt (line 4))\n", | |
| " Downloading scipy-1.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (58 kB)\n", | |
| "Collecting joblib>=1.1.1 (from scikit-learn->-r requirements.txt (line 4))\n", | |
| " Downloading joblib-1.4.2-py3-none-any.whl.metadata (5.4 kB)\n", | |
| "Collecting threadpoolctl>=2.0.0 (from scikit-learn->-r requirements.txt (line 4))\n", | |
| " Downloading threadpoolctl-3.5.0-py3-none-any.whl.metadata (13 kB)\n", | |
| "Collecting filelock (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB)\n", | |
| "Collecting typing-extensions>=4.8.0 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading typing_extensions-4.13.2-py3-none-any.whl.metadata (3.0 kB)\n", | |
| "Collecting sympy (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading sympy-1.13.3-py3-none-any.whl.metadata (12 kB)\n", | |
| "Collecting networkx (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading networkx-3.1-py3-none-any.whl.metadata (5.3 kB)\n", | |
| "Collecting jinja2 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)\n", | |
| "Collecting fsspec (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading fsspec-2025.3.0-py3-none-any.whl.metadata (11 kB)\n", | |
| "Collecting nvidia-cuda-nvrtc-cu12==12.1.105 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB)\n", | |
| "Collecting nvidia-cuda-runtime-cu12==12.1.105 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB)\n", | |
| "Collecting nvidia-cuda-cupti-cu12==12.1.105 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)\n", | |
| "Collecting nvidia-cudnn-cu12==9.1.0.70 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB)\n", | |
| "Collecting nvidia-cublas-cu12==12.1.3.1 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB)\n", | |
| "Collecting nvidia-cufft-cu12==11.0.2.54 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading nvidia_cufft_cu12-11.0.2.54-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB)\n", | |
| "Collecting nvidia-curand-cu12==10.3.2.106 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading nvidia_curand_cu12-10.3.2.106-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB)\n", | |
| "Collecting nvidia-cusolver-cu12==11.4.5.107 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)\n", | |
| "Collecting nvidia-cusparse-cu12==12.1.0.106 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)\n", | |
| "Collecting nvidia-nccl-cu12==2.20.5 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading nvidia_nccl_cu12-2.20.5-py3-none-manylinux2014_x86_64.whl.metadata (1.8 kB)\n", | |
| "Collecting nvidia-nvtx-cu12==12.1.105 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.7 kB)\n", | |
| "Collecting triton==3.0.0 (from torch->-r requirements.txt (line 5))\n", | |
| " Downloading triton-3.0.0-1-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.3 kB)\n", | |
| "Collecting nvidia-nvjitlink-cu12 (from nvidia-cusolver-cu12==11.4.5.107->torch->-r requirements.txt (line 5))\n", | |
| " Downloading nvidia_nvjitlink_cu12-12.9.86-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl.metadata (1.7 kB)\n", | |
| "Collecting zipp>=3.1.0 (from importlib-resources>=3.2.0->matplotlib->-r requirements.txt (line 2))\n", | |
| " Downloading zipp-3.20.2-py3-none-any.whl.metadata (3.7 kB)\n", | |
| "Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib->-r requirements.txt (line 2))\n", | |
| " Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)\n", | |
| "Collecting MarkupSafe>=2.0 (from jinja2->torch->-r requirements.txt (line 5))\n", | |
| " Downloading MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)\n", | |
| "Collecting mpmath<1.4,>=1.1.0 (from sympy->torch->-r requirements.txt (line 5))\n", | |
| " Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)\n", | |
| "Downloading numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m17.3/17.3 MB\u001b[0m \u001b[31m154.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading matplotlib-3.7.5-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (9.2 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m9.2/9.2 MB\u001b[0m \u001b[31m163.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading pandas-2.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.4 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m12.4/12.4 MB\u001b[0m \u001b[31m173.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading scikit_learn-1.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.1 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m11.1/11.1 MB\u001b[0m \u001b[31m165.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading torch-2.4.1-cp38-cp38-manylinux1_x86_64.whl (797.1 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m797.1/797.1 MB\u001b[0m \u001b[31m36.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl (410.6 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m410.6/410.6 MB\u001b[0m \u001b[31m29.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (14.1 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m14.1/14.1 MB\u001b[0m \u001b[31m180.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (23.7 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m23.7/23.7 MB\u001b[0m \u001b[31m181.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (823 kB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m823.6/823.6 kB\u001b[0m \u001b[31m48.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl (664.8 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m664.8/664.8 MB\u001b[0m \u001b[31m38.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading nvidia_cufft_cu12-11.0.2.54-py3-none-manylinux1_x86_64.whl (121.6 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m121.6/121.6 MB\u001b[0m \u001b[31m61.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading nvidia_curand_cu12-10.3.2.106-py3-none-manylinux1_x86_64.whl (56.5 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m56.5/56.5 MB\u001b[0m \u001b[31m56.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl (124.2 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m124.2/124.2 MB\u001b[0m \u001b[31m63.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl (196.0 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m196.0/196.0 MB\u001b[0m \u001b[31m68.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading nvidia_nccl_cu12-2.20.5-py3-none-manylinux2014_x86_64.whl (176.2 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m176.2/176.2 MB\u001b[0m \u001b[31m66.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (99 kB)\n", | |
| "Downloading triton-3.0.0-1-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (209.4 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m209.4/209.4 MB\u001b[0m \u001b[31m64.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading contourpy-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (301 kB)\n", | |
| "Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)\n", | |
| "Downloading fonttools-4.57.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.7/4.7 MB\u001b[0m \u001b[31m79.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading importlib_resources-6.4.5-py3-none-any.whl (36 kB)\n", | |
| "Downloading joblib-1.4.2-py3-none-any.whl (301 kB)\n", | |
| "Downloading kiwisolver-1.4.7-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.2/1.2 MB\u001b[0m \u001b[31m54.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading packaging-25.0-py3-none-any.whl (66 kB)\n", | |
| "Downloading pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl (4.5 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.5/4.5 MB\u001b[0m \u001b[31m94.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading pyparsing-3.1.4-py3-none-any.whl (104 kB)\n", | |
| "Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)\n", | |
| "Downloading pytz-2025.2-py2.py3-none-any.whl (509 kB)\n", | |
| "Downloading scipy-1.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.5 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m34.5/34.5 MB\u001b[0m \u001b[31m112.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading threadpoolctl-3.5.0-py3-none-any.whl (18 kB)\n", | |
| "Downloading typing_extensions-4.13.2-py3-none-any.whl (45 kB)\n", | |
| "Downloading tzdata-2025.2-py2.py3-none-any.whl (347 kB)\n", | |
| "Downloading filelock-3.16.1-py3-none-any.whl (16 kB)\n", | |
| "Downloading fsspec-2025.3.0-py3-none-any.whl (193 kB)\n", | |
| "Downloading jinja2-3.1.6-py3-none-any.whl (134 kB)\n", | |
| "Downloading networkx-3.1-py3-none-any.whl (2.1 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.1/2.1 MB\u001b[0m \u001b[31m79.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading sympy-1.13.3-py3-none-any.whl (6.2 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m6.2/6.2 MB\u001b[0m \u001b[31m116.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26 kB)\n", | |
| "Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m536.2/536.2 kB\u001b[0m \u001b[31m28.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hDownloading six-1.17.0-py2.py3-none-any.whl (11 kB)\n", | |
| "Downloading zipp-3.20.2-py3-none-any.whl (9.2 kB)\n", | |
| "Downloading nvidia_nvjitlink_cu12-12.9.86-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl (39.7 MB)\n", | |
| "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m39.7/39.7 MB\u001b[0m \u001b[31m54.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", | |
| "\u001b[?25hInstalling collected packages: pytz, mpmath, zipp, tzdata, typing-extensions, threadpoolctl, sympy, six, pyparsing, pillow, packaging, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, numpy, networkx, MarkupSafe, kiwisolver, joblib, fsspec, fonttools, filelock, cycler, triton, scipy, python-dateutil, nvidia-cusparse-cu12, nvidia-cudnn-cu12, jinja2, importlib-resources, contourpy, scikit-learn, pandas, nvidia-cusolver-cu12, matplotlib, torch\n", | |
| "Successfully installed MarkupSafe-2.1.5 contourpy-1.1.1 cycler-0.12.1 filelock-3.16.1 fonttools-4.57.0 fsspec-2025.3.0 importlib-resources-6.4.5 jinja2-3.1.6 joblib-1.4.2 kiwisolver-1.4.7 matplotlib-3.7.5 mpmath-1.3.0 networkx-3.1 numpy-1.24.4 nvidia-cublas-cu12-12.1.3.1 nvidia-cuda-cupti-cu12-12.1.105 nvidia-cuda-nvrtc-cu12-12.1.105 nvidia-cuda-runtime-cu12-12.1.105 nvidia-cudnn-cu12-9.1.0.70 nvidia-cufft-cu12-11.0.2.54 nvidia-curand-cu12-10.3.2.106 nvidia-cusolver-cu12-11.4.5.107 nvidia-cusparse-cu12-12.1.0.106 nvidia-nccl-cu12-2.20.5 nvidia-nvjitlink-cu12-12.9.86 nvidia-nvtx-cu12-12.1.105 packaging-25.0 pandas-2.0.3 pillow-10.4.0 pyparsing-3.1.4 python-dateutil-2.9.0.post0 pytz-2025.2 scikit-learn-1.3.2 scipy-1.10.1 six-1.17.0 sympy-1.13.3 threadpoolctl-3.5.0 torch-2.4.1 triton-3.0.0 typing-extensions-4.13.2 tzdata-2025.2 zipp-3.20.2\n" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "source": [ | |
| "!source /usr/local/bin/activate nenv && bash scripts/CycleNet/MLP-Input-336/electricity.sh;" | |
| ], | |
| "metadata": { | |
| "colab": { | |
| "base_uri": "https://localhost:8080/" | |
| }, | |
| "id": "Zl-xVMnOOv6N", | |
| "outputId": "4bd5d7aa-c44d-4279-f272-c31c1a75343b" | |
| }, | |
| "execution_count": 7, | |
| "outputs": [ | |
| { | |
| "output_type": "stream", | |
| "name": "stdout", | |
| "text": [ | |
| "Args in experiment:\n", | |
| "Namespace(activation='gelu', affine=0, batch_size=64, c_out=7, channel_id=1, checkpoints='./checkpoints/', cycle=168, d_ff=2048, d_layers=1, d_model=512, data='custom', data_path='electricity.csv', dec_in=7, dec_way='pmf', decomposition=0, des='test', devices='0,1', distil=True, do_predict=False, dropout=0, e_layers=2, embed='timeF', embed_type=0, enc_in=321, factor=1, fc_dropout=0.05, features='M', freq='h', gpu=0, head_dropout=0.0, individual=0, is_training=1, itr=1, kernel_size=25, label_len=0, learning_rate=0.002, loss='mse', lradj='type3', model='CycleNet', model_id='Electricity_336_96', model_type='mlp', moving_avg=25, n_heads=8, num_workers=10, output_attention=False, padding_patch='end', patch_len=16, patience=5, pct_start=0.3, period_len=24, pred_len=96, random_seed=2024, revin=0, rnn_type='gru', root_path='./dataset/', seg_len=48, seq_len=336, stride=8, subtract_last=0, target='OT', test_flop=False, train_epochs=30, use_amp=False, use_gpu=True, use_multi_gpu=False, use_revin=1)\n", | |
| "Use GPU: cuda:0\n", | |
| ">>>>>>>start training : Electricity_336_96_CycleNet_custom_ftM_sl336_pl96_cycle168_mlp_seed2024>>>>>>>>>>>>>>>>>>>>>>>>>>\n", | |
| "train 17981\n", | |
| "val 2537\n", | |
| "test 5165\n", | |
| "\titers: 100, epoch: 1 | loss: 0.2534176\n", | |
| "\tspeed: 0.1178s/iter; left time: 977.8598s\n", | |
| "\titers: 200, epoch: 1 | loss: 0.2187174\n", | |
| "\tspeed: 0.0833s/iter; left time: 683.2367s\n", | |
| "Epoch: 1 cost time: 25.013556480407715\n", | |
| "Epoch: 1, Steps: 280 | Train Loss: 0.2950343 Vali Loss: 0.1701207 Test Loss: 0.1945778\n", | |
| "Validation loss decreased (inf --> 0.170121). Saving model ...\n", | |
| "Updating learning rate to 0.002\n", | |
| "\titers: 100, epoch: 2 | loss: 0.1501387\n", | |
| "\tspeed: 0.2915s/iter; left time: 2338.3453s\n", | |
| "\titers: 200, epoch: 2 | loss: 0.1376742\n", | |
| "\tspeed: 0.0801s/iter; left time: 634.7708s\n", | |
| "Epoch: 2 cost time: 25.036283254623413\n", | |
| "Traceback (most recent call last):\n", | |
| " File \"run.py\", line 145, in <module>\n", | |
| " exp.train(setting)\n", | |
| " File \"/content/CycleNet/exp/exp_main.py\", line 224, in train\n", | |
| " vali_loss = self.vali(vali_data, vali_loader, criterion)\n", | |
| " File \"/content/CycleNet/exp/exp_main.py\", line 68, in vali\n", | |
| " batch_x = batch_x.float().to(self.device)\n", | |
| "KeyboardInterrupt\n", | |
| "^C\n" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "source": [ | |
| "!source /usr/local/bin/activate nenv && bash scripts/CycleNet/Linear-Input-336/electricity.sh;" | |
| ], | |
| "metadata": { | |
| "colab": { | |
| "base_uri": "https://localhost:8080/" | |
| }, | |
| "id": "CBfBky9NQca1", | |
| "outputId": "5d1b9c7a-387e-4dc8-cf47-576440e4f9e3" | |
| }, | |
| "execution_count": 8, | |
| "outputs": [ | |
| { | |
| "output_type": "stream", | |
| "name": "stdout", | |
| "text": [ | |
| "Args in experiment:\n", | |
| "Namespace(activation='gelu', affine=0, batch_size=64, c_out=7, channel_id=1, checkpoints='./checkpoints/', cycle=168, d_ff=2048, d_layers=1, d_model=512, data='custom', data_path='electricity.csv', dec_in=7, dec_way='pmf', decomposition=0, des='test', devices='0,1', distil=True, do_predict=False, dropout=0, e_layers=2, embed='timeF', embed_type=0, enc_in=321, factor=1, fc_dropout=0.05, features='M', freq='h', gpu=0, head_dropout=0.0, individual=0, is_training=1, itr=1, kernel_size=25, label_len=0, learning_rate=0.005, loss='mse', lradj='type3', model='CycleNet', model_id='Electricity_336_96', model_type='linear', moving_avg=25, n_heads=8, num_workers=10, output_attention=False, padding_patch='end', patch_len=16, patience=5, pct_start=0.3, period_len=24, pred_len=96, random_seed=2024, revin=0, rnn_type='gru', root_path='./dataset/', seg_len=48, seq_len=336, stride=8, subtract_last=0, target='OT', test_flop=False, train_epochs=30, use_amp=False, use_gpu=True, use_multi_gpu=False, use_revin=1)\n", | |
| "Use GPU: cuda:0\n", | |
| ">>>>>>>start training : Electricity_336_96_CycleNet_custom_ftM_sl336_pl96_cycle168_linear_seed2024>>>>>>>>>>>>>>>>>>>>>>>>>>\n", | |
| "train 17981\n", | |
| "val 2537\n", | |
| "test 5165\n", | |
| "\titers: 100, epoch: 1 | loss: 0.2686359\n", | |
| "\tspeed: 0.1058s/iter; left time: 878.1525s\n", | |
| "\titers: 200, epoch: 1 | loss: 0.1989910\n", | |
| "\tspeed: 0.0778s/iter; left time: 638.3535s\n", | |
| "Epoch: 1 cost time: 24.25062394142151\n", | |
| "Traceback (most recent call last):\n", | |
| " File \"run.py\", line 145, in <module>\n", | |
| " exp.train(setting)\n", | |
| " File \"/content/CycleNet/exp/exp_main.py\", line 225, in train\n", | |
| " test_loss = self.vali(test_data, test_loader, criterion)\n", | |
| " File \"/content/CycleNet/exp/exp_main.py\", line 103, in vali\n", | |
| " batch_y = batch_y[:, -self.args.pred_len:, f_dim:].to(self.device)\n", | |
| "KeyboardInterrupt\n", | |
| "^C\n" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Xet Storage Details
- Size:
- 42.7 kB
- Xet hash:
- 0c8dfcedb995b3450923d179e9778b6247efdff3d800f4f6e9dd6a9a6ac65d9a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.