GithubHelp home page GithubHelp logo

brain-score.web's Introduction

Build Status

Setup

Install dependencies: pip install .

Install node dependencies: npm install --no-optional

Run server: python manage.py runserver &

Update data

python manage.py flush

python manage.py loaddata static/benchmarks/fixture-bibs.json
python manage.py loaddata static/benchmarks/fixture-models_meta.json
python manage.py loaddata static/benchmarks/fixture-benchmarks.json
python manage.py loaddata static/benchmarks/fixture-scores.json

If you need to reset the database and all migrations (relevant after changing models.py):

  1. delete db.sqlite3
  2. python manage.py makemigrations
  3. python manage.py migrate

Export

  1. save website locally (Ctrl+S http://localhost:8000)
  2. replace http://localhost:8000/#* with # (when saved with Chrome)
  3. replace http://localhost:8000/static/benchmarks/img/icon.png with https://s3.amazonaws.com/www.brain-score.org/icon.png
  4. delete the svg from <div id="brain-score">
  5. In compare.js, replace the static json link /static/benchmarks/fixture-scores-javascript.json with https://s3.us-east-2.amazonaws.com/brain-score.web-mock/fixture-scores-javascript.json or fixture-scores-javascript.json
  6. upload Brain-Score.html, Brain-Score_files and fixture-scores-javascript.json to S3 (account id ****75, bucket www.brain-score.org)

brain-score.web's People

Contributors

mschrimpf avatar caleb-littlejohn avatar

Watchers

James Cloos avatar

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.