16lemoing / ccvs

CCVS: Context-aware Controllable Video Synthesis
MIT License
22 stars 1 forks source link

Unable to trim the test videos for kinetics600 #2

Closed pratikk-bulani closed 2 years ago

pratikk-bulani commented 2 years ago

Hi All,

The test videos of kinetics600 dataset are not getting trimmed. The error is in the following file: data/scripts/download_kinetics.py

Please help!!

pratikk-bulani commented 2 years ago

Please replace the line:

pytube.YouTube(URL_BASE + filename). \
                streams.filter(subtype=VIDEO_FORMAT).first(). \
                download(output_path, filename)

with

pytube.YouTube(URL_BASE + filename). \
                streams.filter(subtype=VIDEO_FORMAT).first(). \
                download(output_path, filename + VIDEO_EXTENSION)

This should be the line 64 of the data/scripts/download_kinetics.py file.