Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python相关问题 #1

Open
ahangchen opened this issue May 18, 2016 · 5 comments
Open

Python相关问题 #1

ahangchen opened this issue May 18, 2016 · 5 comments

Comments

@ahangchen
Copy link
Owner

可以在这里讨论Python相关问题

@sunxiaobiu
Copy link

sunxiaobiu commented Nov 10, 2016

@ahangchen 请教:
native python IO 可以支持Google Storage, gs://.吗?好像不行~
我想把https://github.com/sherjilozair/char-rnn-tensorflow/blob/master/model.py 有没有相应的Python包可以使用的呢?

@ahangchen
Copy link
Owner Author

@sunxiaobiu 主要是Google Storage被墙了吧,应该不是Python的锅,你的model的问题我没看懂,你是想表达是否有可以实现这种功能的model吗?

@sunxiaobiu
Copy link

sunxiaobiu commented Nov 13, 2016

@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包吗?

@ahangchen
Copy link
Owner Author

@sunxiaobiu
可以看看 gsutil的官方文档

@chenmingyong2
Copy link

楼主的RNN介绍不错,我发现cPickle 需要改成直接用pickle 。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants