vskadandale / vocalist Goto Github PK
View Code? Open in Web Editor NEWOfficial repository for the paper VocaLiST: An Audio-Visual Synchronisation Model for Lips and Voices
License: Other
Official repository for the paper VocaLiST: An Audio-Visual Synchronisation Model for Lips and Voices
License: Other
Thanks for sharing your groundbreaking research. Why is the test result not an image or a video?
D:\anaconda\python.exe D:/work/vgan/vocalist-main/t1est_lrs2.py
use_cuda: True
total trainable params 80106561
K5:0.1553,K7:0.1748,K9:0.1553,K11:0.1553,K13:0.1650,K15:0.1553: : 1it [00:15, 15.05s/it]
Process finished with exit code 0
D:\anaconda\python.exe D:/work/vgan/vocalist-main/t1est_lrs2.py
use_cuda: True
total trainable params 80106561
0it [00:00, ?it/s]Traceback (most recent call last):
File "D:/work/vgan/vocalist-main/t1est_lrs2.py", line 290, in
eval_model(test_data_loader, device, model)
File "D:/work/vgan/vocalist-main/t1est_lrs2.py", line 146, in eval_model
for step, (vid, aud, lastframe) in prog_bar:
File "D:\anaconda\lib\site-packages\tqdm\std.py", line 1107, in iter
for obj in iterable:
File "D:\anaconda\lib\site-packages\torch\utils\data\dataloader.py", line 530, in next
data = self._next_data()
File "D:\anaconda\lib\site-packages\torch\utils\data\dataloader.py", line 570, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "D:\anaconda\lib\site-packages\torch\utils\data_utils\fetch.py", line 49, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "D:\anaconda\lib\site-packages\torch\utils\data_utils\fetch.py", line 49, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "D:/work/vgan/vocalist-main/t1est_lrs2.py", line 109, in getitem
window=torch.hann_window(hparams.win_size), return_complex=True)
File "D:\anaconda\lib\site-packages\torch\functional.py", line 693, in stft
input = F.pad(input.view(extended_shape), [pad, pad], pad_mode)
File "D:\anaconda\lib\site-packages\torch\nn\functional.py", line 4369, in _pad
return torch._C._nn.reflection_pad1d(input, pad)
RuntimeError: Argument #4: Padding size should be less than the corresponding input dimension, but got: padding (400, 400) at dimension 2 of input [1, 191488, 2]
0it [00:00, ?it/s]
Can the test result be a video?
The test result is the accuracy? ?
How do I download the acappella dataset, the link given in the paper only gives the CSV files with links and such for testing. Is there a package that I can use to download the files and process them, A beginner in the field hence the silly question.
Hello Congratulations of accept to Interspeech!
When would you be releasing the code?
请问,Acappella数据集该如何下载呢
Hi @vskadandale its really a nice work. Can you please tell how can we test the model on out custom videos and audios?
Thanks
Hi, I was impressed with your paper and code.
Well , I have a question in your paper .
The AVST[13] Accuracy , in table 1. Accuracy of lip synchronisation models in LRS2 , is different from AVST[13] paper's accuracy.
As far as I know, AVST[13] code is not released.
So did you get the AVST[13] accuracy by coding youself?
I'd appreciate it if you could reply.
Hello,
I have downloaded and unzipped the LRS2 dataset, which includes two folders: "main" and "pretrain".
I want to know if it is only necessary to use preprocess.py in WavLip to process the files of these two folders separately, output them as pretrain and main folders and put these two folders into the project, and modify data_root to be the pretrain file folder path, test_data_root is the path of main.
In the default configuration when number of video frames are 5 and corresponding audio frames are 3200 in number I am able to replicate the results. But on increasing video frames to 10 and audio frames to 6400 my training loss is not decreasing by much. I have kept all other settings the same as in the codebase and have made no changes. Does some parameter needs to be tweaked when we increase the number of video frames?
Hi,
I'm going through the code after I went through the paper for this project, and I'm having some doubts when trying to relate the code back to the things mentioned in the paper. For some context, I'm using the acapella dataset and the trained model weights on that.
raw_sync_scores = model(lim_in[i].unsqueeze(0).repeat(win_size, 1, 1, 1).to(device), feat2p[i:i + win_size, :].to(device))
Hello, in the "class Dataset(object)", there is the following piece of code for correctly selecting samples and assigning corresponding labels. I wonder if this is because the training data is unlabeled. Will assigning in this way lead to label assignment errors. If I know the positive and negative labels of the data set, can I directly modify the following code to assign the label to "y".
if random.choice([True, False]):
y = torch.ones(1).float()
wav = pos_wav
else:
y = torch.zeros(1).float()
try_counter = 0
while True:
neg_frame_id = random.randint(interval_st, interval_end - v_context)
if neg_frame_id != pos_frame_id:
wav = self.get_wav(wavpath, neg_frame_id)
if rms_pos_wav > 0.01:
break
else:
if self.rms(wav) > 0.01 or try_counter>10:
break
try_counter += 1
if try_counter > 10:
continue
aud_tensor = torch.FloatTensor(wav)
Hi, thanks for sharing this excellent work. I want to train this work on my own dataset, Can u tell me how the loss changes during training and testing? I'm looking forward to your suggestions at your earliest convenience.
Hi @vskadandale,
The penultimate transformation
Line 83 in d2d7d4f
vocalist/train_vocalist_lrs2.py
Line 192 in d2d7d4f
So, why is that tanh() on the hidden vector added there?
Can this replace syncnet in wav2lip and be used as the discriminator? would the core wav2lip architecture need to change?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.