摘要: 当前状态: 我们有一个远程仓库和一个本地项目仓库,本地仓库没有配置 git。 现在想将本地仓库中的部分文件作为一个新的分支推送到远端仓库。 Procedures: Set up ".gitignore" file. "git init" in local repo. git checkout -b 阅读全文
posted @ 2021-06-30 17:15 略略略—— 阅读(189) 评论(0) 推荐(0) 编辑
摘要: error info: (They can occur at the same time.) tonyyan@tonyyan-X11SPI:~$ nvidia-smi Unable to determine the device handle for GPU 0000:65:00.0: GPU is 阅读全文
posted @ 2021-06-30 16:01 略略略—— 阅读(1812) 评论(0) 推荐(0) 编辑
摘要: import torchvision.transforms as transforms image = transforms.functional.to_tensor(image) Convert a PIL Image or numpy.ndarray to tensor. This functi 阅读全文
posted @ 2021-06-30 10:26 略略略—— 阅读(1277) 评论(0) 推荐(0) 编辑