Closed Allhailankurgupta closed 3 years ago
Hi @Allhailankurgupta,
I tried running your code but I was unable to reproduce your error using pytorch 1.6/1.7 & pthflops 0.3.3 Could you please let me know what versions you are using?
I was running the code on colab so didn't pay that much attention to the versions But I checked I am using pytorch 1.7 And pthflops 0.3.3
I am facing the same error with the code given as illustration for resnet18
Unfortunately I am unable to reproduce it. I've also just triggered a build (https://travis-ci.com/github/1adrianb/pytorch-estimate-flops/builds/200193700) and as you can see the code run successfully.
Perhaps there is other code around that interferes?
It is kind of strange I just installed pthflops on my local machine It gave no error at all
But the exact same code is giving error on colab
Can you please check if the error comes on colab?
I just checked it is working with pytorch 1.6.0 but not with pytorch 1.7.0
Fixed in 0.3.4
I was using this code below
and I got this error
It was working perfectly fine a few days back Could you please resolve this issue