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

Question about sdd dataset. #67

Open
daleigehhh opened this issue May 20, 2024 · 0 comments
Open

Question about sdd dataset. #67

daleigehhh opened this issue May 20, 2024 · 0 comments

Comments

@daleigehhh
Copy link

Hi, @ksachdeva, @karttikeya, @HarshayuGirase

I am running the training code, but there is an error arised in the dataset code:
Traceback (most recent call last): File "training_loop.py", line 139, in <module> train_dataset = SocialDataset(set_name="train", b_size=hyper_params["train_b_size"], t_tresh=hyper_params["time_thresh"], d_tresh=hyper_params["dist_thresh"], verbose=args.verbose) File "/home/yflei/TrajPre/PECNet/utils/social_utils.py", line 212, in __init__ traj_new = np.array(traj_new) ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (36,) + inhomogeneous part.

I think it is because the inhomogenity of the length of the data in your pickle. Maybe the version of numpy I am using was different from yours.

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