Closed arbitularov closed 5 years ago
This was actually one of our design choices, the point here is to make the user aware that there is a faster way to execute the program. The details are in the docstring of https://github.com/rafellerc/Pytorch-SiamFC/blob/master/utils/image_utils.py, and the idea is that decoding the jpeg files and resizing the images are two of the biggest bottlenecks of the process. To deal with that we proposed using alternative libraries that are a bit trickier to install but take advantage of the parallel instruction set to speed up both.
But if the fps rate isn't bugging you using the 'safe' mode, then there is not much point to switching to the 'fast' mode.
Have this warning: " /usr/local/lib/python3.6/dist-packages/torch/nn/_reduction.py:16: UserWarning: reduction='elementwise_mean' is deprecated, please use reduction='mean' instead. warnings.warn("reduction='elementwise_mean' is deprecated, please use reduction='mean' instead.") ", and " AssertionError: [IMAGE-UTILS] Error: It seems that the used image utils flag is not available, try setting the flag to 'safe'. " don't know useful for you or not (: