我分别建立了两个keras序列模型,并使用keras函数api将这两个模型结合起来。在它们之间,我采用了数据重打包,通过两个顺序模型对数据进行调整。另一个问题是,在进行数据张量重新打包时,我将所有的零放在占位符中。当我运行model.fit时,它会被真实的数据所代替吗?还是它们是常数零?using keras sequential model as "SRnet_3d_model"
它创建了正确的输出,但在中间层中,但稍后仍会给出错误。branch_outputs.append(orig_channel) # Slicing the ith channel: # Setting up your per-channel layers (replace with actual sub-models):
layer_out = ke
我正在尝试加载一个经过训练的keras模型(SeResnext),这个模型体系结构也包含"Lambda“层。='function in Lambda layer')
File "/usr/local/lib/python3.6/site-packages/keras/utils/generic_utils.pyNoneType' object has no attribut