Skip to content

replace FastGFile with GFile#1874

Merged
wanghan-iapcm merged 1 commit into
deepmodeling:develfrom
njzjz:njzjz-patch-11
Aug 24, 2022
Merged

replace FastGFile with GFile#1874
wanghan-iapcm merged 1 commit into
deepmodeling:develfrom
njzjz:njzjz-patch-11

Conversation

@njzjz

@njzjz njzjz commented Aug 23, 2022

Copy link
Copy Markdown
Member

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
FastGFile throws a deprecated warning.
See https://github.com/tensorflow/tensorflow/blob/d8ce9f9c301d021a69953134185ab728c1c248d3/tensorflow/python/platform/gfile.py#L128

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
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