GithubHelp home page GithubHelp logo

odlworkshop's Introduction

ODL course material

This is the repository for course material (input and output) for the ODL training at KTH in Stockholm, December 2017.

Installing ODL

The latest version of ODL and some supporting libraries are needed in order to use these notebooks. See the installation instructions for further information.

Jupyter Notebooks

Part of the material will be published as Jupyter notebooks. If you're familiar with Mathematica notebooks, you won't be surprised.

To install the notebook software, you can either use conda:

conda install notebook

or pip:

pip install notebook

You can then start the software by running

jupyter notebook

in a terminal. Sometimes one gets OSError: [Errno 99] Cannot assign requested address. In this case an explicit IP has to be given, which should be the equivalent to localhost in your case:

jupyter notebook --ip=127.0.0.1

The notebooks can also be viewed online as static HTML pages. This works (somewhat) on GitHub directly, but better with nbviewer. Just copy the URL of the notebook into the text field at that page.

Feedback

If you find any errors or experience issues, please get back to us (@kohr-h or @adler-j) or create an issue.

odlworkshop's People

Contributors

adler-j avatar olivierverdier avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

odlworkshop's Issues

Structure the material

We need to move some stuff into folders and add a readme that explains where to start and what all files do.

Best odl version?

  • README.md says "Use the conda variant if possible" (which is 0.5.2 for me on Windows)
  • code/part0_install.ipynb says pip install https://github.com/odlgroup/odl/archive/master.zip (which is 0.6.1dev0)

nomkl & pyfftw on Windows

conda install nomkl and conda install -c conda-forge pyfftw currently fail for me on Windows with PackageNotFoundError. But at least some stuff from the "part1" seem to work. Are they optional actually?

Remove _ syntax

It seems we have

_ = x_true.show('True image')

in quite a few places. I personally prefer

x_true.show('True image');

which does the same thing

Installation instructions - trouble

When following the official documentation at

https://github.com/adler-j/odlworkshop/blob/master/code/part0_install.ipynb

(on radon) I get the following error when testing tensorflow (the install proceeded ok.) Possibly radon is out of wack, but no luck with gelfand either (it's out of disk space.)

>>>> import tensorflow
> Traceback (most recent call last):
>  File "/home/kurlberg/anaconda3/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
>    from tensorflow.python.pywrap_tensorflow_internal import *
>  File "/home/kurlberg/anaconda3/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
>    _pywrap_tensorflow_internal = swig_import_helper()
>  File "/home/kurlberg/anaconda3/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
>    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
>  File "/home/kurlberg/anaconda3/lib/python3.6/imp.py", line 243, in load_module
>    return load_dynamic(name, filename, file)
>  File "/home/kurlberg/anaconda3/lib/python3.6/imp.py", line 343, in load_dynamic
>    return _load(spec)
> ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /home/kurlberg/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "/home/kurlberg/anaconda3/lib/python3.6/site-packages/tensorflow/__init__.py", line 24, in <module>
>    from tensorflow.python import *
>  File "/home/kurlberg/anaconda3/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 49, in <module>
>    from tensorflow.python import pywrap_tensorflow
>  File "/home/kurlberg/anaconda3/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 73, in <module>
>    raise ImportError(msg)
> ImportError: Traceback (most recent call last):
>  File "/home/kurlberg/anaconda3/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
>    from tensorflow.python.pywrap_tensorflow_internal import *
>  File "/home/kurlberg/anaconda3/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
>    _pywrap_tensorflow_internal = swig_import_helper()
>  File "/home/kurlberg/anaconda3/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
>    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
>  File "/home/kurlberg/anaconda3/lib/python3.6/imp.py", line 243, in load_module
>    return load_dynamic(name, filename, file)
>  File "/home/kurlberg/anaconda3/lib/python3.6/imp.py", line 343, in load_dynamic
>    return _load(spec)
> ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /home/kurlberg/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)
> 
> 
> Failed to load the native TensorFlow runtime.
> 
> See https://www.tensorflow.org/install/install_sources#common_installation_problems
> 
> for some common reasons and solutions.  Include the entire stack trace
> above this error message when asking for help.
>>>> 

edit: @adler-j formated

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.