Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the DeViT model to perform inference for traffic sign recognition #77

Open
bigz321 opened this issue Nov 27, 2024 · 0 comments
Open

Comments

@bigz321
Copy link

bigz321 commented Nov 27, 2024

Hello, I am trying to perform inference on traffic signs, such as trafficcones, cars, and trucks, but I'm not sure if I'm on the right track. My settings as following:

def main(
        config_file="configs/open-vocabulary/coco/vitl.yaml",
        rpn_config_file="configs/RPN/mask_rcnn_R_50_C4_1x_ovd_FSD.yaml",
        model_path="weights/trained/open-vocabulary/coco/vitl_0064999.pth",

        image_dir = '/root/src/CODA/base-val-1500/images', 
        output_dir='demo/output', 
        category_space="demo/normalized_prototypes.pth",
        device='cpu',
        overlapping_mode=True,
        topk=1,
        output_pth=False,
        threshold=0.45
    ): 

In my opinion, this COCO checkpoint can detect objects like cars and trucks. What I need to do is generate the category_space.pth file, is that correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant