Skip to content

replace FastGFile with GFile #1874

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

Merged
merged 1 commit into from
Aug 24, 2022
Merged

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Aug 23, 2022

FastGFile throws a deprecated warning.

WARNING:tensorflow:From /home/jz748/codes/deepmd-kit/deepmd/utils/convert.py:135: FastGFile.init (from tensorflow.python.platform.gfile) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.gfile.GFile.

See also
https://github.com/tensorflow/tensorflow/blob/d8ce9f9c301d021a69953134185ab728c1c248d3/tensorflow/python/platform/gfile.py#L128

@wanghan-iapcm wanghan-iapcm merged commit 3ffcd4b into deepmodeling:devel Aug 24, 2022
@njzjz njzjz deleted the njzjz-patch-11 branch November 2, 2022 19:36
mingzhong15 pushed a commit to mingzhong15/deepmd-kit that referenced this pull request Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants