Traceback (most recent call last):


 "<stdin>", line 1, in <module>
TypeError: glob() got an unexpected keyword argument 'recursive'

Traceback (most recent call last):


 "/Users/glennjocher/Library/Application Support/JetBrains/PyCharmCE2020.1/scratches/prune.py", line 6, in <module>

prune.global_unstructured(model.parameters(), pruning_method=prune.L1Unstructured, amount=0.3)


 "/Users/glennjocher/opt/anaconda3/envs/env1/lib/python3.7/site-packages/torch/nn/utils/prune.py", line 1019, in global_unstructured

t = torch.nn.utils.parameters_to_vector([getattr(*p) for p in parameters])


 "/Users/glennjocher/opt/anaconda3/envs/env1/lib/python3.7/site-packages/torch/nn/utils/prune.py", line 1019, in <listcomp>

t = torch.nn.utils.parameters_to_vector([getattr(*p) for p in parameters])
TypeError: getattr expected at most 3 arguments, got 32
