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

KeyError: 'low_quality' #2

Open
Halleyawoo opened this issue Aug 29, 2023 · 0 comments
Open

KeyError: 'low_quality' #2

Halleyawoo opened this issue Aug 29, 2023 · 0 comments

Comments

@Halleyawoo
Copy link

您好,感谢您出色的工作。我再读取alan数据集csv文件的时候,出现了这个错误:Traceback (most recent call last):
File "/home/ywchang/NeAR-main/repairing/near_repairing/near_repair.py", line 147, in
train_dataset = AlanDataset(root=data_path, resolution=cfg["target_resolution"], n_samples=cfg["n_training_samples"])
File "/home/ywchang/NeAR-main/repairing/near_repairing/../../near/datasets/refine_dataset.py", line 19, in init
info = df[df['low_quality'].isnull()]
File "/home/ywchang/.local/lib/python3.8/site-packages/pandas/core/frame.py", line 3761, in getitem
indexer = self.columns.get_loc(key)
File "/home/ywchang/.local/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 3655, in get_loc
raise KeyError(key) from err
KeyError: 'low_quality'
这个csv文件中没有low_quality这一列,请问是怎么回事呢?期待您的回答,感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant