udacity / carnd-term1-starter-kit Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
@saiprashanths could you folks setup a PR from your fork? π
The docker web hooks to automatically rebuild the images have to updated to work with Dockerfile.cpu
and Dockerfile.gpu
. cc @dhruvp
test.ipynb notebook does not run.
kernel is not up.
environment is build and activated succesfully.
running conda locally on windows 10 64bit.
I had clone this repo locally and i am trying to build the Docker image using the Dockerfile.gpu
file.
With the command docker build -f Dockerfile.gpu -t carnd:gpu .
the build process fails with the following error
jupyter-1.0.0- 100% |###############################| Time: 0:00:00 1.75 MB/s
Extracting packages ...
[ COMPLETE ]|##################################################| 100%
Linking packages ...
Traceback (most recent call last):################## | 58%
File "/root/miniconda3/envs/carnd-term1/bin/jupyter-nbextension", line 4, in <module>
import notebook.nbextensions
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/notebook/__init__.py", line 25, in <module>
from .nbextensions import install_nbextension
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/notebook/nbextensions.py", line 23, in <module>
from jupyter_core.paths import (
ImportError: No module named 'jupyter_core'
An unexpected error has occurred.
Please consider posting the following information to the
conda GitHub issue tracker at:
https://github.com/conda/conda/issues
Current conda install:
platform : linux-64
conda version : 4.2.12
conda is private : False
conda-env version : 4.2.12
conda-build version : not installed
python version : 3.5.2.final.0
requests version : 2.11.1
root environment : /root/miniconda3 (writable)
default environment : /root/miniconda3
envs directories : /root/miniconda3/envs
package cache : /root/miniconda3/pkgs
channel URLs : https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
config file : None
offline mode : False
`$ /root/miniconda3/bin/conda-env create -f=environment.yml --name carnd-term1 --debug -v -v`
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.5/site-packages/conda/exceptions.py", line 479, in conda_exception_handler
return_value = func(*args, **kwargs)
File "/root/miniconda3/lib/python3.5/site-packages/conda_env/cli/main_create.py", line 111, in execute
installer.install(prefix, pkg_specs, args, env)
File "/root/miniconda3/lib/python3.5/site-packages/conda_env/installers/conda.py", line 33, in install
plan.execute_actions(actions, index, verbose=not args.quiet)
File "/root/miniconda3/lib/python3.5/site-packages/conda/plan.py", line 643, in execute_actions
inst.execute_instructions(plan, index, verbose)
File "/root/miniconda3/lib/python3.5/site-packages/conda/instructions.py", line 134, in execute_instructions
cmd(state, arg)
File "/root/miniconda3/lib/python3.5/site-packages/conda/instructions.py", line 78, in LINK_CMD
link(state['prefix'], dist, lt, index=state['index'])
File "/root/miniconda3/lib/python3.5/site-packages/conda/install.py", line 993, in link
raise LinkError("Error: post-link failed for: %s" % dist)
conda.exceptions.LinkError: Link error: Error: post-link failed for: menpo::widgetsnbextension-1.2.3-py35_1
Any idea on how I can fix this ?
NOTE: If you are using windows, you do not issue 'source activate', just activate in Conda
I'm on Windows 7 Pro:
Instructions for Windows say that to activate, one must type:
activate carnd-term1
However, this was the response:
i Term1 $ activate carnd-term1
Error: activate must be sourced. Run 'source activate envname' instead of 'activate envname'.
So I did as it said (shich is the same command as for non-Windows users), and this was the response:
i Term1 $ source activate carnd-term1
(carnd-term1) i Term1 $
Note: I haven't gotten any further than this, so I dunno if anything else works.
But it looks to me that the same command as for non-Windows users,
was needed to activate the anaconda environment on my Windows 7 Pro machine.
The "Install nvidia-docker" line should be replaced like this:
wget -P /tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.0/nvidia-docker_1.0.0-1_amd64.deb
I got this error when I tried to re-create my conda environment on Mac OS. Caused by tensorflow 1.0 release?
Moving tensorflow out of the pip section and using tensorflow=0.12.1 allowed me to create the environment and run CarND-LeNet-Lab/LeNet-Lab-Solution.ipynb.
Please provide the link so I can add in pip: section to replace that for setup.
Example like apple user reported earlier.
There is no GPU support for Linux systems as of now.
Is there any plan for implementing this?
I tried building an image from the Dockerfile.gpu file and the build process succeeded without any errors.
However when I try to run some of the tensor flow scripts the scripts fails with the following error
F tensorflow/stream_executor/cuda/cuda_dnn.cc:221] Check failed: s.ok() could not find cudnnCreate in cudnn DSO; dlerror: /root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/tensorflow/python/_pywrap_tensorflow.so: undefined symbol: cudnnCreate Aborted (core dumped)
Hi.
The root folder doesn't contain any test.ipynb to test and make sure the installed packages are working properly as mentioned in the course 18. Run Some Code.
I built the Docker images (both CPU and GPU).
Building step : OK
But when I launch the container, it fails due to a Jupyter error about the configuration ..
docker run -it -p 8889:8888 -v "$PWD"/:/src jguillaumin/carnd-term1:cpu
[I 11:38:09.122 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[W 11:38:09.152 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.
[C 11:38:09.160 NotebookApp] Running as root is not recommended. Use --allow-root to bypass.
When I use --allow-root
it works :
docker run -it -p 8889:8888 -v "$PWD"/:/src/ jguillaumin/carnd-term1:cpu bash
root@1e4124dc80a1:/src# jupyter notebook &
[1] 34
root@1e4124dc80a1:/src# [I 11:43:34.335 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[W 11:43:34.364 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.
[C 11:43:34.372 NotebookApp] Running as root is not recommended. Use --allow-root to bypass.
[1]+ Exit 1 jupyter notebook
root@1e4124dc80a1:/src#
root@1e4124dc80a1:/src#
root@1e4124dc80a1:/src# jupyter notebook --allow-root &
[1] 38
root@1e4124dc80a1:/src# [W 11:43:46.661 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.
[I 11:43:46.666 NotebookApp] Serving notebooks from local directory: /src
[I 11:43:46.666 NotebookApp] 0 active kernels
[I 11:43:46.666 NotebookApp] The Jupyter Notebook is running at: http://[all ip addresses on your system]:8888/?token=94a36d6cc503122e60de4744ab892b34bf2ae2d74d4d7fdb
[I 11:43:46.666 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 11:43:46.666 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=94a36d6cc503122e60de4744ab892b34bf2ae2d74d4d7fdb
[I 13:43:52.801 NotebookApp] 302 GET /?token=94a36d6cc503122e60de4744ab892b34bf2ae2d74d4d7fdb (127.0.0.1) 0.37ms
I built the sames images few months ago .. it worked well.
Does anyone know how to change jupyter configuration to avoid this problem ?
I'm working on a local machine, I think it's not a security/vulnerability issue, but I would like to understand this problem.
Thanks
PS SDC\Repo\CarND-Term1-Starter-Kit> docker build -t CarND-Term1
invalid argument "CarND-Term1" for t: Error parsing reference: "CarND-Term1" is not a valid repository/tag
See 'docker build --help'.
when every dependency is installed, but at last it prompt a error lack of 'requests' lib, so I manually install it with pip install requests, it works, so write down for successors.
docker run -it --rm --entrypoint "/run.sh" -p 8888:8888 -v pwd
:/src starter-kit
[I 06:00:54.232 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
Traceback (most recent call last):
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/traitlets/traitlets.py", line 528, in get
value = obj._trait_values[self.name]
KeyError: 'allow_remote_access'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/notebook/notebookapp.py", line 869, in _default_allow_remote
addr = ipaddress.ip_address(self.ip)
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/ipaddress.py", line 54, in ip_address
address)
ValueError: '' does not appear to be an IPv4 or IPv6 address
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/miniconda3/envs/carnd-term1/bin/jupyter-notebook", line 11, in
sys.exit(main())
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/jupyter_core/application.py", line 266, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/traitlets/config/application.py", line 657, in launch_instance
app.initialize(argv)
File "", line 2, in initialize
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/notebook/notebookapp.py", line 1629, in initialize
self.init_webapp()
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/notebook/notebookapp.py", line 1379, in init_webapp
self.jinja_environment_options,
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/notebook/notebookapp.py", line 158, in init
default_url, settings_overrides, jinja_env_options)
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/notebook/notebookapp.py", line 251, in init_settings
allow_remote_access=jupyter_app.allow_remote_access,
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/traitlets/traitlets.py", line 556, in get
return self.get(obj, cls)
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/traitlets/traitlets.py", line 535, in get
value = self._validate(obj, dynamic_default())
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/notebook/notebookapp.py", line 872, in _default_allow_remote
for info in socket.getaddrinfo(self.ip, self.port, 0, socket.SOCK_STREAM):
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/socket.py", line 732, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
$ conda env create -f environment.yml
Fetching package metadata ...
CondaHTTPError: HTTP 401 UNAUTHORIZED for url <https://conda.anaconda.org/t/ab-06078159-d66e-4f49-af31-35a1db259db2/menpo/linux-64/repodata.json>
Elapsed: 00:00.646584
The remote server has indicated you are using invalid credentials for this channel.
If the remote site is anaconda.org or follows the Anaconda Server API, you
will need to
(a) login to the site with `anaconda login`, or
(b) provide conda with a valid token directly.
Further configuration help can be found at <https://conda.io/docs/config.html>.
Everytime I want to install a package or excecute the command **conda update conda**
I get this message:
Fetching package metadata ...
CondaHTTPError: HTTP None None
for url <None>
An HTTP error occurred when trying to retrieve this URL.
ConnectionError(MaxRetryError("HTTPSConnectionPool(host='repo.continuum.io', port=443): Max retries exceeded with url: /pkgs/free/win-64/repodata.json.bz2 (Caused by ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 407 authenticationrequired',)))",),)
System:
Windows 10 behind a cisco vpn connection. Who can help me with this issue?
I did not find any help in the net.
Hi guys
When I run the following command I get an error, it's seems something is missing in the environmental installation. Could you help me to solve this?
import imageio
imageio.plugins.ffmpeg.download()
from moviepy.editor import VideoFileClip
from IPython.display import HTML
ImportError Traceback (most recent call last)
in ()
3 #imageio.plugins.ffmpeg.download()
4
----> 5 from moviepy.editor import VideoFileClip
6 from IPython.display import HTML
~/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/moviepy/editor.py in ()
29 from .video.io.VideoFileClip import VideoFileClip
30 from .video.io.ImageSequenceClip import ImageSequenceClip
---> 31 from .video.io.downloader import download_webfile
32 from .video.VideoClip import VideoClip, ImageClip, ColorClip, TextClip
33 from .video.compositing.CompositeVideoClip import CompositeVideoClip, clips_array
~/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/moviepy/video/io/downloader.py in ()
5 import os
6
----> 7 import requests
8
9 from moviepy.tools import subprocess_call
ImportError: No module named 'requests'
Hi,"conda env create -f environment.yml" reallly doesn't work, I just googled some, there is one post writing "conda env create -f=environment.yml", well, It is downloading something now, why is that?
The instalation abort with the following error:
PaddingError: Placeholder of length '32' too short in package conda-forge::hdf5-1.8.17-vc14_11.
The package must be rebuilt with conda-build > 2.0.
Hi guys.
Since I always met troubles installing Miniconda3 4.3.13 and 4.3.11- Windows-x86-64(can not run .exe smoothly), I have downloaded the Miniconda3 4.2.12 version and finished the installation successfully. While following the instruction in readme.txt and creating the environment carnd-term1 with environment.yml, I met the error as follows:
**NoPackagesFoundError: Package missing in current win-64 channels:
the attached figure will show exact status of this error.
Could anyone help me? I have been stuck here for this whole day, which delayed my assignment badly. Please help!
I'm trying to create conda environment on Ubuntu 16.04, it keeps giving this error:
Fetching package metadata ...............
ResolvePackageNotFound:
- opencv3
Hi, when i use command ""conda env create -f environment.yml" to install packages, below error report: "
"Collecting moviepy (from -r C:\Users\UIDQ6035\Documents\self driving\Term1\CarND -Term1-Starter-Kit-master\condaenv.vu4d2e.requirements.txt (line 1)) Could not find a version that satisfies the requirement moviepy (from -r C:\Us ers\UIDQ6035\Documents\self driving\Term1\CarND-Term1-Starter-Kit-master\condaen v.vu4d2e.requirements.txt (line 1)) (from versions: ) No matching distribution found for moviepy (from -r C:\Users\UIDQ6035\Documents\ self driving\Term1\CarND-Term1-Starter-Kit-master\condaenv.vu4d2e.requirements.t xt (line 1))
CondaValueError: pip returned an error "
I use Windows7 and behind proxy.
this section in the readme.md
If you're on Windows:
docker run -it --rm -p 8888:8888 -v ${pwd}:/src udacity/carnd-term1-starer-kit
Actually I think the {pwd}
is windows 10 specific. It's docker for windows. Windows <10 is docker toolbox, which has a bash terminal afaik
so that command should only be for win 10. The other one for other versions...
PS SDC\Repo\CarND-Term1-Starter-Kit> docker build -t carnd-term1 .
An error occurred trying to connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/build?buildargs=%7B%7D&cgroupparen
t=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&rm=
1&shmsize=0&t=carnd-term1&ulimits=null: open //./pipe/docker_engine: The system cannot find the file specified.
Hi, I check out this project, install some dependencies and run test.ipynb
.
But, when I run to this:
new_clip.write_videofile(filename='test_output.mp4', audio=False)
An error occurred:
MoviePy error: FFMPEG encountered the following error while writing file
the full stack trace here:
[MoviePy] >>>> Building video test_output.mp4
[MoviePy] Writing video test_output.mp4
---------------------------------------------------------------------------
BrokenPipeError Traceback (most recent call last)
~/anaconda3/lib/python3.6/site-packages/moviepy/video/io/ffmpeg_writer.py in write_frame(self, img_array)
133 if PY3:
--> 134 self.proc.stdin.write(img_array.tobytes())
135 else:
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
OSError Traceback (most recent call last)
<timed eval> in <module>()
<decorator-gen-175> in write_videofile(self, filename, fps, codec, bitrate, audio, audio_fps, preset, audio_nbytes, audio_codec, audio_bitrate, audio_bufsize, temp_audiofile, rewrite_audio, remove_temp, write_logfile, verbose, threads, ffmpeg_params, progress_bar)
~/anaconda3/lib/python3.6/site-packages/moviepy/decorators.py in requires_duration(f, clip, *a, **k)
52 raise ValueError("Attribute 'duration' not set")
53 else:
---> 54 return f(clip, *a, **k)
55
56
<decorator-gen-174> in write_videofile(self, filename, fps, codec, bitrate, audio, audio_fps, preset, audio_nbytes, audio_codec, audio_bitrate, audio_bufsize, temp_audiofile, rewrite_audio, remove_temp, write_logfile, verbose, threads, ffmpeg_params, progress_bar)
~/anaconda3/lib/python3.6/site-packages/moviepy/decorators.py in use_clip_fps_by_default(f, clip, *a, **k)
135 for (k,v) in k.items()}
136
--> 137 return f(clip, *new_a, **new_kw)
<decorator-gen-173> in write_videofile(self, filename, fps, codec, bitrate, audio, audio_fps, preset, audio_nbytes, audio_codec, audio_bitrate, audio_bufsize, temp_audiofile, rewrite_audio, remove_temp, write_logfile, verbose, threads, ffmpeg_params, progress_bar)
~/anaconda3/lib/python3.6/site-packages/moviepy/decorators.py in convert_masks_to_RGB(f, clip, *a, **k)
20 if clip.ismask:
21 clip = clip.to_RGB()
---> 22 return f(clip, *a, **k)
23
24 @decorator.decorator
~/anaconda3/lib/python3.6/site-packages/moviepy/video/VideoClip.py in write_videofile(self, filename, fps, codec, bitrate, audio, audio_fps, preset, audio_nbytes, audio_codec, audio_bitrate, audio_bufsize, temp_audiofile, rewrite_audio, remove_temp, write_logfile, verbose, threads, ffmpeg_params, progress_bar)
347 verbose=verbose, threads=threads,
348 ffmpeg_params=ffmpeg_params,
--> 349 progress_bar=progress_bar)
350
351 if remove_temp and make_audio:
~/anaconda3/lib/python3.6/site-packages/moviepy/video/io/ffmpeg_writer.py in ffmpeg_write_video(clip, filename, fps, codec, bitrate, preset, withmask, write_logfile, audiofile, verbose, threads, ffmpeg_params, progress_bar)
214 frame = np.dstack([frame,mask])
215
--> 216 writer.write_frame(frame)
217
218 writer.close()
~/anaconda3/lib/python3.6/site-packages/moviepy/video/io/ffmpeg_writer.py in write_frame(self, img_array)
176
177
--> 178 raise IOError(error)
179
180 def close(self):
OSError: [Errno 32] Broken pipe
MoviePy error: FFMPEG encountered the following error while writing file test_output.mp4:
b"Unrecognized option 'preset'.\nError splitting the argument list: Option not found\n"
ffmpeg
version:
localhost:~ Keen$ ffmpeg
ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers
built with clang version 4.0.1 (tags/RELEASE_401/final)
configuration: --prefix=/Users/keen/anaconda3 --disable-doc --enable-shared --extra-cflags='-fPIC -I/Users/keen/anaconda3/include' --extra-cxxflags='=-fPIC' --extra-libs='-L/Users/keen/anaconda3/lib -lz' --enable-pic --disable-static --disable-gpl --disable-nonfree --disable-openssl --enable-libvpx --cc=x86_64-apple-darwin13.4.0-clang --cxx=x86_64-apple-darwin13.4.0-clang++ --enable-libopus
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'
OS info:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ProductBuildVersion</key>
<string>17C205</string>
<key>ProductCopyright</key>
<string>1983-2018 Apple Inc.</string>
<key>ProductName</key>
<string>Mac OS X</string>
<key>ProductUserVisibleVersion</key>
<string>10.13.2</string>
<key>ProductVersion</key>
<string>10.13.2</string>
</dict>
</plist>
python version:
Python 3.6.3 |Anaconda custom (x86_64)| (default, Oct 6 2017, 12:04:38)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
python dependencies:
localhost:~ Keen$ pip freeze
alabaster==0.7.10
anaconda-client==1.6.5
anaconda-navigator==1.6.10
anaconda-project==0.8.0
appnope==0.1.0
appscript==1.0.1
asn1crypto==0.22.0
astroid==1.5.3
astropy==2.0.2
Babel==2.5.0
backports.shutil-get-terminal-size==1.0.0
beautifulsoup4==4.6.0
bitarray==0.8.1
bkcharts==0.2
blaze==0.11.3
bleach==2.0.0
bokeh==0.12.10
boto==2.48.0
Bottleneck==1.2.1
bz2file==0.98
certifi==2016.2.28
cffi==1.10.0
chardet==3.0.4
click==6.7
cloudpickle==0.4.0
clyent==1.2.2
colorama==0.3.9
conda==4.4.9
conda-build==3.0.27
conda-verify==2.0.0
contextlib2==0.5.5
cryptography==2.0.3
cycler==0.10.0
Cython==0.26.1
cytoolz==0.8.2
dask==0.15.3
datashape==0.5.4
decorator==4.0.11
distributed==1.19.1
docutils==0.14
entrypoints==0.2.3
et-xmlfile==1.0.1
fastcache==1.0.2
filelock==2.0.12
Flask==0.12.2
Flask-Cors==3.0.3
gensim==2.3.0
gevent==1.2.2
glob2==0.5
gmpy2==2.0.8
greenlet==0.4.12
h5py==2.7.1
heapdict==1.0.0
html5lib==0.999999999
idna==2.6
imageio==2.1.2
imagesize==0.7.1
ipykernel==4.6.1
ipython==6.1.0
ipython-genutils==0.2.0
ipywidgets==7.0.0
isort==4.2.15
itsdangerous==0.24
jdcal==1.3
jedi==0.10.2
jieba==0.39
Jinja2==2.9.6
jsonschema==2.6.0
jupyter-client==5.1.0
jupyter-console==5.2.0
jupyter-core==4.3.0
jupyterlab==0.27.0
jupyterlab-launcher==0.4.0
lazy-object-proxy==1.3.1
llvmlite==0.20.0
locket==0.2.0
lxml==4.1.0
MarkupSafe==1.0
matplotlib==2.1.0
mccabe==0.6.1
mistune==0.7.4
moviepy==0.2.3.2
mpmath==0.19
msgpack-python==0.4.8
multipledispatch==0.4.9
navigator-updater==0.1.0
nb-anacondacloud==1.4.0
nb-conda==2.2.0
nb-conda-kernels==2.1.0
nbconvert==5.3.1
nbformat==4.4.0
nbpresent==3.0.2
networkx==2.0
nltk==3.2.4
nose==1.3.7
notebook==5.0.0
numba==0.35.0
numexpr==2.6.2
numpy==1.12.1
numpydoc==0.7.0
odo==0.5.1
olefile==0.44
opencv-python==3.4.0.12
openpyxl==2.4.8
packaging==16.8
pandas==0.20.3
pandocfilters==1.4.2
partd==0.3.8
path.py==10.3.1
pathlib2==2.3.0
patsy==0.4.1
pep8==1.7.0
pexpect==4.2.1
pickleshare==0.7.4
Pillow==4.2.1
pkginfo==1.4.1
ply==3.10
prompt-toolkit==1.0.15
protobuf==3.4.1
psutil==5.4.0
ptyprocess==0.5.2
py==1.4.34
pycodestyle==2.3.1
pycosat==0.6.3
pycparser==2.18
pycrypto==2.6.1
pycurl==7.43.0
pyflakes==1.6.0
Pygments==2.2.0
pylint==1.7.4
pyodbc==4.0.17
pyOpenSSL==17.2.0
pyparsing==2.2.0
PySocks==1.6.7
pytest==3.2.1
python-dateutil==2.6.1
pytz==2017.2
PyWavelets==0.5.2
PyYAML==3.12
pyzmq==16.0.2
QtAwesome==0.4.4
qtconsole==4.3.1
QtPy==1.3.1
requests==2.14.2
rope==0.10.5
ruamel-yaml==0.11.14
scikit-image==0.13.0
scikit-learn==0.19.1
scipy==0.19.1
seaborn==0.8
simplegeneric==0.8.1
singledispatch==3.4.0.3
six==1.11.0
smart-open==1.5.3
snowballstemmer==1.2.1
sortedcollections==0.5.3
sortedcontainers==1.5.7
Sphinx==1.6.3
sphinxcontrib-websupport==1.0.1
spyder==3.2.4
SQLAlchemy==1.1.13
statsmodels==0.8.0
sympy==1.1.1
tables==3.4.2
tblib==1.3.2
tensorflow==1.1.0
terminado==0.6
testpath==0.3.1
toolz==0.8.2
tornado==4.5.2
tqdm==4.11.2
traitlets==4.3.2
typing==3.6.2
unicodecsv==0.14.1
urllib3==1.22
wcwidth==0.1.7
webencodings==0.5.1
Werkzeug==0.12.2
widgetsnbextension==3.0.2
wrapt==1.10.11
xlrd==1.1.0
XlsxWriter==1.0.2
xlwings==0.11.4
xlwt==1.2.0
zict==0.1.3
source code at here
Any one who can help me?
Hi,
I installed Anaconda environment miniconda v 4.3.13, but when I open the Anaconda prompt and run the first line "git clone https://github.com/udacity/CarND-Term1-Starter-Kit.git ", it says: 'git' is not recognized as an internal or external command, operable program or batch file.
Could someone help me with this issue?
Thanks!
carnd@ip-172-31-31-197:~/CarND-Term1-Starter-Kit$ conda env create -f environment-gpu.yml
Using Anaconda API: https://api.anaconda.org
Fetching package metadata ...........
Solving package specifications: ..........
Linking packages ...
Traceback (most recent call last):################################################################################## | 97%
File "/home/carnd/anaconda3/envs/carnd-term1/bin/jupyter-nbextension", line 4, in
import notebook.nbextensions
File "/home/carnd/anaconda3/envs/carnd-term1/lib/python3.5/site-packages/notebook/init.py", line 25, in
from .nbextensions import install_nbextension
File "/home/carnd/anaconda3/envs/carnd-term1/lib/python3.5/site-packages/notebook/nbextensions.py", line 23, in
from jupyter_core.paths import (
ImportError: No module named 'jupyter_core'
LinkError: Link error: Error: post-link failed for: menpo::widgetsnbextension-1.2.3-py35_1
The first line of this CSV is data, not attribute name. While I can simply work around it, but such a file is very unpleasant to deal with.
After issuing
sh conda env create -f environment.yml
It fails when it gets to keras:
Could not import setuptools which is required to install from a source distribution. Traceback (most recent call last): File "/Users/ejstembler/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/pip/req/req_install.py", line 387, in setup_py import setuptools # noqa File "/Users/ejstembler/.local/lib/python3.5/site-packages/setuptools/__init__.py", line 12, in import setuptools.version File "/Users/ejstembler/.local/lib/python3.5/site-packages/setuptools/version.py", line 1, in import pkg_resources File "/Users/ejstembler/.local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 74, in import appdirs ImportError: No module named 'appdirs' CondaValueError: pip returned an error.
This is on macOS Sierra, version 10.12.5 (16F73)
I also tried replacing - keras==1.2.1 with - git+https://github.com/fchollet/keras.git in environment.yml; same error.
Trying to install Anaconda env on windows 10 gives me an error
conda env create -f environment.yml
Fetching package metadata ...............
Solving package specifications: .
ERROR conda.core.link:_execute_actions(330): An error occurred while installing package 'conda-forge::qt-4.8.7-vc14_6'.
UnicodeDecodeError('utf-8', b'\x91\xaa\xae\xaf\xa8\xe0\xae\xa2\xa0\xad\xae \xe4\xa0\xa9\xab\xae\xa2: 1.\r\n', 0, 1, 'invalid start byte')
Attempting to roll back.
UnicodeDecodeError('utf-8', b'\x91\xaa\xae\xaf\xa8\xe0\xae\xa2\xa0\xad\xae \xe4\xa0\xa9\xab\xae\xa2: 1.\r\n', 0, 1, 'invalid start byte')
In CarND-Term1-Starter-Kit/doc/docker_for_aws.md, it refernces amazon ami ami-a9d276c9, which isn't currently availble. There's no description what this ami was.
Update: Was using a different region than us-west-2. Found ami in that region. Would be helpful to provide description, though.
Hi,
I built an image with Dockerfile.gpu-ubuntu-16.04
and Dockerfile.gpu
from this repo.
No problem during building, but it doesn't use the GPU when I launch it with nvidia-docker
.
I tried with this Dockerfile: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/docker/Dockerfile.gpu .
Well, it runs on my GPU, but it works with python 2.7.
When I try to mix the two dockerfiles, to create an image that uses Python 3.5, it failed during building.
Someone found or tried some solutions to run an image with Tensorflow & Keras on python3.5 ?
Configuration :
Laptop ASUS R415U
GTX 940MX (drivers : 370.28)
Ubuntu 16.04
kernel : 4.4.0-59-generic
Docker version 1.12.6, build 78d1802
The steps that were added to the CarND Lesson 2 to use this repository (Finding Lane Lines - Run Some Code) indicate that there should be a test.ipynb that should be run after the environment is set up to test it:
2. Launch the Jupyter notebook with Anaconda or Docker.
# Anaconda
source activate carnd-term1 # If currently deactivated, i.e. start of a new terminal session
jupyter notebook test.ipynb
...
3. Go to http://localhost:8888/notebooks/test.ipynb in your browser and run all the cells. Everything should execute without error.
This file seems to be missing.
@joshuacook should take a look at those more carefully. We started a document for this actually.
I think the first command you list is not needed, and the second has one syntax error , the pwd
needs to be {pwd}
here is the link to the doc we have working on this.
https://codeshare.io/axLBda
I tried to build docker image using Dockerfile of CarND-Term1-Starter-Kit.
https://github.com/udacity/CarND-Term1-Starter-Kit
But, I could not build docker image. Please give me some advice.
$ git clone https://github.com/udacity/CarND-Term1-Starter-Kit.git
$ cd CarND-Term1-Starter-Kit
$ docker build -t udacity/carnd-term1-starter-kit -f Dockerfile.cpu .
$ git clone https://github.com/udacity/CarND-Term1-Starter-Kit.git
$ cd CarND-Term1-Starter-Kit
$ docker build -t udacity/carnd-term1-starter-kit -f Dockerfile.gpu .
The following message was displayed.
Traceback (most recent call last): | 14%
File "/root/miniconda3/envs/carnd-term1/bin/jupyter-nbextension", line 7, in <module>
from notebook.nbextensions import main
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/notebook/__init__.py", line 25, in <module>
from .nbextensions import install_nbextension
File "/root/miniconda3/envs/carnd-term1/lib/python3.5/site-packages/notebook/nbextensions.py", line 23, in <module>
from jupyter_core.paths import (
ImportError: No module named 'jupyter_core'
An unexpected error has occurred.
Please consider posting the following information to the
conda GitHub issue tracker at:
https://github.com/conda/conda/issues
Hi,
I'm trying to build the Dockerfile.cpu on my laptop with Ubuntu 14.04 and I get the following error:
CondaError: OSError(18, 'Invalid cross-device link')
on the command RUN conda env create -f=environment.yml --name carnd-term1
.
My docker version
:
Client:
Version: 1.12.6
API version: 1.24
Go version: go1.6.4
Git commit: 78d1802
Built: Tue Jan 10 20:26:30 2017
OS/Arch: linux/amd64
Server:
Version: 1.12.6
API version: 1.24
Go version: go1.6.4
Git commit: 78d1802
Built: Tue Jan 10 20:26:30 2017
OS/Arch: linux/amd64
Once it's ready move it to the udacity org
these steps are specific to opening a notebook for the tensorflow lab.
not sure we want this in general instructions. ideally docker opens up a jupyter sessions I suppose, but in the pwd, and not a specific notebook?
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.