我一直在关注tensorflow的机器翻译教程:Neural machine translation with attention
我想在Japanes to English dataset上使用相同的代码,但它引发了以下错误:
当我尝试用浏览器下载文件时,它可以正常工作
我的代码:
# Download the file
path_to_zip = tf.keras.utils.get_file(
'jpn-eng.zip', origin='http://www.manythings.org/anki/jpn-eng.zip', extract=True)
path_to_file = os.path.dirname(path_to_zip)+"/jpn-eng/jpn.txt"
根据评论
相关问题 更多 >
编程相关推荐