Closed HopLee6 closed 5 years ago
I also get the same error when using DataParallel, good find. This is something I haven't checked for before. Will try fix it now.
Actually, the following modification works: `self.h = [t.to(ll.device) for t in self.h]
y = lowlevel.afb2d(ll, self.h, self.mode)`
I didn't see your code, but I've done something very similar. Thanks!
Actually, the following modification works: `self.h = [t.to(ll.device) for t in self.h]
y = lowlevel.afb2d(ll, self.h, self.mode)`
I don't understand the meaning of these two lines of code. Can you give a more detailed explanation? Thank u very much!
I think this code was just casting all the bandpass to the device. Did you have an issue with DataParallel?
I've tried your implementations using multi-GPU and failed.
the code is as follows
the error is reported as follows