You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please provide an example of how to use other pruning methods?
I tried to use RandomFilterPruning() but I kept receiving an error
for example
r = RandomFilterPruning()
TypeError: init() missing 4 required positional arguments: 'removal_factor', 'model_compile_fn', 'model_finetune_fn', and 'nb_finetune_epochs'
g = RandomFilterPruning.run_pruning(compile_model,
finetune_model,
nb_finetune_epochs=1,
maximum_pruning_percent=0.05,
maximum_prune_iterations=2,
nb_trained_for_epochs=FIRST_TRAIN_EPOCHS )
TypeError: run_pruning() got an unexpected keyword argument 'nb_finetune_epochs'
Many thanks
The text was updated successfully, but these errors were encountered:
Could you please provide an example of how to use other pruning methods?
I tried to use RandomFilterPruning() but I kept receiving an error
for example
r = RandomFilterPruning()
TypeError: init() missing 4 required positional arguments: 'removal_factor', 'model_compile_fn', 'model_finetune_fn', and 'nb_finetune_epochs'
g = RandomFilterPruning.run_pruning(compile_model,
finetune_model,
nb_finetune_epochs=1,
maximum_pruning_percent=0.05,
maximum_prune_iterations=2,
nb_trained_for_epochs=FIRST_TRAIN_EPOCHS )
TypeError: run_pruning() got an unexpected keyword argument 'nb_finetune_epochs'
Many thanks
The text was updated successfully, but these errors were encountered: