Git Product home page Git Product logo

prl's Introduction

Source code and data for the paper:

Taira Giordani, Alessia Suprano, Emanuele Polino, Francesca Acanfora, Luca Innocenti, Alessandro Ferraro, Mauro Paternostro, Nicoló Spagnolo, and Fabio Sciarrino, Machine learning-based classification of vector vortex beams, Phys. Rev. Lett. 124, 160401, (2020), arXiv:2005.07949.

Content

  • notebooks. Jupyer notebooks containing code and explanations to reproduce the results of the paper.
  • src. The notebooks use a number of supporting functions, which are all defined here.
  • data. Contains the datasets used in the notebooks.
  • saved_CNN_models. Pre-trained CNNs used in the notebooks.

Requirements

The code uses Python 3. The necessary packages can be installed with either conda or pip. To install all the required packages in one go, we include environment.yml and requirements.txt files.

If you use conda, you can create a new environment and replicate the one used to run these notebooks running the following command in a terminal (from the directory containing environment.yml):

conda env create -f environment.yml

Alternatively, using pip, run the following:

pip install -r requirements.txt

Note that some of the notebooks assume the same directory structure of the repo is mantained. Running notebooks saved in different locations will require to manually make sure that the code in ./src is available to be imported in the notebook.

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.