udacity / aipnd-revision Goto Github PK
View Code? Open in Web Editor NEWRevision to the code and associated files for the AI Programming with Python Nanodegree Program
License: MIT License
Revision to the code and associated files for the AI Programming with Python Nanodegree Program
License: MIT License
python:latest does not support the old version of torch
`
docker run -it --rm -v ~/git:/root/git/:Z python:latest /bin/bash
root@d90a2e105924:~/git/AIPND-revision# pip3 install -r requirements.txt
ERROR: Could not find a version that satisfies the requirement torch==1.4.0 (from versions: 1.11.0)
ERROR: No matching distribution found for torch==1.4.0
root@d90a2e105924:~/git/AIPND-revision# pip3 install -r requirements.txt
Collecting torch==1.11.0
Downloading torch-1.11.0-cp310-cp310-manylinux1_x86_64.whl (750.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 750.6/750.6 MB 1.2 MB/s eta 0:00:00
Collecting Pillow==7.1.2
Downloading Pillow-7.1.2.tar.gz (38.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.9/38.9 MB 13.3 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting torchvision==0.2.1
Downloading torchvision-0.2.1-py2.py3-none-any.whl (54 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.6/54.6 KB 215.6 kB/s eta 0:00:00
Collecting typing-extensions
Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB)
Collecting six
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting numpy
Downloading numpy-1.22.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.8/16.8 MB 20.2 MB/s eta 0:00:00
Building wheels for collected packages: Pillow
Building wheel for Pillow (setup.py) ... done
Created wheel for Pillow: filename=Pillow-7.1.2-cp310-cp310-linux_x86_64.whl size=1343757 sha256=404372c7f771cb6ea297747b743216bbaaa67bb7136cf3d46d6072f66325d91d
Stored in directory: /root/.cache/pip/wheels/b1/33/ce/d1c30cb9fc3ba1b8e60a01d4f49e35a1e65b6911bd3722e3e9
Successfully built Pillow
Installing collected packages: typing-extensions, six, Pillow, numpy, torch, torchvision
Successfully installed Pillow-7.1.2 numpy-1.22.3 six-1.16.0 torch-1.11.0 torchvision-0.2.1 typing-extensions-4.1.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv`
When running:
python .\check_images.py --arch alexnet
The following warning is generated (see attached issue_1.txt for details):
D:\Users\malma\anaconda3\envs\py3_env\lib\site-packages\torchvision\models_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
Attempting to install requirements.txt running pip3 install -r requirements.txt
as stated in the instructions.
Receive the following error:
ERROR: No matching distribution found for torch==0.4.0 (from -r requirements.txt (line 1))
Running Python 3.8 on Windows 10
I'm wondering why this repository exists, instead of as applied revisions to https://github.com/udacity/AIPND?
I see that the other repository is still being updated, as of January, so it doesn't look like this "revised" repo is meant to be a replacement. It isn't clear in the README.md why this is a different repository when a new branch / merge into the other repo would retain the history to show what was revised (if needed).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.