|
发表于 2023-2-1 20:57:06
|
显示全部楼层
初始化模型: 20%|##############4 | 1/5 [00:00<00:00, 4.25it/s]
Error: cannot reshape array of size 12845056 into shape (100352,512)
Traceback (most recent call last):
File "D:\20200802\DeepFaceLab_NVIDIA802\_internal\DeepFaceLab\mainscripts\Trainer.py", line 57, in trainerThread
debug=debug,
我操作出现这个画面怎么办,这报错是什么意思?
File "D:\20200802\DeepFaceLab_NVIDIA802\_internal\DeepFaceLab\models\ModelBase.py", line 189, in __init__
self.on_initialize()
File "D:\20200802\DeepFaceLab_NVIDIA802\_internal\DeepFaceLab\models\Model_SAEHD\Model.py", line 568, in on_initialize
do_init = not model.load_weights( self.get_strpath_storage_for_file(filename) )
File "D:\20200802\DeepFaceLab_NVIDIA802\_internal\DeepFaceLab\core\leras\layers\Saveable.py", line 93, in load_weights
w_val = np.reshape( w_val, w.shape.as_list() )
File "<__array_function__ internals>", line 6, in reshape
File "D:\20200802\DeepFaceLab_NVIDIA802\_internal\python-3.6.8\lib\site-packages\numpy\core\fromnumeric.py", line 301, in reshape
return _wrapfunc(a, 'reshape', newshape, order=order)
File "D:\20200802\DeepFaceLab_NVIDIA802\_internal\python-3.6.8\lib\site-packages\numpy\core\fromnumeric.py", line 61, in _wrapfunc
return bound(*args, **kwds)
ValueError: cannot reshape array of size 12845056 into shape (100352,512) |
|