xiaobai1217 / RepetitionCounting

Code for "Repetitive Activity Counting by Sight and Sound"
22 stars 7 forks source link

Extracted audio files to train model #10

Closed abner742 closed 2 years ago

abner742 commented 2 years ago

Hello, I hope to get your extracted audio files (data_loader2.py) and vggsound_avgpool.pth.tar to train the audio counting model (train_audio.py). Thanks! This is my email: 3071706018@qq.com

xiaobai1217 commented 2 years ago

Hi, The vggsound_avgpool.pth.tar can be downloaded at http://www.robots.ox.ac.uk/~vgg/data/vggsound/models/H.pth.tar You can extract the audio files yourself by import moviepy.editor as mp clip = mp.VideoFileClip('*.mp4').subclip(start_time, end_time) clip.audio.write_audiofile(path_for_save)

abner742 commented 2 years ago

Thanks!

------------------ 原始邮件 ------------------ 发件人: "xiaobai1217/RepetitionCounting" @.>; 发送时间: 2021年12月12日(星期天) 上午10:57 @.>; @.**@.>; 主题: Re: [xiaobai1217/RepetitionCounting] Extracted audio files to train model (Issue #10)

Hi, The vggsound_avgpool.pth.tar can be downloaded at http://www.robots.ox.ac.uk/~vgg/data/vggsound/models/H.pth.tar You can extract the audio files yourself by import moviepy.editor as mp clip = mp.VideoFileClip('*.mp4').subclip(start_time, end_time) clip.audio.write_audiofile(path_for_save)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.