环境配置
- WSL2(参考NVIDIA的doc)
- YOLO环境
WSL2
- 加入Windows insider program。设置→更新→预览体验计划→Dev channel
- 加入后将系统更新到最新的win11。设置→更新→安装
- 下载专用driver。安装它。
- 根据instructions,使用手动方式下载WSL2(自动方式failed)。管理员身份打开powershell,两个设置。重启。下载内核update。设置为default。在应用商店下载Ubuntu。
- 从开始界面进入Ubuntu,设置用户名和密码。
YOLO环境-Windows
- 新建conda环境,python=3.7。
- pytorch系列