facebookresearch / facebookresearch/detectron2

defining DETECTIONS_PER_IMAGE in the lazy config

Open
#4,475 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
34.7k
Forks
7.9k
PR merge metrics
No merged PRs in 30d

Description

I wanna export my model that has been trained by the lazyconfig_train_net.py. The default value for DETECTIONS_PER_IMAGE= 100 i assume. How can i set this via lazy? When the training was done in the normal way, i could just override the value cfg.TEST.DETECTIONS_PER_IMAGE = 1000.

Contributor guide

Open the contributing guide

Research direction

Start with lazyconfig_train_net.py and search for DETECTIONS_PER_IMAGE and the lazy configuration entry points. Confirm how the value is supplied for model export, then document that workflow so a user can set the detection limit without the normal cfg override.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.