Open shanalikhan opened 3 weeks ago
Hi @shanalikhan , It's quite difficult for now to figure out whether the issue you're observing truely is related to torchvision. Are you able to share a much more minimal reproducing example?
@NicolasHug Yes, i've shared the completed data loader and model as well in the above model since it fails on training therefore I had to share the complete code instead.
@shanalikhan if you could write a minimal example without using the lightning code base, it would help. As you can see the error log is too much convoluted.
Umm, converting it without lightening code base will take some time, For now I've tried to switch from MPS
to cpu
and it worked fine. Give me time, I'll try with Google Colab to conclude its problem with MPS or not.
So guys, I've tried with google colab and its working fine with GPU
and CPU
and issue persist on MPS
- Using M3 at the moment.
https://github.com/Lightning-AI/pytorch-lightning/issues/20386
🐛 Describe the bug
Hi, I'm trying to training F-RCNN based on coco dataset on my images. Image size is 512X512 I've tested dataloader separately and it works and prints the batch images and BB details Also i've tried to print the loss in NN and it does print the
batch_mean
as well and after that ERROR occurs.This is the code
Stack Trace
Versions
Latest version of vision and torch