Closed sweep-nightly[bot] closed 1 year ago
src/cnn.py
ā
Sandbox logs for
pip install -r requirements.txt
1/1 ā (`1`)Looking in links: https://download.pytorch.org/whl/torch_stable.html DEPRECATION: The HTML index page being used (https://download.pytorch.org/whl/torch_stable.html) is not a proper HTML 5 document. This is in violation of PEP 503 which requires these pages to be well-formed HTML 5 documents. Please reach out to the owners of this index page, and ask them to update this index page to a valid HTML 5 document. pip 22.2 will enforce this behaviour change. Discussion can be found at https://github.com/pypa/pip/issues/10825 Collecting annotated-types==0.6.0 Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB) Collecting anyio==3.7.1 Downloading anyio-3.7.1-py3-none-any.whl (80 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 80.9/80.9 KB 2.6 MB/s eta 0:00:00 Collecting astroid==3.0.1 Downloading astroid-3.0.1-py3-none-any.whl (275 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 275.2/275.2 KB 14.3 MB/s eta 0:00:00 Collecting certifi==2022.12.7 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 155.3/155.3 KB 27.1 MB/s eta 0:00:00 Collecting charset-normalizer==2.1.1 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Requirement already satisfied: click==8.1.7 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 7)) (8.1.7) Collecting dill==0.3. Downloading dill-0.3.0.tar.gz (151 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 151.4/151.4 KB 21.3 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' ERROR: Could not find a version that satisfies the requirement distutils (from versions: none) ERROR: No matching distribution found for distutils
requirements.txt
ā
Sandbox logs for
pip install -r requirements.txt
1/1 ā (`1`)Looking in links: https://download.pytorch.org/whl/torch_stable.html DEPRECATION: The HTML index page being used (https://download.pytorch.org/whl/torch_stable.html) is not a proper HTML 5 document. This is in violation of PEP 503 which requires these pages to be well-formed HTML 5 documents. Please reach out to the owners of this index page, and ask them to update this index page to a valid HTML 5 document. pip 22.2 will enforce this behaviour change. Discussion can be found at https://github.com/pypa/pip/issues/10825 Collecting annotated-types==0.6.0 Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB) Collecting anyio==3.7.1 Downloading anyio-3.7.1-py3-none-any.whl (80 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 80.9/80.9 KB 2.4 MB/s eta 0:00:00 Collecting astroid==3.0.1 Downloading astroid-3.0.1-py3-none-any.whl (275 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 275.2/275.2 KB 17.0 MB/s eta 0:00:00 Collecting certifi==2022.12.7 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 155.3/155.3 KB 25.7 MB/s eta 0:00:00 Collecting charset-normalizer==2.1.1 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Requirement already satisfied: click==8.1.7 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 7)) (8.1.7) Collecting dill==0.3. Downloading dill-0.3.0.tar.gz (151 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 151.4/151.4 KB 26.1 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' ERROR: Could not find a version that satisfies the requirement distutils (from versions: none) ERROR: No matching distribution found for distutils
src/cnn.py
ā
Sandbox logs for
pip install -r requirements.txt
1/1 ā (`1`)Looking in links: https://download.pytorch.org/whl/torch_stable.html DEPRECATION: The HTML index page being used (https://download.pytorch.org/whl/torch_stable.html) is not a proper HTML 5 document. This is in violation of PEP 503 which requires these pages to be well-formed HTML 5 documents. Please reach out to the owners of this index page, and ask them to update this index page to a valid HTML 5 document. pip 22.2 will enforce this behaviour change. Discussion can be found at https://github.com/pypa/pip/issues/10825 Collecting annotated-types==0.6.0 Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB) Collecting anyio==3.7.1 Downloading anyio-3.7.1-py3-none-any.whl (80 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 80.9/80.9 KB 2.6 MB/s eta 0:00:00 Collecting astroid==3.0.1 Downloading astroid-3.0.1-py3-none-any.whl (275 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 275.2/275.2 KB 14.3 MB/s eta 0:00:00 Collecting certifi==2022.12.7 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 155.3/155.3 KB 27.1 MB/s eta 0:00:00 Collecting charset-normalizer==2.1.1 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Requirement already satisfied: click==8.1.7 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 7)) (8.1.7) Collecting dill==0.3. Downloading dill-0.3.0.tar.gz (151 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 151.4/151.4 KB 21.3 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' ERROR: Could not find a version that satisfies the requirement distutils (from versions: none) ERROR: No matching distribution found for distutils
src/main.py
ā
Sandbox logs for
pip install -r requirements.txt
1/1 ā (`1`)Looking in links: https://download.pytorch.org/whl/torch_stable.html DEPRECATION: The HTML index page being used (https://download.pytorch.org/whl/torch_stable.html) is not a proper HTML 5 document. This is in violation of PEP 503 which requires these pages to be well-formed HTML 5 documents. Please reach out to the owners of this index page, and ask them to update this index page to a valid HTML 5 document. pip 22.2 will enforce this behaviour change. Discussion can be found at https://github.com/pypa/pip/issues/10825 Collecting annotated-types==0.6.0 Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB) Collecting anyio==3.7.1 Downloading anyio-3.7.1-py3-none-any.whl (80 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 80.9/80.9 KB 2.7 MB/s eta 0:00:00 Collecting astroid==3.0.1 Downloading astroid-3.0.1-py3-none-any.whl (275 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 275.2/275.2 KB 15.5 MB/s eta 0:00:00 Collecting certifi==2022.12.7 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 155.3/155.3 KB 26.9 MB/s eta 0:00:00 Collecting charset-normalizer==2.1.1 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Requirement already satisfied: click==8.1.7 in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 7)) (8.1.7) Collecting dill==0.3. Downloading dill-0.3.0.tar.gz (151 kB) āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā 151.4/151.4 KB 24.0 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' ERROR: Could not find a version that satisfies the requirement distutils (from versions: none) ERROR: No matching distribution found for distutils
Description
This PR adds a new Convolutional Neural Network (CNN) class in cnn.py to handle the MNIST dataset. The CNN class is defined with two convolutional layers followed by two fully connected layers. The existing main.py file is modified to import and use this new class.
Summary of Changes
Please review and merge this PR. Thank you!
Fixes #9.
š Latest improvements to Sweep:
š” To get Sweep to edit this pull request, you can: