"src/vscode:/vscode.git/clone" did not exist on "fb5ffc397df024165aa2810972a5bb264f350c01"
PDARTS.md 489 Bytes
Newer Older
1
2
3
4
# P-DARTS

## Examples

5
[Example code](https://github.com/microsoft/nni/tree/v1.9/examples/nas/pdarts)
6
7
8
9
10
11
12
13
14
15
16
17
18

```bash
# In case NNI code is not cloned. If the code is cloned already, ignore this line and enter code folder.
git clone https://github.com/Microsoft/nni.git

# search the best architecture
cd examples/nas/pdarts
python3 search.py

# train the best architecture, it's the same progress as darts.
cd ../darts
python3 retrain.py --arc-checkpoint ../pdarts/checkpoints/epoch_2.json
```