Skip to content

Commit

Permalink
update configs
Browse files Browse the repository at this point in the history
  • Loading branch information
wilxy authored and liukai committed Jan 16, 2023
1 parent 556c4d2 commit 880fcc3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@
mutator=dict(
type='GroupFisherChannelMutator',
parse_cfg=dict(type='ChannelAnalyzer', tracer_type='FxTracer'),
channel_unit_cfg=dict(
type='GroupFisherChannelUnit',
default_args=dict(choice_mode='ratio'))),
channel_unit_cfg=dict(type='GroupFisherChannelUnit')),
init_cfg=dict(type='Pretrained', checkpoint=pruned_path),
)

optim_wrapper = dict(type='OptimWrapper', optimizer=dict(lr=0.01))

find_unused_parameters = True
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,3 @@
optim_wrapper = dict(
type='OptimWrapper',
optimizer=dict(type='SGD', lr=0.002, momentum=0.9, weight_decay=0.0001))

find_unused_parameters = True

0 comments on commit 880fcc3

Please sign in to comment.