woven-planet / l5kit

L5Kit - https://woven.toyota
https://woven-planet.github.io/l5kit
857 stars 278 forks source link

[Error] deepcopy failed #367

Open 13572320829 opened 2 years ago

13572320829 commented 2 years ago

When I running the example, urban_driver/closed_loop_test-checkpoint.ipynb, there is a error that say 'ReferenceError: weakly-referenced object no longer exists' . I find this eroor happen in the deepcopy function to a dict [int, EgoDataset]. Does anyone have a similar bug? bug about deepcopy.txt

perone commented 2 years ago

This looks like an issue due to the fact you're using Windows, we only test l5kit in Linux, do you have a way of testing the same code in Linux ? cc @yawei-ye @blazejosinski did you see that before on CLT ?

thversfelt commented 2 years ago

A fresh Anaconda install (reinstalling l5kit in a clean env), fixed it for me on windows.

huangjieAAA commented 2 years ago

当我运行示例 urban_driver/closed_loop_test-checkpoint.ipynb 时,出现一个错误,提示 'ReferenceError:weakly-referenced object no longer exists' 。我发现这种错误发生在 dict [int, EgoDataset] 的 deepcopy 函数中。有没有人有类似的错误? 关于 deepcopy.txt 的错误

I also encountered this problem, how did you solve it?

13572320829 commented 2 years ago

I use a copy function ranther copy in program, which neglect this problem

kargarisaac commented 1 year ago

I have the same problem on m1 mac.

kargarisaac commented 1 year ago

Solved it in #400