![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
nm235666
这个作者很懒,什么都没留下…
展开
-
错误Torch not compiled with CUDA enabled解决方法附CUDA安装教程及Pytorch安装教程
遇到这个错误首先要测试是否有cuda运行一下发现报的是False,那么说明当前的Pytorch版本无法使用显卡,我们就需要安装cuda,1.9.0+cpu 说明使用的Pytorch版本不对 我们首先安装cuda。1.安装cuda首先要看自己的显卡驱动程序版本具体的版本对应可以看如下网址https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html下载CUDAhttps://developer.nvidia.com/c.原创 2021-08-06 06:00:54 · 80439 阅读 · 5 评论 -
CMAKE简单教程(转自哔哩哔哩)
All problems in computer science can be solved by another level of indirection.Make工具有很多种,不同的Make工具遵循着不同的规范和标准,因此其执行的Makefile文件也千差万别。对与跨平台编译,如果用上面的Make工具就需编写不同标准的Makefile文件,这样就很麻烦。Cmake就是针对这一问题,通过编写CMakeLists.txt文件来制定编译流程,生成Makefile文件。cmake步骤1.编写CMakeL原创 2021-08-01 20:20:06 · 238 阅读 · 0 评论 -
Playwright官方文档样例报错解决(持续更新)
官方文档样例import asynciofrom playwright.async_api import async_playwrightasync def run(playwright): chromium = playwright.chromium # or "firefox" or "webkit". browser = await chromium.launch() page = await browser.new_page() await page.got原创 2021-02-23 11:50:03 · 9231 阅读 · 5 评论