Nuplan数据集的使用
1 下载数据集¶
先登录:
最少下载两个数据集:map和mini split
在home下新建文件夹nuplan/dataset/maps和nuplan/dataset/nuplan-v1.1/splits/mini
2 下载开发工具箱¶
1 2 3 4 5 6 7 8 9 |
|
环境变量: export NUPLAN_DATA_ROOT="\(HOME/nuplan/dataset" export NUPLAN_MAPS_ROOT="\)HOME/nuplan/dataset/maps" export NUPLAN_EXP_ROOT="\(HOME/nuplan/exp" export NUPLAN_DB_FILES="\)HOME/nuplan/datase/nuplan-v1.1/splits/mini"
3 运行jupyter教程¶
在运行nuplan_framework.ipynb时,可能会出现oom的现象(最好用btop监控一下)。
3.1扩展swap分区来解决oom¶
最直接的解决办法:增加swap分区大小,如果原有内存是16G,那么swap分区设置为32G
nuplan最高可能会占用27G内存
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
1 2 |
|
3.2 通过不适用ray来解决(没经过试验、只是理论上的)¶
'worker=single_machine_thread_pool', 'worker.use_process_pool=true', https://github.com/motional/nuplan-devkit/issues/237