deepfacelab中文网

 找回密码
 立即注册(仅限QQ邮箱)
查看: 994|回复: 3

TypeError: Can't parse 'center'

[复制链接]

10

主题

90

帖子

6040

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
6040
 楼主| 发表于 2023-1-4 19:21:40 | 显示全部楼层 |阅读模式
星级打分
  • 1
  • 2
  • 3
  • 4
  • 5
平均分:NAN  参与人数:0  我的评分:未评
有没有遇到TypeError: Can't parse 'center',这个错误的?
回复

使用道具 举报

10

主题

90

帖子

6040

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
6040
 楼主| 发表于 2023-1-5 10:26:54 | 显示全部楼层
滚石 发表于 2023-1-4 20:38
给详细报错信息

Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/content/drive/Shareddrives/J/DeepFaceLab/DeepFaceLab_Colab/core/joblib/SubprocessGenerator.py", line 54, in process_func
    gen_data = next (self.generator_func)
  File "/content/drive/Shareddrives/J/DeepFaceLab/DeepFaceLab_Colab/samplelib/SampleGeneratorFace.py", line 136, in batch_func
    raise Exception ("Exception occured in sample %s. Error: %s" % (sample.filename, traceback.format_exc() ) )
Exception: Exception occured in sample 02045.jpg. Error: Traceback (most recent call last):
  File "/content/drive/Shareddrives/J/DeepFaceLab/DeepFaceLab_Colab/samplelib/SampleGeneratorFace.py", line 134, in batch_func
    x, = SampleProcessor.process ([sample], self.sample_process_options, self.output_sample_types, self.debug, ct_sample=ct_sample)
  File "/content/drive/Shareddrives/J/DeepFaceLab/DeepFaceLab_Colab/samplelib/SampleProcessor.py", line 106, in process
    warp_params = imagelib.gen_warp_params(resolution,
  File "/content/drive/Shareddrives/J/DeepFaceLab/DeepFaceLab_Colab/core/imagelib/warp.py", line 146, in gen_warp_params
    random_transform_mat = cv2.getRotationMatrix2D((w // 2, w // 2), rotation, scale)
TypeError: Can't parse 'center'. Sequence item with index 0 has a wrong type
回复 支持 1 反对 0

使用道具 举报

216

主题

1998

帖子

68万

积分

管理员

Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96Rank: 96

积分
688467

隐世金马甲勋章超级版主勋章可爱萌新勋章见习版主勋章荣誉会员勋章男同管理员-无尚荣耀勋章优质版主勋章小有贡献勋章

发表于 2023-1-4 20:38:51 | 显示全部楼层
给详细报错信息
提供数字人直播服务、文字/音频驱动数字人服务,有意者联系我QQ563861181
全站默认解压密码dfldata.xyz
DFL交流QQ群五群974612885
AI绘画交流QQ群710238550
我的B站账号:特看科技的滚石   其他自称彦祖的不是我,请勿上当
回复 支持 反对

使用道具 举报

2

主题

21

帖子

289

积分

初级丹师

Rank: 3Rank: 3

积分
289
发表于 2023-3-11 05:53:29 | 显示全部楼层
jiliangjiying 发表于 2023-1-5 10:26
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 31 ...

遇到同樣的...求解
回复 支持 反对

使用道具 举报

QQ|Archiver|手机版|deepfacelab中文网 |网站地图

GMT+8, 2024-11-25 09:33 , Processed in 0.132725 second(s), 33 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表