U-net原始环境下代码&框架测试

环境:ubuntu14.04+matlab14b

环境搭建,见我上篇博客https://mp.csdn.net/console/editor/html/106949921

其实有想要在windows本身自带的17b上试一下,但是发现好多文件格式和操作隶属于不同内核导致的诸多复杂问题,我还是选择搭建原始环境。


问题log:

出现问题:
This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors. Please consult the External Interfaces Guide for information on debugging MEX-files.

返回至此:

这里发现问题,参考:https://www.cnblogs.com/mantha/p/11222530.html失败

改为cpu试一下:

这也太慢了,开玩笑??第一张图片花了4300s一个多小时。(内存4G,2个处理器)

真棒;原始资料里面只配了两张图还好。。我等等,但是后面一定是要双系统了。

完成之后的文件:

之后利用SecureCRT的zmodem协议完成到windows的结果文件传输。

参考:B站 Linux嵌入式ARM开发教程第一阶段

中间的一些岔路:

参考:https://blog.csdn.net/dongfang1984/article/details/54311567
cup情况查看
top
查看GPU:
nvidia-smi
nvidia-smi:未找到命令

nvidia安装:
sudo apt-get install nvidia-cuda-toolkit

nvidia安装:
sudo apt-get install nvidia-cuda-toolkit
(有 448 个软件包未被升级。sudo apt-get dist-upgrade)
即使升级之后,nvidia-smi依然
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
参考:https://blog.csdn.net/hangzuxi8764/article/details/86572093
AttributeError: 'module' object has no attribute 'make_report_file'
Error! Bad return status for module build on kernel: 3.13.0-24-generic (x86_64)
Consult /var/lib/dkms/nvidia/340-340.102/build/make.log for more information.

cat make.log
内容过于繁多。

重新试:sudo dkms install -m nvidia -v 340-340.102
失败
参考:https://blog.csdn.net/sinat_23619409/article/details/85220561
目前可能处在caffe环境的搭建部分。
参考:https://blog.csdn.net/weixin_42084747/article/details/84371079
uname -r
linux内核版本:3.13.0-24-generic

Make sure that the latest NVIDIA driver is installed and running.
?把NVIDIA driver升级一下版本可以?
参考:https://www.cnblogs.com/walktosee/p/11159728.html
网上一般方法都是叫更新linux内核版本,这个是一定不行的。

发现:https://blog.csdn.net/m0_37605642/article/details/98725096

这是非要我双系统??

ok,cpu晚饭前跑不出来的话,今晚就搞双系统。

system program problem detected解决参考:https://blog.csdn.net/u013832707/article/details/97364602

目前软件包升级之后,无法重启。

另外:

之前和朋友聊到的快照管理真是全称节约了很多时间在这里就提前的很明显了,每个关节点拍一下,便于遇到问题后返回重建环境:

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值