Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Environment Setup & Dependencies to run CountingGridsPy Locally

Spencer Buja edited this page Jun 28, 2019 · 6 revisions

Table of Contents

Get the Code

 git clone https://github.com/microsoft/browsecloud.git

Get Library Working

  1. Install Python.
  2. Make sure the pip package manager works by running python -m pip.
  3. Install Python dependencies from root directory with the following command:
 pip install -r requirements.txt

Numpy Engine

Add the path to CountingGridsPY to the PYTHONPATH environment variable:

For me, it is C:\Users\me\Downloads\CountingGridsPy

Matlab Engine

BrowseCloud used to support a Matlab implementation of the learning algorithm from here: https://github.com/njojic/CountingGrids. However, we now solely rely on the numpy implementation.

Download and install Matlab Runtime 2015b from the Mathworks website. You do not need to pay for Matlab to run this software. You just need the free Matlab runtime.