Judge
A judgmental generative results prospector.
Judge helps you generate static visualizations for generative algorithm results such as Style Transfer, Filters, etc.
π Quick start
-
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
-
Install required prerequisites.
Use
npm
in order to install relevant project prerequisites by running the following command in the project's directorynpm install # OR yarn install
-
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.
-
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
-
Head Directories: Are the experiment names, delimited by underscores. This is intended in order to maintain both URL and UNIX name legalities.
-
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
- 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
- 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
- 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