pytorch深度学习cpu占用太高

参考1:https://blog.csdn.net/qq_32998593/article/details/92849585/

虽然参考了网上的一些介绍,但:

GPU占用正常,CPU主线程占用过高的问题依然存在。