DQN 网络输入维度详解:in_planes 的含义
DQN 网络的输入维度等于 'in_planes'。'in_planes' 代表输入特征的维度,例如,如果输入图像的尺寸是 84x84,则 'in_planes' 的值应该是 84。在代码中,您可以使用 'in_planes' 作为网络层参数,例如 'DQN(in_planes, n_actions).to(device)',其中 'n_actions' 是动作的数量。
原文地址: https://www.cveoy.top/t/topic/m4qT 著作权归作者所有。请勿转载和采集!