Coder Social home page Coder Social logo

aind2-dl's Introduction

aind2-dl

Instructions

  1. Clone the repository and navigate to the downloaded folder.

    	git clone https://github.com/udacity/aind2-dl.git
    	cd aind2-dl
    
  2. Obtain the necessary Python packages, and switch Keras backend to Tensorflow.

    For Mac/OSX:

    	conda env create -f requirements/aind-dl-mac.yml
    	source activate aind-dl
    	KERAS_BACKEND=tensorflow python -c "from keras import backend"
    

    For Windows:

    	conda env create -f requirements/aind-dl-windows.yml
    	activate aind-dl
    	set KERAS_BACKEND=tensorflow
    	python -c "from keras import backend"
    

    For Linux:

    	conda env create -f requirements/aind-dl-linux.yml
    	source activate aind-dl
    	KERAS_BACKEND=tensorflow python -c "from keras import backend"
    
  3. Enjoy!

aind2-dl's People

Contributors

cgearhart avatar luisguiserrano avatar mjschock avatar napratin avatar ronny-udacity avatar sudkul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aind2-dl's Issues

Discrepancies in requirements and yaml files

I just forked and cloned this repo and created the conda environment per the readme.
I then launched the Student_Admissions.ipynb and the very first code block returned an error stating that there is no 'pandas' module.

Checking the aind-dl-windows.yml file, I see that there is nothing for pandas in the list, although it is in the requirements.txt list. Is there a way to load the requirements list that I missed? There are some other discrepancies as well.

If it's just adding the requirements specifications to the .yml file, should I make the changes and submit a pull request?

Issue creating env on Linux

platform : linux-64
conda version : 4.3.29
conda-env version : 4.3.29
python version : 3.6.2.final.0

Running “conda env create -f requirements/aind-dl-linux.yml” from the README section for linux generates the following errors:

` Traceback (most recent call last):
File "/home/xyz/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 497, in run_script
subprocess_call(command_args, env=env, path=dirname(path))
File "/home/xyz/anaconda3/lib/python3.6/site-packages/conda/gateways/subprocess.py", line 56, in subprocess_call
output=_format_output(command_str, path, rc, stdout, stderr))
subprocess.CalledProcessError: Command '['/bin/bash', '-x', '/home/xyz/anaconda3/envs/aind-dl/bin/.rise-post-link.sh']' returned non-zero exit status 126.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/xyz/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 327, in _execute_actions
    run_script(target_prefix, Dist(pkg_data), 'post-unlink' if is_unlink else 'post-link')
  File "/home/xyz/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 513, in run_script
    raise LinkError(message)
conda.exceptions.LinkError: post-link script failed for package damianavila82::rise-4.0.0b1-py35_0
running your command again with `-v` will provide additional information
location of failed script: /home/xyz/anaconda3/envs/aind-dl/bin/.rise-post-link.sh
==> script messages <==
<None>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/xyz/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 281, in execute
    pkg_data, actions)
  File "/home/xyz/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 344, in _execute_actions
    reverse_excs,
conda.CondaMultiError: post-link script failed for package damianavila82::rise-4.0.0b1-py35_0
running your command again with `-v` will provide additional information
location of failed script: /home/xyz/anaconda3/envs/aind-dl/bin/.rise-post-link.sh
==> script messages <==
<None>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/xyz/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
    return_value = func(*args, **kwargs)
  File "/home/xyz/anaconda3/lib/python3.6/site-packages/conda_env/cli/main_create.py", line 108, in execute
    installer.install(prefix, pkg_specs, args, env)
  File "/home/xyz/anaconda3/lib/python3.6/site-packages/conda_env/installers/conda.py", line 37, in install
    plan.execute_actions(actions, index, verbose=not args.quiet)
  File "/home/xyz/anaconda3/lib/python3.6/site-packages/conda/plan.py", line 830, in execute_actions
    execute_instructions(plan, index, verbose)
  File "/home/xyz/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 247, in execute_instructions
    cmd(state, arg)
  File "/home/xyz/anaconda3/lib/python3.6/site-packages/conda/instructions.py", line 108, in UNLINKLINKTRANSACTION_CMD
    txn.execute()
  File "/home/xyz/anaconda3/lib/python3.6/site-packages/conda/core/link.py", line 297, in execute
    rollback_excs,
conda.CondaMultiError: post-link script failed for package damianavila82::rise-4.0.0b1-py35_0
running your command again with `-v` will provide additional information
location of failed script: /home/xyz/anaconda3/envs/aind-dl/bin/.rise-post-link.sh
==> script messages <==
<None>

`

No module named ipykernel_launcher

On MacOs 10.13.1 with Anaconda 4.3.30 following the instructions in the README and starting the Student_admissions.ipynb results in the following errors:

[I 16:02:43.865 NotebookApp] Kernel started: c74c09fc-a801-47b0-93e3-c935b4ed4e2a
/Users/xyz/anaconda3/envs/aind-dl/bin/python: No module named ipykernel_launcher
[I 16:02:46.851 NotebookApp] KernelRestarter: restarting kernel (1/5)
/Users/xyz/anaconda3/envs/aind-dl/bin/python: No module named ipykernel_launcher
[I 16:02:49.861 NotebookApp] KernelRestarter: restarting kernel (2/5)
/Users/xyz/anaconda3/envs/aind-dl/bin/python: No module named ipykernel_launcher
[I 16:02:52.869 NotebookApp] KernelRestarter: restarting kernel (3/5)
/Users/xyz/anaconda3/envs/aind-dl/bin/python: No module named ipykernel_launcher
[W 16:02:54.235 NotebookApp] Timeout waiting for kernel_info reply from c74c09fc-a801-47b0-93e3-c935b4ed4e2a
[I 16:02:55.879 NotebookApp] KernelRestarter: restarting kernel (4/5)
WARNING:root:kernel c74c09fc-a801-47b0-93e3-c935b4ed4e2a restarted
/Users/omaerz/anaconda3/envs/aind-dl/bin/python: No module named ipykernel_launcher
[W 16:02:58.893 NotebookApp] KernelRestarter: restart failed
[W 16:02:58.894 NotebookApp] Kernel c74c09fc-a801-47b0-93e3-c935b4ed4e2a died, removing from map.
ERROR:root:kernel c74c09fc-a801-47b0-93e3-c935b4ed4e2a restarted failed!
[W 16:02:58.930 NotebookApp] Kernel deleted before session
[W 16:02:58.931 NotebookApp] 410 DELETE /api/sessions/85eeca73-09fa-4d0d-8b8d-307eaff1286a (::1) 4.99ms referer=http://localhost:8888/notebooks/Student_Admissions.ipynb

Packages missing in current linux-64 channels

  • appnope 0.1.0 py35_0
  • appscript 1.0.1 py35_0
  • python.app 1.2 py35_4
  • xlwings 0.10.2 py35_0

This is happening when creating the conda environment.
Can somebody help with this? I am on Ubuntu 15.04

Typo in Student_Admissions.pynd

In cell 4 in Student_Admissions.pynb, the last line is y = keras.utils.to_categorical_data. I believe it should be np_utils.to_categorical.

resolved packages not found

I am running ubuntu 16.04 when i create try to create an environment using says

conda env create -f requirements/aind-dl-mac-linux.yml
it gives
ResolvePackageNotFound:
appnope 0.1.0 py35_0
when i remove the package dependency from the yml file it gives me the same error for a few others
on removing all the error throwing dependencies it says
UnsatisfiableError: The following specifications were found to be in conflict:
jpeg 9b 0
qt 5.6.2 0 -> jpeg 8*
Use "conda info " to see the dependencies for each package.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.