Skip to content

Commit

Permalink
Added updates to README
Browse files Browse the repository at this point in the history
  • Loading branch information
digbose92 committed Mar 29, 2023
1 parent 8e10450 commit 8e7b313
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ pip install ftfy regex tqdm
pip install git+https://github.com/openai/CLIP.git
```

## **To Dos**

- [ ] Add the dataset link and instructions for using the MovieCLIP dataset
- [ ] Add code for tagging using the CLIP model
- [ ] Add code for training the baseline LSTM models
- [ ] Add code for openmmlab setup and Swin-B model inference


If you find this repository useful, please cite the following paper:
Expand Down
10 changes: 0 additions & 10 deletions preprocess_scripts/extract_scenes_condensed_movies_clips.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@
with open(file_list_pickle_file,"rb") as f:
file_list=pickle.load(f)

# def extract_scene_clips(idx):
# vid_file=file_list[idx]
# file_key=vid_file.split("/")[-1][:-4]
# subfolder=os.path.join(destination_scenes_folder,file_key)
# csv_scenes_file=os.path.join(csv_scenes_folder,file_key+".csv")

# if(os.path.exists(csv_scenes_file) is False):
# os.mkdir(subfolder)
# scene_detect_command="scenedetect --input "+vid_file+ " -s "+csv_scenes_file+" detect-content list-scenes split-video -o "+subfolder
# os.system(scene_detect_command)
def extract_scene_clips(idx):
vid_file=file_list[idx]
file_key=vid_file.split("/")[-1][:-4]
Expand Down

0 comments on commit 8e7b313

Please sign in to comment.