Commit ed680c94 authored by LongChan's avatar LongChan
Browse files

proofread required

parent 0a0303bc
...@@ -111,7 +111,10 @@ Here are the assumption for the file name: ...@@ -111,7 +111,10 @@ Here are the assumption for the file name:
### 4. Running script targeting specific approach ### 4. Running script targeting specific approach
Under the `optimization_algo/scripts` directory Under the `optimization_algo/scripts` directory
1. Covariance Matrix Adaptation Evolution Strategy (CMA-es) 1. Covariance Matrix Adaptation Evolution Strategy (CMA-es)
> Please uncomment the line 349 - 364 in `cma_approach.py` to see the output > Please uncomment the line 349 - 364 in `cma_approach.py` to see the output
```bash ```bash
# python3 ../approaches/cma_approach.py ${network name} ${number of partitions} ${population size} ${resource unit available} ${strategy} ${optimization target} # python3 ../approaches/cma_approach.py ${network name} ${number of partitions} ${population size} ${resource unit available} ${strategy} ${optimization target}
python3 ../approaches/cma_approach.py alexnet 3 100 960 allzeros DRAM_cycle python3 ../approaches/cma_approach.py alexnet 3 100 960 allzeros DRAM_cycle
...@@ -119,7 +122,9 @@ Under the `optimization_algo/scripts` directory ...@@ -119,7 +122,9 @@ Under the `optimization_algo/scripts` directory
Result Screenshoot: ![](screenshots/cma_result.png) Result Screenshoot: ![](screenshots/cma_result.png)
2. Genetic Algorithm (GA) 2. Genetic Algorithm (GA)
> Please uncomment the line 287 - 299 in `ga_approach.py` to see the output > Please uncomment the line 287 - 299 in `ga_approach.py` to see the output
```bash ```bash
# python3 ../approaches/ga_approach.py ${network name} ${number of partitions} ${elite population size} ${population size} ${resource unit available} ${optimization target} # python3 ../approaches/ga_approach.py ${network name} ${number of partitions} ${elite population size} ${population size} ${resource unit available} ${optimization target}
python3 ../approaches/ga_approach.py alexnet 3 10 100 960 DRAM_cycle python3 ../approaches/ga_approach.py alexnet 3 10 100 960 DRAM_cycle
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment