Open ahangchen opened 8 years ago
@ahangchen 请教: native python IO 可以支持Google Storage, gs://.吗?好像不行~ 我想把https://github.com/sherjilozair/char-rnn-tensorflow/blob/master/model.py 有没有相应的Python包可以使用的呢?
@sunxiaobiu 主要是Google Storage被墙了吧,应该不是Python的锅,你的model的问题我没看懂,你是想表达是否有可以实现这种功能的model吗?
@ahangchen 现在代码里是直接IO读取的: input_file = os.path.join(data_dir, "input.txt")
我想把代码改成其他的IO方式,使得可以支持Google Storage, gs://的读写 比如: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/lib/io/file_io.py 不知道可不可行呢?有类似的支持Google Storage 的pythonIO包吗?
楼主的RNN介绍不错,我发现cPickle 需要改成直接用pickle 。
可以在这里讨论Python相关问题