Git Product home page Git Product logo

spdhg's People

Contributors

mehrhardt avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

spdhg's Issues

Installation issues

I've recently installed the code, but I had several issues in the process. Here there is an account of the issues and steps I follow to set up the code.

So, I have tested SPDGH with two different environments, one for Python3.7 and one for Python2.7. I'm working on a Mac but, eventually, I had to install it on a Linux machine, and still, I found the following problems:

  • Environment Python 3.5: despite this version of Python is not supported, it can still be found for Mac, Windows and Linux. However, the brew2mpl package is not available for this version of Python (or above). In addition, even if you install Spyder with your environment as per instruction, it still doesn’t launch and crashes.

  • Environment Python 2.7: you can only find it for Linux. With this version of Python, you can install brew2mpl, but it has the same problem with Spyder. For SPDHG with Python2.7, you need the old version of ODL but, then, the proximal operator function can’t be installed straightforwardly, unless you install manually its dependencies, in particular cv2.

Note: Despite Spyder doesn’t work with any of the above python environments , virtual studio does with python3.5 (python 2.7 doesn’t generate the virtual environment file that virtual studio needs, it is just from >python3).

How I get SPDHG to work: with Python3.5 and newer ODL version, I comment the “import brew2mpl” (used for colormaps settings) and the lines of code that uses it to adjust the colour maps. In this way, I can run it and I use virtual studio rather than spyder, but that’s OK. Alternatively, I can run the version of SPDHG that works with the python 2.7 environment from the terminal, not ideal, but still fine.

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.