Skip to content

Commit

Permalink
fix prune optimer
Browse files Browse the repository at this point in the history
  • Loading branch information
Topdu committed Apr 28, 2022
1 parent f5f8af4 commit f83524b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/slim/prune/sensitivity_anal.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def main(config, device, logger, vdl_writer):
config['Optimizer'],
epochs=config['Global']['epoch_num'],
step_each_epoch=len(train_dataloader),
parameters=model.parameters())
model=model)

# build metric
eval_class = build_metric(config['Metric'])
Expand Down

0 comments on commit f83524b

Please sign in to comment.