文章目錄
- 1.WSL2安裝Ubuntu,更改安裝位置,作為開發環境供vscode和pycharm使用:
- 2.更換國內源:
- 3.安裝圖形界面:
- 4.安裝cuda+cudnn+torch
- 5.安裝opencv
- 6.調用攝像頭
- 7.使用yolov8測試
WSL全稱Windows Subsystem for Linux,適用于Linux的Windows子系統,WSL有WSL1和WSL2兩個版本,最新的wsl2已可媲美真實操作系統。
WSL2擁有完整的Linux內核。對于跨OS文件系統的性能,微軟也給出了解決辦法:可通過將項目文件存儲在與處理項目時運行的工具相同的操作系統上進行處理,并且可與windows共享資源, 尤其是已經支持對GPU資源的調用,這對機器學習,深度學習提供極大便利,并且還可安裝圖像化桌面,操作更直觀。
1.WSL2安裝Ubuntu,更改安裝位置,作為開發環境供vscode和pycharm使用:
鏈接:https://blog.csdn.net/eastking0530/article/details/126613992
2.更換國內源:
鏈接:https://blog.csdn.net/weixin_46119406/article/details/132270994
3.安裝圖形界面:
鏈接:https://blog.csdn.net/weixin_46119406/article/details/132269782
4.安裝cuda+cudnn+torch
鏈接:https://blog.csdn.net/weixin_46119406/article/details/132277823?spm=1001.2014.3001.5502
5.安裝opencv
鏈接:https://blog.csdn.net/weixin_46119406/article/details/132271955
6.調用攝像頭
鏈接:https://blog.csdn.net/weixin_46119406/article/details/132271919
7.使用yolov8測試
鏈接:https://blog.csdn.net/weixin_46119406/article/details/132290274?spm=1001.2014.3001.5502