rename to unix style
This commit is contained in:
@@ -50,7 +50,7 @@ if __name__ == "__main__":
|
|||||||
lane_line_detector=dict(num_lasers=0, distance=50),
|
lane_line_detector=dict(num_lasers=0, distance=50),
|
||||||
side_detector=dict(num_lasers=12, distance=50)
|
side_detector=dict(num_lasers=12, distance=50)
|
||||||
),
|
),
|
||||||
"data_directory": AssetLoader.file_path("nuscenes", return_raw_style=False),
|
"data_directory": AssetLoader.file_path("nuscenes", unix_style=False),
|
||||||
|
|
||||||
# "image_observation": True,
|
# "image_observation": True,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ if __name__ == "__main__":
|
|||||||
initialize_ray(test_mode=False, num_gpus=1)
|
initialize_ray(test_mode=False, num_gpus=1)
|
||||||
env = createGymWrapper(ScenarioEnv)(
|
env = createGymWrapper(ScenarioEnv)(
|
||||||
{
|
{
|
||||||
# "data_directory": AssetLoader.file_path("nuscenes", return_raw_style=False),
|
# "data_directory": AssetLoader.file_path("nuscenes", unix_style=False),
|
||||||
"data_directory": "D:\\scenarionet_testset\\nuplan_test\\nuplan_test_w_raw",
|
"data_directory": "D:\\scenarionet_testset\\nuplan_test\\nuplan_test_w_raw",
|
||||||
"use_render": True,
|
"use_render": True,
|
||||||
# "agent_policy": ReplayEgoCarPolicy,
|
# "agent_policy": ReplayEgoCarPolicy,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ from scenarionet.builder.utils import merge_database
|
|||||||
|
|
||||||
def test_filter_overpass():
|
def test_filter_overpass():
|
||||||
overpass_1 = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "test_dataset", "overpass")
|
overpass_1 = os.path.join(SCENARIONET_PACKAGE_PATH, "tests", "test_dataset", "overpass")
|
||||||
overpass_in_md = AssetLoader.file_path("waymo", return_raw_style=False)
|
overpass_in_md = AssetLoader.file_path("waymo", unix_style=False)
|
||||||
dataset_paths = [overpass_1, overpass_in_md]
|
dataset_paths = [overpass_1, overpass_in_md]
|
||||||
|
|
||||||
output_path = os.path.join(TMP_PATH, "combine")
|
output_path = os.path.join(TMP_PATH, "combine")
|
||||||
|
|||||||
@@ -158,7 +158,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"source": [
|
"source": [
|
||||||
"waymo_data = AssetLoader.file_path(AssetLoader.asset_path, \"waymo\", return_raw_style=False) # Use the built-in datasets with simulator\n",
|
"waymo_data = AssetLoader.file_path(AssetLoader.asset_path, \"waymo\", unix_style=False) # Use the built-in datasets with simulator\n",
|
||||||
"os.listdir(waymo_data) # there are 3 waymo scenario file with a 'dataset_summary.pkl'"
|
"os.listdir(waymo_data) # there are 3 waymo scenario file with a 'dataset_summary.pkl'"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -188,7 +188,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"source": [
|
"source": [
|
||||||
"nuscenes_data = AssetLoader.file_path(AssetLoader.asset_path, \"nuscenes\", return_raw_style=False) # Use the built-in datasets with simulator\n",
|
"nuscenes_data = AssetLoader.file_path(AssetLoader.asset_path, \"nuscenes\", unix_style=False) # Use the built-in datasets with simulator\n",
|
||||||
"os.listdir(nuscenes_data) # there are 10 nuscenes scenario file with a 'dataset_summary.pkl' and a 'dataset_summary.pkl'"
|
"os.listdir(nuscenes_data) # there are 10 nuscenes scenario file with a 'dataset_summary.pkl' and a 'dataset_summary.pkl'"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -118,8 +118,8 @@
|
|||||||
"threeD_render=False # turn on this to enable 3D render. It only works when you have a screen and not running on Colab.\n",
|
"threeD_render=False # turn on this to enable 3D render. It only works when you have a screen and not running on Colab.\n",
|
||||||
"threeD_render=threeD_render and not RunningInCOLAB\n",
|
"threeD_render=threeD_render and not RunningInCOLAB\n",
|
||||||
"os.environ[\"SDL_VIDEODRIVER\"] = \"dummy\" # Hide the pygame window\n",
|
"os.environ[\"SDL_VIDEODRIVER\"] = \"dummy\" # Hide the pygame window\n",
|
||||||
"waymo_data = AssetLoader.file_path(AssetLoader.asset_path, \"waymo\", return_raw_style=False) # Use the built-in datasets with simulator\n",
|
"waymo_data = AssetLoader.file_path(AssetLoader.asset_path, \"waymo\", unix_style=False) # Use the built-in datasets with simulator\n",
|
||||||
"nuscenes_data = AssetLoader.file_path(AssetLoader.asset_path, \"nuscenes\", return_raw_style=False) # Use the built-in datasets with simulator"
|
"nuscenes_data = AssetLoader.file_path(AssetLoader.asset_path, \"nuscenes\", unix_style=False) # Use the built-in datasets with simulator"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user