-
Notifications
You must be signed in to change notification settings - Fork 332
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
[feat]add udf for label #303
Conversation
|
CI PY3 TF25 Test Passed |
CI PY3 Test Failed |
CI Test Failed |
CI PY3 TF25 Test Passed |
CI PY3 Test Failed |
CI Test Failed |
CI PY3 TF25 Test Failed |
CI PY3 Test Failed |
CI Test Failed |
CI PY3 TF25 Test Passed |
CI PY3 Test Failed |
CI Test Passed |
CI PY3 Test Failed |
CI PY3 Test Passed |
CI PY3 TF25 Test Passed |
CI PY3 Test Passed |
CI Test Passed |
easy_rec/python/input/input.py
Outdated
if udf_path: | ||
assert dtype is not None, 'must set user_define_fn_res_type' | ||
if udf_path.startswith('oss://') or udf_path.startswith('hdfs://'): | ||
with tf.gfile.GFile(udf_path, 'r') as fin: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not use tf.gfile, use: from tensorflow.python.platform import gfile
No description provided.