如何在不使用枚举的情况下索引dataloader中的特定对象我有以下代码来测试pytorch中的网络(取自pix2pix): for i, data in enumerate(dataset): model.set_input(data) mo ...2024-10-02 已阅读: n次