Giveupfree / SiamCAR-CAM

You can refer to the code provided here to draw a heat map of single target tracking classification output
The Unlicense
27 stars 1 forks source link

How to Change the resolution of the output picture? #2

Open DDuranin opened 2 years ago

DDuranin commented 2 years ago

Thank you very much for your code. Could you tell me how to change the resolution of the output picture? Thanks

Giveupfree commented 2 years ago

Hello, the size of the search area of the current frame in single target tracking is usually fixed. If you change the size of the search area, you generally need to retrain the model.

Giveupfree commented 2 years ago

During the inference phase, the INSTANCE SIZE option under TRACK in the "experiments/siamcar r50/config.yaml" file is used to resize the search area. The C.TRACK.SCORE SIZE option in the "pysot/core/config.py" file corresponds to the final output size of the inference phase model. If the size of the search area is modified during the inference phase, these two parameters must generally be updated.

DDuranin commented 2 years ago

Thanks a lot, I have already retraining that. By the way, cou you tell me how to change the size of the "Heat map"? Thanks

Giveupfree commented 2 years ago

By modifying the size of the search area and the output score map in the inference phase, the size of the Heatmap can be modified.