![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
机器学习
rickpong
这个作者很懒,什么都没留下…
展开
-
keras, 构建GRU传值 Units时,报错,TypeError: object of type ‘numpy.int32‘ has no len()
keras,构建GRU模型时,在需要进行随机搜索对units进行传值时,回出现TypeError: object of type 'numpy.int32' has no len()错误。 举例说明: p = {'neurons': np.random.choice([10,20])} model = Sequential() model.add(GRU(units=params['gru1_neurons'], input_shape=(12, 12), return_sequences=Fals原创 2020-07-02 20:49:26 · 2674 阅读 · 0 评论 -
Ubuntu安装中文输入法
旨在记录自己学习过程,如果其中有侵犯他人知识产权请及时联系我。 安装语言包 System Settings–>Language Support–>Install/RemoveLanguages 选中chinese,点击Apply应用即可,等待下载安装完成。 安装ibus框架 sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gt原创 2018-01-21 23:16:53 · 182 阅读 · 0 评论 -
修复 Ubuntu 中“Unable to lock the administration directory (/var/lib/dpkg/)”的错误提示
在 Ubuntu 或者它的衍生版如 Linux Mint(我已经作为日常工作使用的系统)中使用 apt-get 命令或者其相对更新的APT 管理工具时,你可能会在命令行中看到一个 unable to lock the administration directory (/var/lib/dpkg/) is another process using it 的错误。 这个错误尤其对那些对这个转载 2018-01-22 09:41:32 · 232 阅读 · 0 评论