- Use the file
../../split_files/MovieCLIP_taxonomy_split.txt
to run the scriptvisual_scene_tagging.py
to generate the visual scene tags for shots insource_folder
.
CUDA_VISIBLE_DEVICES=0 python clip_scene_tagging.py --label_file ./../split_files/MovieCLIP_taxonomy_split.txt --source_folder <base folder containing the shots subfolder> --output_folder <output folder path containing the json file with nested dictionary containing visual scene classes>