File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ and work with them in terms of linear algebra.
10
10
First of all you need to clone repository with its submodules:
11
11
12
12
``` bash
13
- git clone --recurse-submodules https://github.com/JetBrains-Research/CFPQ_PyAlgo.git
13
+ git clone --recurse-submodules -b murav/optimize-matrix https://github.com/JetBrains-Research/CFPQ_PyAlgo.git
14
14
cd CFPQ_PyAlgo/
15
15
git submodule init
16
16
git submodule update
@@ -37,14 +37,15 @@ First of all you need to install [pygraphblas](https://github.com/michelp/pygrap
37
37
``` bash
38
38
pip3 install pygraphblas==5.1.8.0
39
39
```
40
- Secondly you need to install cfpq_data_devtools package and other requirements:
40
+ Secondly you need to install ` cfpq_data_devtools ` package and other requirements:
41
41
42
42
``` bash
43
43
cd deps/CFPQ_Data
44
44
pip3 install -r requirements.txt
45
45
python3 setup.py install --user
46
46
47
47
cd ../../
48
+ pip3 install pygraphblas==5.1.8.0 # optional (needed for legacy algorithms and their tests)
48
49
pip3 install -r requirements.txt
49
50
```
50
51
To check if the installation was successful you can run simple tests
Original file line number Diff line number Diff line change @@ -8,27 +8,36 @@ integrating with both CFPQ_PyAlgo itself and third-party tools.
8
8
Build and run a Docker container for evaluation using [ Dockerfile-all-tools] ( ../Dockerfile-all-tools ) .
9
9
10
10
Build Docker image:
11
- ```
12
- docker build -f Dockerfile-all-tools -t cfpq_eval .
11
+ ``` bash
12
+ cd .. # Should be run from CFPQ_PyAlgo project root directory
13
+
14
+ # Load base image
15
+ wget -O pearl.tar.gz https://figshare.com/ndownloader/files/42214812
16
+ docker load --input pearl.tar.gz
17
+ rm pearl.tar.gz
18
+
19
+ # Build eval image
20
+ docker build -f Dockerfile-all-tools -t cfpq/py_algo_eval .
13
21
```
14
22
15
23
Run Docker container:
16
- ```
17
- docker run -it cfpq_eval bash
24
+ ``` bash
25
+ docker run -it cfpq/py_algo_eval bash
18
26
```
19
27
20
28
## Running the Script
21
29
22
30
For detailed information on evaluation script options, execute the following command:
23
31
24
- ```
25
- # Should be run from CFPQ_PyAlgo project root directory in cfpq_eval Docker container
32
+ ``` bash
33
+ cd .. # Should be run from CFPQ_PyAlgo project root directory
26
34
python3 -m cfpq_eval.eval_all_pairs_cflr --help
27
35
```
28
36
29
37
The basic command usage is as follows:
30
38
31
39
```
40
+ # Should be run in cfpq_eval Docker container
32
41
python3 -m cfpq_eval.eval_all_pairs_cflr algo_config.csv data_config.csv results_path [--rounds ROUNDS] [--timeout TIMEOUT]
33
42
```
34
43
You can’t perform that action at this time.
0 commit comments