Skip to content

demo.py: error: unrecognized arguments: --image Data/examples/plane.png #122

@shayansep

Description

@shayansep

hello

i receive an error when i want to run the demo.py :
usage: demo.py [-h] [--layer_id LAYER_ID]
demo.py: error: unrecognized arguments: --image Data/examples/plane.png

i even changed the tenserflow import to this :

import argparse

parser = argparse.ArgumentParser()
parser.add_argument('--layer_id', type=int, default=0, help='Unique ID for the layer')

args = parser.parse_args()

but i still receive it
what should i do ?
please guide me,
thank you for your attention

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions