- 博客(3)
- 资源 (4)
- 收藏
- 关注
原创 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
转载 修复 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
原创 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
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人