Update README.md

This commit is contained in:
pym1024 2024-05-30 13:19:49 +10:00 committed by GitHub
parent 663a6efb83
commit f6049f7c97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,14 +7,14 @@ The following instruction demonstrates the usage of evaluating network's perform
**/src/metrics/swap.py** contains the core components of SWAP-Score.
**/datasets/DARTS_archs_CIFAR10.csv** contains 1000 architectures (randomly sampled from DARTS space) along with their CIFAR-10 validation accuracies (trained for 200 epochs).
**/datasets/DARTS_archs_CIFAR10.csv** contains 1000 architectures (randomly sampled from DARTS search space) along with their CIFAR-10 validation accuracies (trained for 200 epochs).
* Install necessary dependencies (a new virtual environment is suggested).
```
cd SWAP
pip install -r requirements.txt
```
* Calculate the correlation between SWAP-Score and CIFAR-10 validation accuracies of 1000 DARTS architectures.
* Calculate the correlation between SWAP-Score and CIFAR-10 validation accuracies of 1000 CNN architectures.
```
python correlation.py
```