索引应该在 cpu 或同一设备上

问题描述 投票:0回答:0

enter image description here enter image description here 我想运行这个模型。

但是,发生错误。

我该如何解决?

我尝试通过 ( frame = torch.tensor().to('cuda') ) 改变框架

但是,它不起作用。

cuda facenet
© www.soinside.com 2019 - 2024. All rights reserved.