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

code error #38

Open
lly456 opened this issue Dec 12, 2024 · 1 comment
Open

code error #38

lly456 opened this issue Dec 12, 2024 · 1 comment

Comments

@lly456
Copy link

lly456 commented Dec 12, 2024

when i run the code in the way of :python dataset/preprocess/peta_pad.py,i get the error :

File "C:/OpenPAR-main/PromptPAR/dataset/preprocess/peta_pad.py", line 49, in generate_data_description
dataset.attributes=attr_words
NameError: name 'attr_words' is not defined

how can i solve the problem?

@NOP1224
Copy link
Contributor

NOP1224 commented Dec 16, 2024

change it to attributes

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

2 participants