Eveything seems fine until I execute scripted_model = torch.jit.script(model) I got the error below:
RuntimeError: Could not get qualified name for class 'conv2d': __module__ can't be None.


A similar issue is mentioned here 16 but it is still open and no solution is proposed.
Any idea about what might be the reason, please?
PS: I am working with torch 1.4.0 (CPU)