taming-transformers icon indicating copy to clipboard operation
taming-transformers copied to clipboard

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

Open nhw649 opened this issue 2 years ago • 1 comments

hi, I have a problem:

Running on GPUs 0,
Working with z of shape (1, 256, 16, 16) = 65536 dimensions.
loaded pretrained LPIPS loss from taming/modules/autoencoder/lpips\vgg.pth
VQLPIPSWithDiscriminator running with hinge loss.
E:\Anaconda3\envs\taming\lib\site-packages\pytorch_lightning\utilities\distributed.py:45: UserWarning: ModelCheckpoint(save_last=True, monitor=None) is a redundant configuration. You can save the last checkpoint with ModelCheckpoint(save_top_k=None, monitor=None).
  warnings.warn(*args, **kwargs)
GPU available: True, used: True
TPU available: False, using: 0 TPU cores
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]
accumulate_grad_batches = 1
Setting learning rate to 1.35e-05 = 1 (accumulate_grad_batches) * 1 (num_gpus) * 3 (batchsize) * 4.50e-06 (base_lr)
Traceback (most recent call last):
  File "main.py", line 564, in <module>
    signal.signal(signal.SIGUSR1, melk)
AttributeError: module 'signal' has no attribute 'SIGUSR1'```

nhw649 avatar Jul 09 '23 13:07 nhw649

hi have you solve this problem?

ZhangJinian avatar May 21 '24 01:05 ZhangJinian