文章浏览阅读1.9k次,点赞2次,收藏2次。在用electron-vue打包时遇到Error: Unresolved node modules: vue问题,解决方案:1、删除node_modules文件夹2、yarn或npm install重新安装3、yarn build或npm run build即可_unresolved modules...
2024-01-25 02:17 阅读 阅读全文文章浏览阅读530次。转载:https://wenyuangg.github.io/posts/linux/simple-linux-kernel-module.html1. 先創建一個資料夾 並寫個簡單的 kernel module (hello.c)mkdir helloworldcd helloworldvim hello.chello.c的 code 如下:#include <linux/init.h>#include <lin......
2023-11-13 14:17 阅读 阅读全文文章浏览阅读10w+次,点赞700次,收藏2.2k次。前言:pytorch中对于一般的序列模型,直接使用torch.nn.Sequential类及可以实现,这点类似于keras,但是更多的时候面对复杂的模型,比如:多输入多输出、多分支模型、跨层连接模型、带......
2023-11-11 12:45 阅读 阅读全文文章浏览阅读10w+次,点赞700次,收藏2.2k次。前言:pytorch中对于一般的序列模型,直接使用torch.nn.Sequential类及可以实现,这点类似于keras,但是更多的时候面对复杂的模型,比如:多输入多输出、多分支模型、跨层连接模型、带......
2023-11-11 12:45 阅读 阅读全文文章浏览阅读10w+次,点赞700次,收藏2.2k次。前言:pytorch中对于一般的序列模型,直接使用torch.nn.Sequential类及可以实现,这点类似于keras,但是更多的时候面对复杂的模型,比如:多输入多输出、多分支模型、跨层连接模型、带......
2023-11-11 12:46 阅读 阅读全文文章浏览阅读720次。ModuleNotFoundError: No module named ‘numpy‘_ubunt中modulenotfounderror: no module named 'numpy...
2024-01-22 23:30 阅读 阅读全文文章浏览阅读880次。编写设备驱动是学习kernel的门路之一, 迈入驱动编程的第一堂课可能就是编写内核模块。第一步,编写源文件hello.c,如下#include #include MODULE_LICENSE("Dual BSD/GPL");static int hello_init(void){ printk(KERN_ALERT &qu......
2023-11-13 14:19 阅读 阅读全文Introduction对于习惯了平时在Linux上进行C应用程序开发的你,是否想窥探一下底层的世界?对于对Linux Kernel源码无从下手的你,是否希望有一个简易的方法?是的,这里有一个地方,可以让你轻松的编写和调试Linux Kernel Code。这个......
2023-10-10 02:29 阅读 阅读全文文章浏览阅读6.2k次。本文是解决在anaconda中安装tensorflow发生的错误,可以参考这篇文章 安装tensorflow报错现在本人遇到了文中没有提到的问题,就是在activate tensorflow之后,进入该环境下的Python解释器,import tensorflow as tf 可以导......
2023-11-11 23:54 阅读 阅读全文文章浏览阅读596次。执行脚本bash test.sh_vmware kernel module update...
2024-01-23 23:45 阅读 阅读全文