Check for presence of cuda is not being saved to self
p-smirnov opened this issue · comments
Petr Smirnov commented
I think there is a bug in the following lines:
lassonet/lassonet/interfaces.py
Lines 132 to 134 in 3b3b529
device is set to CUDA is torch reports that cuda is available, but its done after self.device is already set.
Louis Abraham commented
Thanks! Btw I didn't test it on GPU and I think that loading models might fail so please report me the bugs!