tusen-ai / SimpleTrack

MIT License
342 stars 64 forks source link

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (40,) + inhomogeneous part. #44

Closed jesanli closed 5 months ago

jesanli commented 6 months ago

图片 when I use "bash nuscenes_preprocess.sh ${raw_data_dir} ${data_dir_2hz} ${data_dir_20hz}" occur this problem my numpy version==1.19.5 图片

jesanli commented 6 months ago

my command is "bash nuscenes_preprocess.sh /home/jesanli/SimpleTrack/SimpleTrack-main/data/nuscenes/ data_nus_2hz data_nus_20hz" as the results,the 2hz as same as 20hz,there are all 150 files ,Could you tell me what's the different? Thanks

jesanli commented 6 months ago

yeah i have solved it by turning the version of numpy!

ziqipang commented 5 months ago

@jesanli Glad to know that you have addressed this!

mx2013713828 commented 5 months ago

yeah i have solved it by turning the version of numpy!

Hi,what is your numpy version? I got same problem. Thanks for your reply~!

jesanli commented 5 months ago

yeah i have solved it by turning the version of numpy!

Hi,what is your numpy version? I got same problem. Thanks for your reply~!

you can use numpy==1.19.5 when demo.py ,others you can use numpy==1.24.4

mx2013713828 commented 5 months ago

yeah i have solved it by turning the version of numpy!

Hi,what is your numpy version? I got same problem. Thanks for your reply~!

you can use numpy==1.19.5 when demo.py ,others you can use numpy==1.24.4

Thanks a lot ,I will try!