Commit Graph

133 Commits

Author SHA1 Message Date
Zhenghao (Mark) Peng
07cb55c1cc Use the utils from MetaDrive to update object summaries; update ScenarioDescription doc (#52)
* Update

* update

* update

* update
2024-01-21 19:52:57 -08:00
Alan
1f61a4b9d1 1. add back map center to restore original coordinate in nuScnes (#51)
* 1. add back map center to restore the original coordinate in nuScenes
2024-01-18 22:47:15 +01:00
Alan
46747d85aa add nuscenes tracks and av2 bound (#49)
* add nuscenes tracks to predict
* ad av2 boundary type
2023-12-10 12:37:20 +01:00
Alan
f2b21d709f Add support to AV2 (#48)
* add support to av2
---------

Co-authored-by: Alan-LanFeng <fenglan18@outook.com>
2023-12-09 15:23:46 +01:00
QuanyiLi
d4709347f4 add simulation section 2023-12-02 23:19:50 +00:00
Quanyi Li
2db22c74a8 Update nuScenes & Waymo Optimization (#47)
* update can bus

* Create LICENSE

* update waymo doc

* protobuf requirement

* just warning

* Add warning for proto

* update PR template

* fix length bug

* try sharing nusc

* imu heading

* fix 161 168

* add badge

* fix doc

* update doc

* format

* update cp

* update nuscenes interface

* update doc

* prediction nuscenes

* use drivable aread for nuscenes

* allow converting prediction

* format

* fix bug

* optimize

* clean RAM

* delete more

* restore to

* add only lane

* use token

* add warning

* format

* fix bug
2023-12-02 13:50:44 +00:00
QuanyiLi
7ec01fc8c1 rename to unix style 2023-11-23 16:37:35 +00:00
Govind Pimpale
dfdabc4ee7 Use Waymo Protos Directly (#38)
* use protos directly

* format protos

---------

Co-authored-by: Quanyi Li <quanyili0057@gmail.com>
2023-11-05 21:27:31 +00:00
Quanyi Li
8bc1d88f06 Optimize waymo converter (#44)
* use generator for waymo

* :wqadd preprocessor

* use generator
2023-11-05 16:07:07 +00:00
Quanyi Li
3dd161188c Update the citation in README.md (#40) 2023-10-24 19:22:27 +01:00
Quanyi Li
a88e0bd83c Update Sensor API in scripts (#39)
* add semantic cam

* update API

* format
2023-10-24 19:20:43 +01:00
PENG Zhenghao
63a4c38e7f Update Citation information (#37) 2023-10-23 07:10:04 -07:00
PENG Zhenghao
af9fe0a2aa Update document, add a colab example for reading data, upgrade numpy dependency (#34)
* Minor update to docs

* WIP

* adjust numpy requirement

* prepare example for reading data from SN dataset

* prepare example for reading data from SN dataset

* clean
2023-10-18 14:32:01 -07:00
Quanyi Li
5fa5c1070f Loose numpy version (#30)
* disable using pip extra requirement installation

* loose numpy

* waymo

* waymo version

* add numpy hint

* restore

* Add to note

* add hint
2023-10-04 16:46:39 +01:00
QuanyiLi
d14524b26f md versio>=0.4.1.2 2023-10-04 13:21:57 +01:00
Quanyi Li
f1865048c7 More info (#28)
* boundary to exterior

* rename copy to cp, avoiding bugs

* add connectivity and sidewalk/cross for nuscenes

* update lane type

* add semantic renderer

* restore

* nuplan works

* format
2023-09-22 00:40:08 +01:00
Quanyi Li
403af36ba1 Update readme (#24)
* update figure

* add colab to doc
2023-09-12 22:28:21 +01:00
Quanyi Li
931b549555 Update README.md (#23) 2023-09-12 22:13:03 +01:00
Quanyi Li
1e410b2b98 Colab exp (#22)
* add example

* add new workflow

* fix bug

* pull asset automatically

* add colab

* fix test

* add colab to readme
2023-09-12 22:10:42 +01:00
QuanyiLi
f251d46083 Merge branch 'main' of github.com:metadriverse/scenarionet 2023-09-08 14:59:55 +01:00
QuanyiLi
d060ac70c8 fix command style by removing .py 2023-08-27 19:04:17 +01:00
QuanyiLi
bddb22f0d8 add nuPlan setup instruction 2023-08-27 18:59:58 +01:00
QuanyiLi
8fff2c215c PG+waymo+nuscenes 2023-08-27 18:18:41 +01:00
QuanyiLi
1c59ee0421 add PG 2023-08-27 16:26:00 +01:00
QuanyiLi
518b9317d6 waymo example 2023-08-27 15:00:51 +01:00
QuanyiLi
f7e41bbf19 toc tree 2023-08-27 11:41:50 +01:00
QuanyiLi
23bac46826 more doc 2023-08-27 11:20:51 +01:00
Quanyi Li
4affa68a06 Update doc (#20)
* Add list.py and desc

* add operations

* add structure

* update readme

* format

* update readme
2023-08-26 22:29:54 +01:00
QuanyiLi
e6831ff972 fix build error 2023-08-25 18:57:12 +01:00
Quanyi Li
e9d816ddd8 Doc-example (#18)
* reactive traffic example

* structure

* structure

* waymo example

* rename and add doc

* finish example

* example

* start from 2
2023-08-25 18:35:46 +01:00
QuanyiLi
0c75d1edf1 reactive traffic example 2023-08-10 00:04:03 +01:00
QuanyiLi
86e0113921 doc 2023-08-08 18:18:33 +01:00
QuanyiLi
ef5621b38a readthedocs 2023-08-08 18:16:31 +01:00
QuanyiLi
d0c3c1cd4c fix path 2023-08-08 18:09:45 +01:00
QuanyiLi
3824bce8ae add requirement 2023-08-08 18:07:19 +01:00
QuanyiLi
0a5981e62c fix doc 2023-08-08 18:02:32 +01:00
QuanyiLi
52ff95a078 format 2023-08-08 17:51:04 +01:00
QuanyiLi
fac13e2e5f config readthedocs 2023-08-08 17:50:24 +01:00
Quanyi Li
64bf9811b9 Rebuttal (#15)
* pg+nuplan train

* Need map

* use gym wrapper

* use createGymWrapper

* doc

* use all scenarios!

* update 80000 scenario

* train script
2023-08-08 17:33:02 +01:00
Quanyi Li
e9c1419a91 update readme (#9) 2023-07-03 13:50:33 +01:00
Quanyi Li
5f5a5b9531 Update env (#7)
* add capture script

* gymnasium API

* training with gymnasium API
2023-06-23 19:50:40 +01:00
Quanyi Li
88b4faa00f Update video/webpage/code 2023-06-22 12:17:20 +01:00
Quanyi Li
9acdcaf321 Make video (#5)
* generate accident scene

* construction PG

* no object

* accident prob

* capture script

* update nuscenes toolds

* make video

* format

* fix test

* update readme

* update readme

* format

* format
2023-06-17 17:19:40 +01:00
Quanyi Li
db50bca7fd Add come updates for Neurips paper (#4)
* scenarionet training

* wandb

* train utils

* fix callback

* run PPO

* use pg test

* save path

* use torch

* add dependency

* update ignore

* update training

* large model

* use curriculum training

* add time to exp name

* storage_path

* restore

* update training

* use my key

* add log message

* check seed

* restore callback

* restore call bacl

* add log message

* add logging message

* restore ray1.4

* length 500

* ray 100

* wandb

* use tf

* more levels

* add callback

* 10 worker

* show level

* no env horizon

* callback result level

* more call back

* add diffuculty

* add mroen stat

* mroe stat

* show levels

* add callback

* new

* ep len 600

* fix setup

* fix stepup

* fix to 3.8

* update setup

* parallel worker!

* new exp

* add callback

* lateral dist

* pg dataset

* evaluate

* modify config

* align config

* train single RL

* update training script

* 100w eval

* less eval to reveal

* 2000 env eval

* new trianing

* eval 1000

* update eval

* more workers

* more worker

* 20 worker

* dataset to database

* split tool!

* split dataset

* try fix

* train 003

* fix mapping

* fix test

* add waymo tqdm

* utils

* fix bug

* fix bug

* waymo

* int type

* 8 worker read

* disable

* read file

* add log message

* check existence

* dist 0

* int

* check num

* suprass warning

* add filter API

* filter

* store map false

* new

* ablation

* filter

* fix

* update filyter

* reanme to from

* random select

* add overlapping checj

* fix

* new training sceheme

* new reward

* add waymo train script

* waymo different config

* copy raw data

* fix bug

* add tqdm

* update readme

* waymo

* pg

* max lateral dist 3

* pg

* crash_done instead of penalty

* no crash done

* gpu

* update eval script

* steering range penalty

* evaluate

* finish pg

* update setup

* fix bug

* test

* fix

* add on line

* train nuplan

* generate sensor

* udpate training

* static obj

* multi worker eval

* filx bug

* use ray for testing

* eval!

* filter senario

* id filter

* fox bug

* dist = 2

* filter

* eval

* eval ret

* ok

* update training pg

* test before use

* store data=False

* collect figures

* capture pic

---------

Co-authored-by: Quanyi Li <quanyi@bolei-gpu02.cs.ucla.edu>
2023-06-10 18:56:33 +01:00
QuanyiLi
41c0b01f39 update radius 2023-05-21 21:53:06 +01:00
QuanyiLi
12132bc870 remove repeat calculation 2023-05-21 14:45:01 +01:00
QuanyiLi
1c01e4417e rename scripts and update readme 2023-05-19 14:03:48 +01:00
Quanyi Li
8d0fc77aa5 Update README.md 2023-05-19 13:56:36 +01:00
Quanyi Li
00ad6f7e61 Readme (#3)
* rename to merge dataset

* add -d for operation

* test move

* add move function

* test remove

* format

* dataset -> database

* add readme

* format.sh

* test assert

* rename to database in .sh
2023-05-19 13:51:18 +01:00
Quanyi Li
37d4e72db5 Fix bug for generating dataset (#2)
* update parameters for scripts

* update write function

* modify waymo script

* use exist ok instead of overwrite

* remove TODO

* rename to comvine_dataset

* use exist_ok and force_overwrite together

* format

* test

* creat env for each thread

* restore

* fix bug

* fix pg bug

* fix

* fix bug

* add assert

* don't return done info

* to dict

* add test

* only compare sdc

* no store mao

* release memory

* add start index to argumen

* test

* format some settings/flags

* add tmp path

* add tmp dir

* test all scripts

* suppress warning

* suppress warning

* format

* test memory leak

* fix memory leak

* remove useless functions

* imap

* thread-1 process for avoiding memory leak

* add list()

* rename

* verify existence

* verify completeness

* test

* add test

* add default value

* add limit

* use script

* add anotation

* test script

* fix bug

* fix bug

* add author4

* add overwrite

* fix bug

* fix

* combine overwrite

* fix bug

* gpu007

* add result save dir

* adjust sequence

* fix test bug

* disable bash scri[t

* add episode length limit

* move scripts to root dir

* format

* fix test
2023-05-13 15:15:31 +01:00