DelurGan Training FAQ


Q: AttributeError: module ‘torch._C’ has no attribute ‘_cuda_setDevice’

A: This is caused by cpu-only platform. The soulution is add –gpu_ids -1 in your command.

Q: ImportError: cannot import name ‘SSIM’

A: Use ‘from ssim inmprot ssim as SSIM’ instead

发表评论