re3-pytorch
re3-pytorch copied to clipboard
Code very slow
Hello,
When I run the image_demo.py, the creation of the instance tracker and of the first call of track take a lot of time (several minutes). If I am using the small weights it does not change the problem. On another hand, the version with tensorflow is really fast and works properly. Is it normal if it is that slow or should it be fast?
NB: my GPU is a NVIDIA A4000
No, it should be fast. Can you add some timing statements to figure out which line is causing the slowdown? Maybe torch is trying to set up some optimization under the hood.