Comments (1)
You can use python ./data_process/extract.py
to extract all the keyframes and their corresponding subtitles in the videos. Then you can select the keyframes with the correct timestamp as shown in metadata.json and only keep them, without the need to run CUDA_VISIBLE_DEVICES=0 python ./data_process/dup_remove.py
.
For example, if you have extracted all the keyframes of video "After the Fall (kids books read aloud) Humpty Dumpty Dan Santat" , you can select the keyframes in the frame_list and only keep them. Considering that the video_id might be different, you can keep the frame with timestamp "0-0-14-814" based on the frame "000000_keyframe_0-0-14-814.jpg" from frame_list.
from storygen.
Related Issues (20)
- Downloading private videos HOT 3
- StorySalon Dataset HOT 1
- Dataset HOT 2
- Licensing HOT 2
- Help HOT 1
- inference.py HOT 11
- inference CUDA out of memory HOT 1
- Mismatch in BasicTransformerBlock HOT 1
- youtube HOT 1
- stage = 'no' issue HOT 7
- prev_prompt_ids.append(tokenizer(prev_prompt, truncation=True, padding="max_length", max_length=tokenizer.model_max_length, return_tensors="pt").input_ids.squeeze(0)) HOT 1
- Access to Model Checkpoint HOT 1
- Unable to download youtube data, can you provide the corresponding key frames? HOT 1
- loss=NAN HOT 3
- OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory checkpoint_StorySalon/ HOT 1
- How to download PDF data and split dataset? HOT 2
- Clean up of the env yaml file HOT 1
- Cannot load <class 'model.unet_2d_condition.UNet2DConditionModel'> from /home/jay/StoryGen/ckpt/stable-diffusion-v1-5/ because the following keys are missing HOT 2
- FileNotFoundError: No such file or directory: './StorySalon/image_inpainted_finally_checked' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storygen.