Skip to content
Discussion options

You must be logged in to vote

For the first error, what does pl_module.modules() return?

You get the error because the following code can't find the parameters you passed in your model:

https://github.com/PyTorchLightning/pytorch-lightning/blob/4c07ab5e99dd20c1f309d9e73cdaacc1ebad9499/pytorch_lightning/callbacks/pruning.py#L422-L444

The second error is definitely a bug. It happens because you are also using a profiler. Should be fixed in master, the fix will be released in 1.3. Feel free to try it on master in the meantime.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@joshclancy
Comment options

@carmocca
Comment options

@joshclancy
Comment options

Answer selected by joshclancy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment