解决‘UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xd5 in position 190: invalid continuation

解决==‘UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xd5 in position 190: invalid continuation byte’==问题

运行python程序报标题错误,看信息指向以下语句:
checkpoint_directory = ‘./checkpoints/TemporalEnsemblingModel’
checkpoint.save(file_prefix=checkpoint_directory)

然后就去百度,发现好多推荐加以下语句的:

#-*- coding : utf-8-*-
# coding:unicode_escape

可是,我运行仍然出错,然后我又回到报错信息那往上看,发现最上面还有个红色错误信息:

“W tensorflow/core/framework/op_kernel.cc:1502] OP_REQUIRES failed at save_restore_v2_ops.cc:109 : Not found: Failed to create a NewWriteableFile: ./checkpoints/TemporalEnsemblingModel-1_temp_273a027b42db4776b4d68461ba28ed0d/part-00000-of-00002.data-00000-of-00001.tempstate9941584916803556315 : ϵͳ�Ҳ���ָ����·����
; No such process”

一看,好多

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值