- 博客(4)
- 收藏
- 关注
转载 MATLAB中求n次方根
MATLAB中求n次方根(1)如果 b 是数字:a = b^(1/n);如果B是矩阵:A = B.^(1/n);注意:矩阵运算要用.* 和./ 和.^(2) 调用方法 y = nthroot(X,n)求 x 的n 次方根若x 是负数,则n 必须是奇数
2021-07-04 15:26:28 11138
原创 Simulink中添加自己的模块
先建立一个模型创建子系统打开编辑器 function blkStruct = slblocks% This function specifies that the library 'mylib'% should appear in the Library Browser with the % name 'My Library' Browser.Library = 'libelx'; % 'mylib' is the name of the library Brow.
2021-03-22 21:20:59 7010 2
原创 AttributeError: type object ‘h5py.h5r.Reference‘ has no attribute ‘__reduce_cython__‘
TensorFlow2.3版本h5py和hdf5h5py = 2.10.0hdf5 = 1.10.4如果运行出现报错可能就要换成这两个版本解决首先激活你所使用的TensorFlow版本然后 pip uninstall h5py重新安装所对应的版本pip install h5py==2.10.0hdf5也是同样的方法...
2021-03-20 19:58:40 790 1
原创 Tensorflow2.3.1使用GPU加速时遇到的问题
Tensorflow2.3.1使用GPU加速时遇到的问题运行结果总是有大段的提示打开了cuda,如果经常运行每次都需要等几秒钟,这是用GPU加速时很烦的问题。解决方法:import osos.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'![在这里插入图片描述](https://img-blog.csdnimg.cn/20210320162905116.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpd
2021-03-20 16:44:28 493 3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人