Skip to content

Commit

Permalink
Add demo file
Browse files Browse the repository at this point in the history
Add demo file
  • Loading branch information
chakkritte committed Oct 27, 2020
1 parent 5027eed commit 3cf04b2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test.py → demo.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import darmo
import torch
from collections import OrderedDict

model = darmo.create_model("relative_nas", num_classes=1000, pretrained=True)
model.reset_classifier(num_classes=100, dropout=0.2)
print(model)
print(model)

0 comments on commit 3cf04b2

Please sign in to comment.