Unable to get repr for <class ' '>

Greeting

I am debugging my code as I am facing some errors with the dimensions of the model’s hidden/output and I noticed that I got many things like
Unable to get repr for <class 'torch.nn.parameter.Parameter'>
Unable to get repr for <class 'torch.nn.modules.rnn.LSTM>

Does that mean anything or give a sign about certain problem?

Thanks

1 Like

I am debugging my code i also face this kind of problem like
Unable to get repr for <class ‘torch.Tensor’>
and then let dropout break off

@abeer_almarridi @shenjiawei19 were you able to figure out what was the actual problem?