mikel-brostrom / boxmot

BoxMOT: pluggable SOTA tracking modules for segmentation, object detection and pose estimation models
GNU Affero General Public License v3.0
6.74k stars 1.72k forks source link

Remove benchmark and split options from evauation #1741

Open Fleyderer opened 4 hours ago

Fleyderer commented 4 hours ago

Search before asking

Description

How it works now

We have --benchmark and --split options, which should be passed together with the --source parameter, where we already have .../<benchmark>/<split> inside the path.

How it will work:

benchmark = Path(opt.source).name
split = Path(opt.source).parent

And of cource this info should be reflected in log.

I have tried to avoid this change, but I am tired of this unexpected behaviour when I pass .../MOT17/test as the source and somehow script is yelling at me that he can't find file from test or something else :smiley:

I decided to know your opinion before changing, these options are used only in val.py file

Use case

No response

Are you willing to submit a PR?

mikel-brostrom commented 3 hours ago

I agree. It is confusing. Let's only keep source and extract the benchmark from the source path itself?