Skip to content

Commit 6159b78

Browse files
committed
add requirement, remove import from preprocess, fix build.sh
1 parent 81c9678 commit 6159b78

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,17 @@ To access the replication package for the paper "Automatically Detecting Visual
77
## Prerequisites
88

99
### Python (v3.4+)
10-
- Download and install from https://www.python.org/downloads/
11-
- Run the command `python3 -m pip install ---upgrade pip` to ensure Python's package manager is installed
10+
Download and install the latest version of Python from [this link](https://www.python.org/downloads/). After installing Python, ensure Python's package manager (Pip) is installed by running the command:
11+
12+
`python3 -m pip install ---upgrade pip`
1213

1314
### Node.js
14-
- First install Node Version Manager (nvm) using instructions from https://github.com/nvm-sh/nvm
15-
- Then use nvm to install node (with npm)
15+
Using the instructions found at [this link](https://github.com/nvm-sh/nvm), first install Node Version Manager (nvm), and then use nvm to install Node and Node Package Manager (npm).
1616

1717
## Installation
18-
~~1) Clone this repo into the test directory of your project~~
19-
1) Download the latest release at the following link:
20-
2) Unzip the folder and place it inside your `test` directory
21-
3) Open the folder and run `./install.sh`
18+
1) Download the latest release from the [releases page](https://github.com/asgaardlab/canvas-visual-bugs-testbed/releases/)
19+
2) Unzip the folder and place it inside your test directory
20+
3) Open the folder in your terminal and run the command `./install.sh`
2221

2322
*Note: Initial installation may take a long time due to Python dependencies*
2423

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rsync -av -vvv --progress ./pixi-sampler ./release/pixi-visual-test/ \
1616
rsync -av --progress ./pixi-sampler/src/PixiSampler.js ./release/pixi-visual-test/pixi-sampler/src/
1717

1818
rsync -av --progress .gitignore ./release/pixi-visual-test/
19-
rsync -av --progress .install.sh ./release/pixi-visual-test/
19+
rsync -av --progress install.sh ./release/pixi-visual-test/
2020
rsync -av --progress LICENSE ./release/pixi-visual-test/
2121
rsync -av --progress README.md ./release/pixi-visual-test/
2222

sprite_similarity/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ numpy==1.23.3
55
pandas==1.3.4
66
Pillow==9.4.0
77
scikit_image==0.19.1
8+
requests==2.24.0

sprite_similarity/sprite_similarity/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import logging
55

6-
from sprite_similarity.utils import walltimeit, watchit
6+
from sprite_similarity.utils import walltimeit #, watchit
77
from sprite_similarity.io import load_asset
88

99
# same as PixiJS; 0 -> Nearest, 1 -> Bilinear

0 commit comments

Comments
 (0)