-
Hi, as in the title I'm training to train EfficientDet using PyTorch Lightning framework. The train works without any issues on CPU but when using GPU it doesn't pass the sanity check because it find the anchor boxes on the CPU device while the other tensors are on the GPU device. The following is the stack trace of the error, in bold you'll find the relevant parts: Traceback (most recent call last):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There is a good example notebook by Chris Hughes with a Lightning example, https://gist.github.com/Chris-hughes10/73628b1d8d6fc7d359b3dcbbbb8869d7 ... the LightningModule ( |
Beta Was this translation helpful? Give feedback.
There is a good example notebook by Chris Hughes with a Lightning example, https://gist.github.com/Chris-hughes10/73628b1d8d6fc7d359b3dcbbbb8869d7 ... the LightningModule (
EfficientDetModel
) there looks reasonable.