Skip to content
This repository has been archived by the owner on Feb 15, 2025. It is now read-only.

Commit

Permalink
drop comments from usage example, for space
Browse files Browse the repository at this point in the history
  • Loading branch information
shelhamer committed Apr 16, 2021
1 parent 0087ada commit 03ac55c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ but feel free to try your own data and model too!
```
import tent
model = TODO_model() # choose your model
model = TODO_model()
model = tent.configure_model(model) # set train mode, configure feature normalization
params, param_names = tent.collect_params(model) # collect feature transformation parameters, or choose your own
optimizer = TODO_optimizer(params, lr=1e-3) # choose your optimizer
tented_model = tent.Tent(model, optimizer) # tent the model
model = tent.configure_model(model)
params, param_names = tent.collect_params(model)
optimizer = TODO_optimizer(params, lr=1e-3)
tented_model = tent.Tent(model, optimizer)
outputs = tented_model(inputs) # now it infers and adapts!
```
Expand Down

0 comments on commit 03ac55c

Please sign in to comment.