问题1:第7章7.3.2节第一个程序,生成数据的那个。有时候能编译通过,生成数据。但有时候这句writer = tf.python_io.TFRecordWriter(filename)运行出错。UnicodeEncodeError: ‘utf-8’ codec can’t encode character ‘\udcd5’ in position 1885: surrogates not allowed。怎么解决这个问题,有时候好用,有时候出错。问题2:同一节的第2个程序,与第1个程序有关联。第2个程序中有一句:files = tf.train.match_filenames_once(‘path/to/data.tfrecords-*’)运行不出任何结果,正常不是应该有个files列表在变量空间可以查看吗?前提是,在该路径的确存在这个数据的(这个数据能生成是第1个程序好用的时候生成的)。
229页,tensorboard —logdir=/log/**_example.log 返回invalid syntax大家碰到过吗?如果直接到docker exec 的shell里面去,有说6006端口被占用。Tried to connect to port 6006, but address is in used。到底该怎么弄呢?
训练识别MNIST手写字体时,报错MemoryError怎么办
你好,我使用docker安装之后,需要输入密码,这密码是什么?
谢谢
问题1:第7章7.3.2节第一个程序,生成数据的那个。有时候能编译通过,生成数据。但有时候这句
writer = tf.python_io.TFRecordWriter(filename)
运行出错。
UnicodeEncodeError: ‘utf-8’ codec can’t encode character ‘\udcd5’ in position 1885: surrogates not allowed。
怎么解决这个问题,有时候好用,有时候出错。
问题2:同一节的第2个程序,与第1个程序有关联。
第2个程序中有一句:
files = tf.train.match_filenames_once(‘path/to/data.tfrecords-*’)
运行不出任何结果,正常不是应该有个files列表在变量空间可以查看吗?
前提是,在该路径的确存在这个数据的(这个数据能生成是第1个程序好用的时候生成的)。
229页,tensorboard —logdir=/log/**_example.log 返回invalid syntax大家碰到过吗?
如果直接到docker exec 的shell里面去,有说6006端口被占用。Tried to connect to port 6006, but address is in used。
到底该怎么弄呢?
训练识别MNIST手写字体时,报错MemoryError怎么办
你好,我使用docker安装之后,需要输入密码,这密码是什么?
谢谢