SysCV / sam-pt

SAM-PT: Extending SAM to zero-shot video segmentation with point-based tracking.
https://arxiv.org/abs/2307.01197
Apache License 2.0
950 stars 60 forks source link

sam_pt.yaml config issue #8

Closed SengHongLEE closed 1 year ago

SengHongLEE commented 1 year ago

I've already change the 'use_point_reinit' to true, but it doesn't change at all,still remain false.

m43 commented 1 year ago

Hej, based on your description, I believe you're running the demo. In that case, the model configuration in configs/model/sam_pt.yaml will be overridden in the root configuration configs/demo.yaml. Thus, to use point reinitialization in the demo, you can change the use_point_reinit to true in configs/demo.yaml. You can also add a model.use_point_reinit=true argument when running the program in the terminal to override the value without modifying yaml files.

To delve further into the use of Hydra, you could look into the following resources:

I hope this helps clarify the configs for you!

SengHongLEE commented 1 year ago

Hej, based on your description, I believe you're running the demo. In that case, the model configuration in configs/model/sam_pt.yaml will be overridden in the root configuration configs/demo.yaml. Thus, to use point reinitialization in the demo, you can change the use_point_reinit to true in configs/demo.yaml. You can also add a model.use_point_reinit=true argument when running the program in the terminal to override the value without modifying yaml files.

To delve further into the use of Hydra, you could look into the following resources:

I hope this helps clarify the configs for you!

Hej, based on your description, I believe you're running the demo. In that case, the model configuration in configs/model/sam_pt.yaml will be overridden in the root configuration configs/demo.yaml. Thus, to use point reinitialization in the demo, you can change the use_point_reinit to true in configs/demo.yaml. You can also add a model.use_point_reinit=true argument when running the program in the terminal to override the value without modifying yaml files.

To delve further into the use of Hydra, you could look into the following resources:

I hope this helps clarify the configs for you!

THANKS for your help. It's solved.