deepfacelab中文网

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

小白求解:重量级模型创建就出错怎么解决SAEHD.bat

[复制链接]

1

主题

8

帖子

129

积分

高级丹童

Rank: 2

积分
129
 楼主| 发表于 2023-4-14 17:59:21 | 显示全部楼层 |阅读模式
星级打分
  • 1
  • 2
  • 3
  • 4
  • 5
平均分:NAN  参与人数:0  我的评分:未评
已经全部最低参数了还是运行不了,请大神指点。


warp_rnd_state=warp_rnd_state,
  File "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\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

  File "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\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 C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\workspace\data_dst\aligned\01289_0.jpg. Error: Traceback (most recent call last):
  File "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\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 "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 113, in process
    warp_rnd_state=warp_rnd_state,
  File "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\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

  File "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\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 C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\workspace\data_dst\aligned\01533_0.jpg. Error: Traceback (most recent call last):
  File "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\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 "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 113, in process
    warp_rnd_state=warp_rnd_state,
  File "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\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

Exception: Exception occured in sample C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\workspace\data_dst\aligned\00658_0.jpg. Error: Traceback (most recent call last):
  File "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\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 "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 113, in process
    warp_rnd_state=warp_rnd_state,
  File "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\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

Exception: Exception occured in sample C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\workspace\data_dst\aligned\00512_0.jpg. Error: Traceback (most recent call last):
  File "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\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 "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\samplelib\SampleProcessor.py", line 113, in process
    warp_rnd_state=warp_rnd_state,
  File "C:\Users\AIgo\DeepFaceLab_NV30_221111_CN\_internal\DeepFaceLab\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

QQ截图20230414175408.png
回复

使用道具 举报

11

主题

684

帖子

4101

积分

高级丹圣

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

积分
4101
发表于 2023-4-14 19:01:43 | 显示全部楼层
你切的面部图片格式不对,01289_0.jpg. Error:
回复 支持 反对

使用道具 举报

1

主题

8

帖子

129

积分

高级丹童

Rank: 2

积分
129
 楼主| 发表于 2023-4-14 19:49:19 | 显示全部楼层
AKERSHUS 发表于 2023-4-14 19:01
你切的面部图片格式不对,01289_0.jpg. Error:

切的是PNG的,是需要什么格式的
回复 支持 反对

使用道具 举报

1

主题

8

帖子

129

积分

高级丹童

Rank: 2

积分
129
 楼主| 发表于 2023-4-14 21:19:27 | 显示全部楼层
AKERSHUS 发表于 2023-4-14 19:01
你切的面部图片格式不对,01289_0.jpg. Error:

切图格式JPG还是同样的问题,怎么解决
回复 支持 反对

使用道具 举报

0

主题

39

帖子

473

积分

初级丹师

Rank: 3Rank: 3

积分
473
发表于 2023-4-14 22:55:46 | 显示全部楼层
你用别人的SAEHD模型能训练吗?如果可以,你看看人家的参数怎么设置的
回复 支持 反对

使用道具 举报

13

主题

1049

帖子

1万

积分

高级丹圣

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

积分
12735
发表于 2023-4-15 02:24:20 | 显示全部楼层
可能你原视频分辨率太小了?比如你切图512,那你原视频要的短边要大于512
回复 支持 反对

使用道具 举报

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

GMT+8, 2024-11-24 21:34 , Processed in 0.146621 second(s), 35 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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