Skip to content

Commit

Permalink
minor fix for relative import
Browse files Browse the repository at this point in the history
  • Loading branch information
yxdyc committed Nov 8, 2023
1 parent 4101678 commit c96b7cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions data_juicer/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,7 @@ def merge_config(ori_cfg, new_cfg: Dict):
ori_cfg_val = ori_cfg.process[op_order][op_name][para_name]
print(
'=' * 15, f'\nBefore merging, the cfg item is: '
f'{new_k}: {ori_cfg_val}'
)
f'{new_k}: {ori_cfg_val}')
ori_cfg.process[op_order][op_name][para_name] = new_v
print(
f'After merging, the cfg item is: '
Expand Down
1 change: 0 additions & 1 deletion demos/data_process_hpo/app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import streamlit as st


Expand Down
2 changes: 1 addition & 1 deletion tools/quality_classifier/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import fire
from loguru import logger

from .qc_utils import eval, init_spark, load_datasets
from tools.quality_classifier.qc_utils import eval, init_spark, load_datasets


@logger.catch
Expand Down
3 changes: 2 additions & 1 deletion tools/quality_classifier/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
import fire
from loguru import logger

from .qc_utils import eval, init_spark, load_datasets, shuffle, train
from tools.quality_classifier.qc_utils import (eval, init_spark, load_datasets,
shuffle, train)


@logger.catch
Expand Down

0 comments on commit c96b7cf

Please sign in to comment.