Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message shown at train_audiovisual.sh #7

Open
chikiuso opened this issue Jan 16, 2020 · 0 comments
Open

Error message shown at train_audiovisual.sh #7

chikiuso opened this issue Jan 16, 2020 · 0 comments

Comments

@chikiuso
Copy link

Hi, it shows the following errors msg when I go step 2 (train_audiovisual.sh), could you help? thanks!

Traceback (most recent call last):
File "train_audiovisual.py", line 77, in
G.optimize_parameters_video(dataloader, args.epochs, device, display_freq=args.display_freq, save_freq=args.save_freq, save_dir=save_dir, experimentName=experimentName, initial_niter=args.initial_iter, load_model=args.load_model)
File "/root/newfacegen/model_vc.py", line 658, in optimize_parameters_video
for i, data in enumerate(dataloader):
File "/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py", line 582, in next
return self._process_next_batch(batch)
File "/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py", line 608, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
IndexError: Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/torch/utils/data/_utils/worker.py", line 99, in _worker_loop
samples = collate_fn([dataset[i] for i in batch_indices])
File "/usr/local/lib/python3.5/dist-packages/torch/utils/data/_utils/worker.py", line 99, in
samples = collate_fn([dataset[i] for i in batch_indices])
File "/root/newfacegen/data/Sample_dataset.py", line 165, in getitem
video[j, :, :, :] = self.transform(Image.open(self.list_frame[j + video_index]).convert('RGB'))
IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant