-
Notifications
You must be signed in to change notification settings - Fork 70
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
cannot visualize trajectory #8
Comments
Hi, have you solved this error? |
@ZijianHan |
@ZijianHan @ZSL98 Hi, when I run the viz python script I got the same error.Could you please tell me your solution of solveing the problem, and I have the urgent need for the solution. Thank you very much! |
Hi, sorry I dont have a solution for it, as I haven't been working on this
project for some time.
Zijian Han
zyz111 <[email protected]> 于2020年8月22日周六 下午12:19写道:
… @ZijianHan <https://github.com/ZijianHan> @ZSL98
<https://github.com/ZSL98>
File "argoverse-api/argoverse/utils/manhattan_search.py", line 90, in
find_all_polygon_bboxes_overlapping_query_bbox
overlaps_left = (query_min_x <= bboxes_x2) & (bboxes_x2 <= query_max_x)
ValueError: operands could not be broadcast together with shapes (2,)
(4952,)
Hi, when I run the viz python script I got the same error.Could you please
tell me your solution of solveing the problem, and I have the urgent need
for the solution. Thank you very much!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG5HW2LABZ56CLPJZ5R7ICTSB6LUJANCNFSM4LEDRPNA>
.
|
Hi, I'm not able to reproduce this error. |
Thank you! |
@ZijianHan |
@jagjeet-singh python eval_forecasting_helper.py --viz --gt trajectory_predict/lstm_social_traj.pkl --forecast trajectory_predict/lstm_map_traj.pkl --horizon 30 --obs_len 20 --features features_pre/forecasting_features_test.pkl Could you please tell me your method or the gt argument, thank you very much! |
You can use something as below to generate the ground_truth pkl file from the generated features. import pandas as pd
import os
import pickle
df = pd.read_pickle("./forecasting_features/forecasting_features_val.pkl")
save_path = "./ground_truth_data"
if not os.path.exists(save_path):
os.makedirs(save_path)
val_gt = {}
for i in range(len(df)):
seq_id = df.iloc[i]['SEQUENCE']
curr_arr = df.iloc[i]['FEATURES'][20:][:, 3:5]
val_gt[seq_id] = curr_arr
with open(save_path + '/ground_truth_val.pkl', 'wb') as f:
pickle.dump(val_gt, f) |
@abojja9 |
@abojja9 Super helpful! thanks mate! |
Hi, when I run the viz python script I got the error:
Is this some error in argoverse api or am I using the wrong commnd by :
python eval_forecasting_helper.py --viz --gt trajectory_predict/const_vel_traj_predict.pkl --forecast trajectory_predict/lstm_social_traj.pkl --horizon 30 --obs_len 20 --features features_pre/forecasting_features_test.pkl
The text was updated successfully, but these errors were encountered: