scopeInfinity / Video2Description

Video to Text: Natural language description generator for some given video. [Video Captioning]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

what arguments to pass when running 'python videohandler.py' as it is showing 'too few arguments' error

gazal2708 opened this issue · comments

I guess something similar to python videohandler.py /path/to/Video2Description

More flags can be used as per requirement.

https://github.com/scopeInfinity/Video2Description/blob/VideoCaption/VideoDataset/videohandler.py#L376-L384

def get_args():
    parser = argparse.ArgumentParser()
    parser.add_argument("root_dir", help="path to the project root directory. i.e parent directory of VideoDataset/videohandler.py")
    parser.add_argument("-sc", "--show-count", help="show count for training/validation/test videos", action='store_true')
    parser.add_argument("-d", "--download", help="download more videos to extend dataset", action='store_true')
    parser.add_argument("-ac", "--auto-cache", help="cache all downloaded videos", action='store_true')
    parser.add_argument("-strain", "--show-train", help="show ids for training videos", action='store_true')
    parser.add_argument("-stest", "--show-test", help="show ids for test videos", action='store_true')
    parser.add_argument("-sval", "--show-val", help="show ids for validation videos", action='store_true')

Thanks!

Hi @gazal2708 ,
Can you please let me know if the issue is resolved? or if you're still facing issues?

Thanks!

Great! Thanks for letting me know.