目录1 pytorch保存模型的两种方式1.1 直接保存模型并读取1.2 只保存模型中的参数并读取2 GPUpython / CPU模型相互加载2.1 单个CPU和单个GPU模型加载情况一:CPU -> CPU, GPU -> GPU情况二:GPU -> CPG/GPU情
目录Pytorch指定device(cuda or cpu)torch.device()os.environ['CUDA_VISIBLE_DEVICESjs']说说torch.device的作用总结Pytorch指定device(cuda or cpu)
I have made some archive file with the tar gnome GUI on Ubuntu but when I try to extract them tar zxvf archive_name