v-iashin / SpecVQGAN

Source code for "Taming Visually Guided Sound Generation" (Oral at the BMVC 2021)
https://v-iashin.github.io/SpecVQGAN
MIT License
347 stars 40 forks source link

AttributeError: module 'signal' has no attribute 'SIGUSR1' #42

Closed a897456 closed 8 months ago

a897456 commented 8 months ago

https://github.com/v-iashin/SpecVQGAN/blob/8ab6981535ab70fad3531688e0f630f1ce3b834f/train.py#L738 I am running on windows and this error occurs AttributeError: module 'signal' has no attribute 'SIGUSR1'as if windows does not support the sig directive , it coms from https://docs.python.org/3/library/signal.html#signal.SIGUSR2 image

a897456 commented 8 months ago

Just comment out these two lines, and it works