When running segmentation predict on gpu, the conversion from tensor to numpy fails. Calling `.cpu()` solves this problem. Signed-off-by: Paul Guerrie <97041392+paulguerrie@users.noreply.github.com> Signed-off-by: Paul Guerrie <97041392+paulguerrie@users.noreply.github.com> |
||
---|---|---|
.. | ||
__init__.py | ||
augmentations.py | ||
dataloaders.py | ||
general.py | ||
loss.py | ||
metrics.py | ||
plots.py |