I am pretty new, so there a very good chance I am wrong.
Have you tried not doing the .cuda() in the class definition and instead after you instantiate the class ? -
myawesomenet = StackRegressive()
myawesomenet.cuda()