D:\Code\styleGAN3\stylegan3-main\training\loss.py:56: UserWarning: Specified kernel cache directory could not be created! This disables kernel caching. Specified directory is C:\Users\Administ
RuntimeError: aten::grid_sampler_2d_backward() is missing value for argument 'output_mask'. Declaration: aten::grid_sampler_2d_backward(Tensor grad_output, Tensor input, Tensor grid, int inter
polation_mode, int padding_mode, bool align_corners, bool[2] output_mask) -> (Tensor, Tensor)
PS D:\Code\styleGAN3\stylegan3-main>
从报错看,代码里面缺少参数output_mask',可能是你自己的数据集没有进行标签工作
望采纳
请问你解决了吗
用GitHub 上的代码,上面有专门的处理数据集的代码,处理一下就好, 我用了没问题,就是训练的模型生成不了图片,很奇怪