摘要:
##gdb 1.启动 (编译)gcc -g test.c -o test (启动)gdb test 或 gdb -q test 2.查看源码 (gdb)list 3.运行 (gdb)r 4.设置断点 (gdb)b +行号 5.单步执行 r n s c run next step continue 6 阅读全文
摘要:
加载模型,也就是如下操作: 发现报错: 经过反复查看代码并运行,发现代码中已经封装好了模型,即函数中 也就意味着在 中直接将已经封装好的模型赋予你要可视化的模型就好, 即 又或者是ValueError: Unexpectedly found an instance of type ``. Expec 阅读全文
摘要:
安装pip install pydot、pydot ng、graphviz,然后可视化模型 结果出现了错误,该如何解决,该错误和Exception: "dot.exe" not found in path.往往一起出现,解决方法相近。 我的解决 graphviz的安装去[网址](https://ww 阅读全文
摘要:
一、问题:直接将转好的灰度图像输入神经网络,发现 FileNotFoundError: [Errno 2] No such file or directory: 'home/JPEGImages/Image_24.jpg' 二、分析:灰度图像只有一个通道,而RGB有三个通道 三、解决:将一个通道的灰 阅读全文