摘要: python numpy.arry, pytorch.Tensor及原生list相互转换 1 原生list转numpy list my_list = np.ndarray(my_list) 2 numpy.array 转原生list my_list = my_list.tolist() 3 nump 阅读全文
posted @ 2020-08-05 19:01 lzping 阅读(3191) 评论(0) 推荐(0) 编辑
摘要: conda 安装GPU版tensorflow conda create -n tensorflow python=3.6 conda activate tensorflow conda install tensorflow-gpu 阅读全文
posted @ 2020-08-05 18:58 lzping 阅读(1670) 评论(0) 推荐(0) 编辑