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

'load_task' is not defined #2

Open
zdx3578 opened this issue Aug 10, 2024 · 0 comments
Open

'load_task' is not defined #2

zdx3578 opened this issue Aug 10, 2024 · 0 comments

Comments

@zdx3578
Copy link

zdx3578 commented Aug 10, 2024

snap-stanford/ViRel#1


NameError Traceback (most recent call last)
Cell In[23], line 6
4 if filename.endswith(".json"):
5 print("extracting objs from task: ", filename)
----> 6 training_objs.extend(single_task_obj_parser(filename.split(".")[0]))
7 # we only need to parse once, and save it to the disk
8 torch.save(training_objs, os.path.join(tmp_data_dirname, 'arc_objs.pt'))

File ~/github/VSAHDC/virel/BabyARC/code/dataset/utils.py:223, in single_task_obj_parser(task_id)
221 task_objs = []
222 task_id += ".json"
--> 223 (inputs, ), (, _) = load_task(task_id, isplot=False)
224 # parse objects in 3 ways
225 inputs_graph = parse_obj(inputs)

NameError: name 'load_task' is not defined

@zdx3578 zdx3578 changed the title python3.12 'load_task' is not defined Aug 10, 2024
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