Skip to content

Commit

Permalink
[fix] error when read hive config to evaluate (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
poson authored Apr 16, 2022
1 parent 26cad57 commit cb93ac4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions easy_rec/python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,7 @@ def evaluate(pipeline_config,
else:
pipeline_config.eval_input_path = eval_data_path
train_config = pipeline_config.train_config

if pipeline_config.WhichOneof('eval_path') == 'kafka_eval_input':
eval_data = pipeline_config.kafka_eval_input
else:
eval_data = pipeline_config.eval_input_path
eval_data = _get_input_object_by_name(pipeline_config, 'eval')

server_target = None
if 'TF_CONFIG' in os.environ:
Expand Down

0 comments on commit cb93ac4

Please sign in to comment.