Skip to content
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

[Bug]: There no attribute cfs.dataset_dir in format.formatter.py:218 #155

Closed
3 tasks done
sylcjl opened this issue Dec 26, 2023 · 1 comment · Fixed by #157
Closed
3 tasks done

[Bug]: There no attribute cfs.dataset_dir in format.formatter.py:218 #155

sylcjl opened this issue Dec 26, 2023 · 1 comment · Fixed by #157
Assignees
Labels
bug Something isn't working

Comments

@sylcjl
Copy link

sylcjl commented Dec 26, 2023

Before Reporting 报告之前

  • I have pulled the latest code of main branch to run again and the bug still existed. 我已经拉取了主分支上最新的代码,重新运行之后,问题仍不能解决。

  • I have read the README carefully and no error occurred during the installation process. (Otherwise, we recommend that you can ask a question using the Question template) 我已经仔细阅读了 README 上的操作指引,并且在安装过程中没有错误发生。(否则,我们建议您使用Question模板向我们进行提问)

Search before reporting 先搜索,再报告

  • I have searched the Data-Juicer issues and found no similar bugs. 我已经在 issue列表 中搜索但是没有发现类似的bug报告。

OS 系统

Ubuntu

Installation Method 安装方式

Docker

Data-Juicer Version Data-Juicer版本

latest

Python Version Python版本

3.10

Describe the bug 描述这个bug

There no attribute cfs.dataset_dir in format.formatter.py:218.
https://github.com/alibaba/data-juicer/blob/main/data_juicer/format/formatter.py#L218

To Reproduce 如何复现

Use data_juicer.format.mixture_formatter.py with
cfg.data_path=1 xxxxxxx-1.parquet 1 xxxxxxx-2.parquet

Error Message:
data_juicer.format.formatter.py:218
AttributeError: 'Namespace' object has no attribute 'dataset_dir'

Configs 配置信息

cfg.data_path=1 xxxxxxx-1.parquet 1 xxxxxxx-2.parquet

Logs 报错日志

No response

Screenshots 截图

No response

Additional 额外信息

No response

@sylcjl sylcjl added the bug Something isn't working label Dec 26, 2023
@HYLcool HYLcool moved this from Todo to In Progress in data-juicer Dec 26, 2023
@HYLcool HYLcool self-assigned this Dec 26, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in data-juicer Dec 26, 2023
@HYLcool
Copy link
Collaborator

HYLcool commented Dec 26, 2023

你好,这个问题目前已经修复,请你拉取main分支的最新代码再进行尝试~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants