Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 491 Bytes

PDARTS.md

File metadata and controls

18 lines (13 loc) · 491 Bytes

P-DARTS

Examples

Example code

# 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