misc/collect.py: differentiate duplicate models by target