We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在GPU处理得到tensor后,似乎目前普遍使用.cpu().numpy()将数据转移到CPU,然而实际测试中我发现这是一个十分昂贵的操作,耗费时间太长,调研之后发现存在cupy这样支持GPU的,并且与numpy接近的库。那么是否有可能将数据转换为cupy形式,然后直接绕过cpu将其呈现在屏幕上?似乎离线存储视频无法避免cpu的数据迁移,那么在线不存储视频呢?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在GPU处理得到tensor后,似乎目前普遍使用.cpu().numpy()将数据转移到CPU,然而实际测试中我发现这是一个十分昂贵的操作,耗费时间太长,调研之后发现存在cupy这样支持GPU的,并且与numpy接近的库。那么是否有可能将数据转换为cupy形式,然后直接绕过cpu将其呈现在屏幕上?似乎离线存储视频无法避免cpu的数据迁移,那么在线不存储视频呢?
The text was updated successfully, but these errors were encountered: