deepfacelab中文网

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

kaggle炼丹问题求教

[复制链接]

22

主题

154

帖子

938

积分

高级丹师

Rank: 5Rank: 5

积分
938
 楼主| 发表于 2022-3-18 17:51:47 | 显示全部楼层 |阅读模式
星级打分
  • 1
  • 2
  • 3
  • 4
  • 5
平均分:NAN  参与人数:0  我的评分:未评
本帖最后由 deeplovelyf 于 2022-3-18 19:26 编辑

找到原因了 是internet没勾上 所以环境没配置好

image.png



用的是猫之神丹进行到最后一步训练时出错

无声启动:选择模型“猫之汉化神丹224 df-d"
加载名为 猫之汉化神丹224 df-d_SAEHD 的模型...
Silent start: choosed device Tesla P100-PCIE-16GB
Initializing models: 100%|########################| 5/5 [00:03<00:00,  1.41it/s]
Loaded 15730 packed faces from /kaggle/working/workspace/src
Loaded 581 packed faces from /kaggle/working/workspace/dst
Process Process-4:
Traceback (most recent call last):
  File "/kaggle/working/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 "/kaggle/working/deepfacelab/samplelib/SampleProcessor.py", line 113, in process
    warp_rnd_state=warp_rnd_state,
  File "/kaggle/working/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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/kaggle/working/deepfacelab/core/joblib/SubprocessGenerator.py", line 54, in process_func
    gen_data = next (self.generator_func)
  File "/kaggle/working/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 00318.jpg. Error: Traceback (most recent call last):
  File "/kaggle/working/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 "/kaggle/working/deepfacelab/samplelib/SampleProcessor.py", line 113, in process
    warp_rnd_state=warp_rnd_state,
  File "/kaggle/working/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

Process Process-3:
Traceback (most recent call last):
  File "/kaggle/working/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 "/kaggle/working/deepfacelab/samplelib/SampleProcessor.py", line 113, in process
    warp_rnd_state=warp_rnd_state,
  File "/kaggle/working/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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/kaggle/working/deepfacelab/core/joblib/SubprocessGenerator.py", line 54, in process_func
    gen_data = next (self.generator_func)
  File "/kaggle/working/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 11430.jpg. Error: Traceback (most recent call last):
  File "/kaggle/working/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 "/kaggle/working/deepfacelab/samplelib/SampleProcessor.py", line 113, in process
    warp_rnd_state=warp_rnd_state,
  File "/kaggle/working/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


======================模型概要=======================

                  模型名字: 猫之汉化神丹224 df-d_SAEHD

                  当前迭代: 555                  

--------------------模型选项---------------------

            resolution: 224                  
             face_type: wf                  
     models_opt_on_gpu: True                 
                 archi: df-d                 
               ae_dims: 258                  
                e_dims: 66                  
                d_dims: 64                  
           d_mask_dims: 16                  
       masked_training: True                 
       eyes_mouth_prio: False               
           uniform_yaw: False               
         blur_out_mask: False               
             adabelief: True                 
            lr_dropout: n                    
           random_warp: True                 
      random_hsv_power: 0.0                  
       true_face_power: 0.0                  
      face_style_power: 0.0                  
        bg_style_power: 0.0                  
               ct_mode: none                 
              clipgrad: True                 
              pretrain: False               
       autobackup_hour: 1                    
write_preview_history: False               
           target_iter: 0                    
       random_src_flip: False               
       random_dst_flip: True                 
            batch_size: 8                    
             gan_power: 0.0                  
        gan_patch_size: 24                  
              gan_dims: 16                  
                  猫の汉化: 淘宝地址:t.hk.uy/4ks     
                  商业合作: 商业定制视频、出售高阶模型        
                  联系方式: QQ微信:564646676      
                  此丹免费: 严禁转卖                 
                  警惕骗子: 盗卖死妈                 
                官方中文论坛: dfldata.cc           

--------------------运行信息---------------------

                  设备编号: 0                    
                  设备名称: Tesla P100-PCIE-16GB
                  显存大小: 15.04GB              

=============================================
Starting. Press "Enter" to stop training and save model.
Process Process-3:Traceback (most recent call last):  File "/kaggle/working/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 "/kaggle/working/deepfacelab/samplelib/SampleProcessor.py", line 113, in process    warp_rnd_state=warp_rnd_state,  File "/kaggle/working/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 typeDuring handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap    self.run()  File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 99, in run    self._target(*self._args, **self._kwargs)  File "/kaggle/working/deepfacelab/core/joblib/SubprocessGenerator.py", line 54, in process_func    gen_data = next (self.generator_func)  File "/kaggle/working/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 11430.jpg. Error: Traceback (most recent call last):  File "/kaggle/working/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 "/kaggle/working/deepfacelab/samplelib/SampleProcessor.py", line 113, in process    warp_rnd_state=warp_rnd_state,  File "/kaggle/working/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


======================模型概要=======================                                                               模型名字: 猫之汉化神丹224 df-d_SAEHD                                                                当前迭代: 555                                                               --------------------模型选项---------------------                                                         resolution: 224                               face_type: wf                        models_opt_on_gpu: True                                  archi: df-d                                ae_dims: 258                                  e_dims: 66                                   d_dims: 64                              d_mask_dims: 16                          masked_training: True                        eyes_mouth_prio: False                           uniform_yaw: False                         blur_out_mask: False                             adabelief: True                             lr_dropout: n                               random_warp: True                       random_hsv_power: 0.0                         true_face_power: 0.0                        face_style_power: 0.0                          bg_style_power: 0.0                                 ct_mode: none                               clipgrad: True                               pretrain: False                       autobackup_hour: 1                     write_preview_history: False                           target_iter: 0                           random_src_flip: False                       random_dst_flip: True                             batch_size: 8                                 gan_power: 0.0                          gan_patch_size: 24                                 gan_dims: 16                                     猫の汉化: 淘宝地址:t.hk.uy/4ks                       商业合作: 商业定制视频、出售高阶模型                          联系方式: QQ微信:564646676                         此丹免费: 严禁转卖                                   警惕骗子: 盗卖死妈                                 官方中文论坛: dfldata.cc                                                        --------------------运行信息---------------------                                                               设备编号: 0                                      设备名称: Tesla P100-PCIE-16GB                   显存大小: 15.04GB                                                           =============================================Starting. Press "Enter" to stop training and save model.







回复

使用道具 举报

35

主题

184

帖子

4476

积分

高级丹圣

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

积分
4476
发表于 2022-3-18 17:57:38 | 显示全部楼层
你直接在kaggle上截个图比较好
回复 支持 反对

使用道具 举报

0

主题

173

帖子

1679

积分

初级丹圣

Rank: 8Rank: 8

积分
1679
发表于 2022-3-18 18:22:48 | 显示全部楼层
试试合成时参数调低点
回复 支持 反对

使用道具 举报

0

主题

4

帖子

36

积分

初级丹童

Rank: 1

积分
36
发表于 2022-3-18 18:25:19 | 显示全部楼层
完全看不懂
回复 支持 反对

使用道具 举报

43

主题

2018

帖子

1万

积分

高级丹圣

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

积分
11178
发表于 2022-3-18 18:49:40 | 显示全部楼层
直接问h大不就好了
回复 支持 反对

使用道具 举报

10

主题

455

帖子

1万

积分

高级丹圣

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

积分
11614

可爱萌新勋章荣誉会员勋章小有贡献勋章

发表于 2022-3-19 10:49:36 | 显示全部楼层
我教程里有写啊,把Internet打开
回复 支持 反对

使用道具 举报

4

主题

240

帖子

3358

积分

高级丹圣

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

积分
3358
发表于 2022-3-19 14:30:15 | 显示全部楼层
我也是一样的问题
回复 支持 反对

使用道具 举报

15

主题

588

帖子

4886

积分

高级丹圣

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

积分
4886

万事如意节日勋章开心娱乐节日勋章

发表于 2022-3-19 15:27:59 | 显示全部楼层
我也是这一步
回复 支持 反对

使用道具 举报

3

主题

171

帖子

2652

积分

初级丹圣

Rank: 8Rank: 8

积分
2652

万事如意节日勋章

发表于 2022-3-19 16:28:51 | 显示全部楼层
没用过帮顶
回复 支持 反对

使用道具 举报

4

主题

222

帖子

2053

积分

初级丹圣

Rank: 8Rank: 8

积分
2053
发表于 2022-3-19 21:53:10 | 显示全部楼层
kaggle时长不够用,难受
回复 支持 反对

使用道具 举报

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

GMT+8, 2025-5-15 13:55 , Processed in 0.124493 second(s), 42 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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