You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since PyTorch Lightning 2.0.7 supports MPS, it would be helpful for all Mac users to have the notebook compatible with the latest version of Lighting. trainer = Trainer(accelerator="mps", max_steps=20000, gradient_clip_val=0.1)
yields error:
ValueError: boxes1 must be in [x0, y0, x1, y1] (corner) format, but got tensor([], device='mps:0', size=(0, 4))
The text was updated successfully, but these errors were encountered:
plannaAlain
changed the title
Upgrade Fine_tuning_DetrForObjectDetection to use PyTorch Lightning with MPS support
Upgrade Fine_tuning_DetrForObjectDetection notebook to use PyTorch Lightning with MPS support
Aug 31, 2023
Since PyTorch Lightning 2.0.7 supports MPS, it would be helpful for all Mac users to have the notebook compatible with the latest version of Lighting.
trainer = Trainer(accelerator="mps", max_steps=20000, gradient_clip_val=0.1)
yields error:
ValueError: boxes1 must be in [x0, y0, x1, y1] (corner) format, but got tensor([], device='mps:0', size=(0, 4))
The text was updated successfully, but these errors were encountered: