Traceback (most recent call last):


 "inference.py", line 78, in face_detect

predictions.extend(detector.get_detections_for_batch(np.array(images[i:i + batch_size])))


 "/content/Wav2Lip/face_detection/api.py", line 66, in get_detections_for_batch

detected_faces = self.face_detector.detect_from_batch(images.copy())


 "/content/Wav2Lip/face_detection/detection/sfd/sfd_detector.py", line 42, in detect_from_batch

bboxlists = batch_detect(self.face_detector, images, device=self.device)


 "/content/Wav2Lip/face_detection/detection/sfd/detect.py", line 68, in batch_detect

imgs = torch.from_numpy(imgs).to(device, dtype=torch.float32)
RuntimeError: CUDA error: an illegal memory access was encountered

Traceback (most recent call last):


 "/home/adamjermyn/miniconda3/bin/dask-mpi", line 11, in <module>

sys.exit(go())


 "/home/adamjermyn/miniconda3/lib/python3.6/site-packages/distributed/cli/dask_mpi.py", line 101, in go

main()


 "/home/adamjermyn/miniconda3/lib/python3.6/site-packages/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/home/adamjermyn/miniconda3/lib/python3.6/site-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/home/adamjermyn/miniconda3/lib/python3.6/site-packages/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/adamjermyn/miniconda3/lib/python3.6/site-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/adamjermyn/miniconda3/lib/python3.6/site-packages/distributed/cli/dask_mpi.py", line 96, in main

loop.run_sync(close)


 "/home/adamjermyn/miniconda3/lib/python3.6/site-packages/tornado/ioloop.py", line 571, in run_sync

self.start()


 "/home/adamjermyn/miniconda3/lib/python3.6/site-packages/tornado/platform/asyncio.py", line 132, in start

self.asyncio_loop.run_forever()


 "/home/adamjermyn/miniconda3/lib/python3.6/asyncio/base_events.py", line 412, in run_forever

self._check_closed()


 "/home/adamjermyn/miniconda3/lib/python3.6/asyncio/base_events.py", line 366, in _check_closed

raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
