hukkelas/deep_privacy2

Is the TRACK function working properly?

chomichaelyoshi opened this issue · 5 comments

Thanks for sharing the great code.

By the way, is the track function working correctly?
When using anonymize.py to anonymize a video, it appears that the same person is not anonymized in the same style even if track is specified as an argument.
Specifically, even if I specify track as an argument, all_styles=None, so the tracking results do not seem to be reflected in the style.
I would appreciate it if you could tell me how this should be corrected.

It should work as expected. Can you report the complete command you use to anonymize the video?

Thanks for the reply.
Here are the commands I used.
python3 anonymize.py configs/anonymizers/FB_cse.py -i project.mp4 -o output.mp4 --track

I changed the truncation_value, which is 0 by default, to None and it now tracks correctly.
It seems that if the branch at line 138 of deep_privacy2/dp2/generator/base.py is set to 0, it does not branch correctly.
This may be a mistake that occurs only in my environment, but I'll keep a record of it.

That's great! All my tracking experiments have been with multi modal truncation, so it should work with '--mt' argument as well!

I understood that it was because I was not using multi modal truncation.
Thank you for your response.