ofirbb / Judge

Static visualisations for generative algorithm results.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Judge

A judgmental generative results prospector.

Judge helps you generate static visualizations for generative algorithm results such as Style Transfer, Filters, etc.

πŸš€ Quick start

  1. Install the Gatsby CLI.

    The Gatsby CLI helps you create new sites using Gatsby starters (like this one!)

    # install the Gatsby CLI globally
    npm install -g gatsby-cli
  2. Install required prerequisites.

    Use npm in order to install relevant project prerequisites by running the following command in the project's directory

    npm install
    # OR
    yarn install
  3. Configure your results location.

    In the file gatsby-config.js, see the following lines:

    resolve: `gatsby-source-filesystem`,
    options: {
      name: `rounds`,
      path: `${__dirname}/data/`
    }

    Now change the path parameter to point your results root directory.

    Note: Further details on results directory structure and naming conventions are in the next section.

  4. Start the development server.

    Now, in the site’s directory, start up the development server.

    gatsby develop

🧐 Results directory structure

A quick look at the top-level directories you'll see in a Judge results directory.

.
β”œβ”€β”€ experiment_1
β”‚   β”œβ”€β”€ conclusions.md
β”‚   β”œβ”€β”€ contents
β”‚   β”œβ”€β”€ results
β”‚   └── styles
β”œβ”€β”€ experiment_2
β”‚   β”œβ”€β”€ conclusions.md
β”‚   β”œβ”€β”€ contents
β”‚   β”œβ”€β”€ results
β”‚   └── styles
└── experiment_3
    β”œβ”€β”€ contents
    β”œβ”€β”€ results
    └── styles
  1. Head Directories: Are the experiment names, delimited by underscores. This is intended in order to maintain both URL and UNIX name legalities.

  2. Contents Directories: Include the content images used for the experiment(i.e for style transfer those would be the pre-transformed images).

Naming could follow content-image_001.jpg

  1. Styles Directories: Are the images used as examples/styles/kernels for the algorithm, these are usually the parameter images.

Naming could follow style-image.png

  1. Results Directories: These are the final output of the algorithm.

Depending on the previous 2 examples, naming should be content-image_001~style-image.png

  1. Markdown Document: Including a markdown file in a results directory would render it at the head of the result page.

πŸ’« Deploy

In order to build the project, run the following command in the project's root directory:

gatsby build

Authors

  • Shaked Lokits - Initial work and Maintainer - shakedlokits

License

This project is licensed under the GPL v3 - see the LICENSE.md file for details

About

Static visualisations for generative algorithm results.

License:GNU General Public License v3.0


Languages

Language:CSS 52.5%Language:JavaScript 47.5%