Skip to main content

与代码重修于好

Tiu MoLess than 1 minute

与代码重修于好

配置服务器(一般不用)

配置开发环境

安装 VS Code

Download Visual Studio Code - Mac, Linux, Windowsopen in new window

https://vscodethemes.com/?language=pythonopen in new window

安装插件

表示必装,* 表示推荐安装,无标识表示随意

  1. 远程连接: Remote-SSH/Remote Explorer/Remote-SSH: Editing Configuration Files
  2. Python 扩展: Python / * Pylance / * Python Extension Pack /* Python Environment Manager / Code Runner
  3. 自动补全:==IntelliCode / ==* IntelliCode Completions /IntelliCode Insiders / 贼贵GitHub Copilot;**自动实时重构:**Sourcery;**自动函数注释:**Mintlify Doc Writer / AI Python Docstring Generator;**路径补全:**Path Intellisense
  4. **主题样式:**PyCharm Theme / Material Icon Theme / nyan-mode / TODO Highlight / Better Comments / Better Align;**显示文件大小:**filesize;**代码截图:**CodeSnap

连接远程服务器

配置conda环境

python -c 'import torch;print(torch.__version__);print(torch.version.cuda)'

4.跑通第一个代码

5.复现一篇论文