上报如下错误:
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 33/33 [29:38<00:00, 53.90s/it]
Traceback (most recent call last):
File "train.py", line 799, in
np.savez(path, thetas=thetas, info=info)
File "<__array_function__ internals>", line 200, in savez
File "/work/anaconda3/envs/QHN/lib/python3.8/site-packages/numpy/lib/npyio.py", line 615, in savez
_savez(file, args, kwds, False)
File "/work/anaconda3/envs/QHN/lib/python3.8/site-packages/numpy/lib/npyio.py", line 716, in _savez
val = np.asanyarray(val)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4,) + inhomogeneous part.