在Google Colab上更新keras.json [英] Update keras.json on Google Colab

查看:194
本文介绍了在Google Colab上更新keras.json的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在Google Colabs上更新keras.json,但是它抛出UnsupportedOperation错误

I tried to update keras.json on Google Colabs, but its throwing UnsupportedOperation error

还有其他替代方法可以实现这一目标吗?

Is there any other alternative to achieve this?

推荐答案

您正在以只读方式打开文件-将'w'传递给第9行的open调用.(

You're opening the file as readonly -- pass 'w' to the open call on line 9. (docs)

这篇关于在Google Colab上更新keras.json的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆